Constant
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ClassVisitor
Visitor object v)Implements abstract org. Implements org. |
| public final void | dump(DataOutputStream
Output file stream file)Implements abstract org. |
| public final String | |
| public final int | |
| public final String | |
| public final int | |
| public String | |
| public final String | toString()
Overrides org. |
| name_index | back to summary |
|---|---|
| private int name_index | |
| signature_index | back to summary |
|---|---|
| private int signature_index | |
| ConstantNameAndType | back to summary |
|---|---|
| pack-priv ConstantNameAndType(DataInputStream file) throws IOException Initialize instance from file data.
| |
| ConstantNameAndType | back to summary |
|---|---|
public ConstantNameAndType(int name_index, int signature_index)
| |
| accept | back to summary |
|---|---|
| public void accept(ClassVisitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
| |
| dump | back to summary |
|---|---|
| public final void dump(DataOutputStream file) throws IOException Implements abstract org. Dump name and signature index to file stream in binary format.
| |
| getName | back to summary |
|---|---|
public final String getName(ConstantPool cp)
| |
| getNameIndex | back to summary |
|---|---|
public final int getNameIndex()
| |
| getSignature | back to summary |
|---|---|
public final String getSignature(ConstantPool cp)
| |
| getSignatureIndex | back to summary |
|---|---|
public final int getSignatureIndex()
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object. | |