ConstantFieldref, ConstantMethodref, ConstantInterfaceMethodref, ConstantInvokeDynamic
| Modifier and Type | Field and Description |
|---|---|
| protected int | class_index
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| protected int | name_and_type_index
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| Access | Constructor and Description |
|---|---|
| pack-priv | ConstantCP(final byte
Constant type tag tag, final DataInput Input stream file)Initialize instance from file data. |
| protected | ConstantCP(final byte tag, final int
Reference to the class containing the field classIndex, final int and the field signature nameAndTypeIndex)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | dump(final DataOutputStream
Output file stream file)Implements abstract org. |
| public String | |
| public final int | |
| public final int | |
| public final void | |
| public final void | |
| public String | Returns: String representation. not final as ConstantInvokeDynamic needs to modifyOverrides org. |
| class_index | back to summary |
|---|---|
| protected int class_index
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| name_and_type_index | back to summary |
|---|---|
| protected int name_and_type_index
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| ConstantCP | back to summary |
|---|---|
| pack-priv ConstantCP(final byte tag, final DataInput file) throws IOException Initialize instance from file data.
| |
| ConstantCP | back to summary |
|---|---|
protected ConstantCP(final byte tag, final int classIndex, final int nameAndTypeIndex)
| |
| ConstantCP | back to summary |
|---|---|
| public ConstantCP(final ConstantCP c) Initialize from another object.
| |
| dump | back to summary |
|---|---|
| public final void dump(final DataOutputStream file) throws IOException Implements abstract org. Dump constant field reference to file stream in binary format.
| |
| getClass | back to summary |
|---|---|
public String getClass(final ConstantPool cp)
| |
| getClassIndex | back to summary |
|---|---|
public final int getClassIndex()
| |
| getNameAndTypeIndex | back to summary |
|---|---|
public final int getNameAndTypeIndex()
| |
| setClassIndex | back to summary |
|---|---|
public final void setClassIndex(final int classIndex)
| |
| setNameAndTypeIndex | back to summary |
|---|---|
public final void setNameAndTypeIndex(final int nameAndTypeIndex)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |