All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Raw.Attribute.AttributeInnerClasses

java.lang.Object
   |
   +----harpoon.ClassFile.Raw.Attribute.Attribute
           |
           +----harpoon.ClassFile.Raw.Attribute.AttributeInnerClasses

public class AttributeInnerClasses
extends Attribute
InnerClasses attributes define the encodings of bytecode names of inner classes. The attribute is stored in the ClassFile structure.

Each array element in the attribute records a class with an encoded name, its defining scope, its simple name, and a bitmask of the originally declared, untransformed access flags.

Version:
$Id: AttributeInnerClasses.java,v 1.3 1998/10/11 03:01:13 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
"Inner, InnerClass, Attribute, ClassFile

Variable Index

 o classes
Each array element records a class with an encoded name, its defining scope, its simple name, and its originally declared access flags.

Constructor Index

 o AttributeInnerClasses(ClassFile, int, InnerClass[])
Constructor.

Method Index

 o attribute_length()
The value of the attribute_length item indicates the length of the attribute, excluding the initial six bytes.
 o classes(int)
 o number_of_classes()
 o print(PrintWriter, int)
Pretty-print this attribute structure.
 o write(ClassDataOutputStream)
Write to bytecode stream.

Variables

 o classes
 public InnerClass classes[]
Each array element records a class with an encoded name, its defining scope, its simple name, and its originally declared access flags.

Constructors

 o AttributeInnerClasses
 public AttributeInnerClasses(ClassFile parent,
                              int attribute_name_index,
                              InnerClass classes[])
Constructor.

Methods

 o attribute_length
 public long attribute_length()
The value of the attribute_length item indicates the length of the attribute, excluding the initial six bytes.

Overrides:
attribute_length in class Attribute
 o number_of_classes
 public int number_of_classes()
 o classes
 public InnerClass classes(int i)
 o write
 public void write(ClassDataOutputStream out) throws IOException
Write to bytecode stream.

Overrides:
write in class Attribute
 o print
 public void print(PrintWriter pw,
                   int indent)
Pretty-print this attribute structure.

Overrides:
print in class Attribute

All Packages  Class Hierarchy  This Package  Previous  Next  Index