|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.Util.Tuple
harpoon.Interpret.Tree.UndefinedPointer
public class UndefinedPointer
The UndefinedPointer class represents a pointer to a
value for which the type is not known. It is an error to access
the value of this pointer until it is converted to a pointer of another
type.
| 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
|
| Constructor Summary | |
|---|---|
UndefinedPointer(UndefinedRef ref,
long offset)
Class constructor |
|
| Method Summary | |
|---|---|
harpoon.Interpret.Tree.Pointer |
add(long offset)
Adds the specified offset to the offset of this UndefinedPointer and returns the resulting pointer. |
Object |
getBase()
Returns an UndefinedRef object representing the
base of this UndefinedPointer. |
long |
getOffset()
Returns the offset of this UndefinedPointer. |
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 UndefinedPointer. |
| Methods inherited from class harpoon.Util.Tuple |
|---|
asList, compareTo, equals, 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
| Constructor Detail |
|---|
public UndefinedPointer(UndefinedRef ref,
long offset)
| Method Detail |
|---|
public harpoon.Interpret.Tree.Pointer add(long offset)
UndefinedPointer and returns the resulting pointer.
public Object getBase()
UndefinedRef object representing the
base of this UndefinedPointer.
public long getOffset()
UndefinedPointer.
public boolean isConst()
public boolean isDerived()
public int kind()
public String toString()
UndefinedPointer.
toString in class Tuple
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||