Attribute
| Modifier and Type | Field and Description |
|---|---|
| private int[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | NestMembers(final int
Index in constant pool nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| public | NestMembers(final int
Index in constant pool nameIndex, final int Content length in bytes length, final int[] Table of indices in constant pool classes, final ConstantPool Array of constants constantPool)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public Attribute | copy(final ConstantPool constantPool)
Implements abstract com. Returns: deep copy of this attribute |
| public void | dump(final DataOutputStream
Output file stream file)Overrides com. Dump NestMembers attribute to file stream in binary format. |
| public int[] | |
| public String[] | |
| public int | |
| public void | setClasses(final int[]
the list of class indexes Also redefines number_of_classes according to table length. classes)
|
| public String | Returns: String representation, i.e., a list of classes.Overrides com. Returns a string representation of the object. |
| classes | back to summary |
|---|---|
| private int[] classes | |
| NestMembers | back to summary |
|---|---|
| pack-priv NestMembers(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| NestMembers | back to summary |
|---|---|
public NestMembers(final int nameIndex, final int length, final int[] classes, final ConstantPool constantPool)
| |
| NestMembers | back to summary |
|---|---|
| public NestMembers(final NestMembers c) Initialize from another object. Note that both objects use the same references (shallow copy). Use copy() for a physical copy.
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract com. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Overrides com. Dump NestMembers attribute to file stream in binary format.
| |
| getClasses | back to summary |
|---|---|
public int[] getClasses()
| |
| getClassNames | back to summary |
|---|---|
public String[] getClassNames()
| |
| getNumberClasses | back to summary |
|---|---|
public int getNumberClasses()
| |
| setClasses | back to summary |
|---|---|
public void setClasses(final int[] classes)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |