|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--harpoon.Util.Tuple | +--harpoon.Interpret.Tree.Pointer | +--harpoon.Interpret.Tree.InterfaceListPointer
The InterfaceListPointer
is used to representing a pointer
to a list of interfaces. The pointers of this type resides inside
the blocks of class data allocated by the class loader.
Field Summary | |
static int |
ARRAY_PTR
|
static int |
CLAZ_PTR
|
static int |
CONST_PTR
|
static int |
FIELD_PTR
|
static int |
IFACE_PTR
|
static int |
STRING_PTR
|
static int |
UNDEF_PTR
|
Method Summary | |
harpoon.Interpret.Tree.Pointer |
add(long offset)
Adds the specified parameter to this ClazPointer 's
offset |
boolean |
equals(Object obj)
Returns true if obj is an
InterfaceListPointer which points to the same location
as this InterfaceListPointer . |
Object |
getBase()
Returns an InterfaceList representing the base of this
InterfaceListPointer . |
long |
getOffset()
Returns the offset of this ClazPointer . |
Object |
getValue()
Dereferences this InterfaceListPointer and returns the
value it points to. |
boolean |
isConst()
Always returns false. |
boolean |
isDerived()
Always returns false. |
int |
kind()
Returns an integer enumeration of the kind of this Pointer. |
String |
toString()
Returns a human-readable representation of this InterfaceListPointer . |
void |
updateValue(Object obj)
Throws an error, as the program is not supposed to modify static class data |
Methods inherited from class harpoon.Util.Tuple |
asList, compareTo, hashCode, proj |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ARRAY_PTR
public static final int CLAZ_PTR
public static final int CONST_PTR
public static final int FIELD_PTR
public static final int IFACE_PTR
public static final int STRING_PTR
public static final int UNDEF_PTR
Method Detail |
public harpoon.Interpret.Tree.Pointer add(long offset)
ClazPointer
's
offset
add
in class harpoon.Interpret.Tree.Pointer
public boolean equals(Object obj)
obj
is an
InterfaceListPointer
which points to the same location
as this InterfaceListPointer
.
equals
in class Tuple
public Object getBase()
InterfaceList
representing the base of this
InterfaceListPointer
.
getBase
in class harpoon.Interpret.Tree.Pointer
public long getOffset()
ClazPointer
.
getOffset
in class harpoon.Interpret.Tree.Pointer
public Object getValue()
InterfaceListPointer
and returns the
value it points to.
getValue
in class harpoon.Interpret.Tree.Pointer
public boolean isConst()
isConst
in class harpoon.Interpret.Tree.Pointer
public boolean isDerived()
isDerived
in class harpoon.Interpret.Tree.Pointer
public int kind()
kind
in class harpoon.Interpret.Tree.Pointer
public void updateValue(Object obj)
updateValue
in class harpoon.Interpret.Tree.Pointer
public String toString()
InterfaceListPointer
.
toString
in class Tuple
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |