jconst
Class constRef
java.lang.Object
|
+--util.dataRead
|
+--jconst.constBase
|
+--jconst.constRef
- public class constRef
- extends constBase
The constRef object represents CONSTANT_FieldRef,
CONSTANT_MethodRef and CONSTANT_InterfaceMethodRef.
The format is
CONSTANT_<>ref_info {
u1 tag;
u2 index;
u2 name_and_type_index
}
index must be a an index in the constant table for a
constClass_or_String object.
The name_and_type_index must be an index in the constant
table for a constName_and_type_info object.
Note that this class is not derived from the constClass_or_String
since the reference pointers do not point to constUtf8 classes.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
index
int index
name_and_type_index
int name_and_type_index
class_ref
constClass_or_String class_ref
name_ref
constName_and_Type_info name_ref
constRef
public constRef()
read
public void read(java.io.DataInputStream dStream)
- Overrides:
- read in class constBase
set_ref
public void set_ref(constBase[] objAry)
- Overrides:
- set_ref in class constBase
getString
public java.lang.String getString()
- Overrides:
- getString in class constBase
pr
public void pr()
- Overrides:
- pr in class constBase