Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Address | |
public Address | |
public long | |
public long | |
public boolean | getJBoolean(Address addr)
Implements sun. These accessors require that the field be nonstatic; otherwise, a WrongTypeException will be thrown. |
public boolean | getJBoolean()
Implements sun. These accessors require that the field be static; otherwise, a WrongTypeException will be thrown. |
public byte | |
public byte | |
public char | |
public char | |
public double | |
public double | |
public float | |
public float | |
public int | |
public int | |
public long | |
public long | |
public short | |
public short | |
public String | |
public OopHandle | |
public OopHandle | |
public long | getOffset()
Implements sun. The offset of this field, in bytes, in its containing data structure, if nonstatic. |
public OopHandle | |
public OopHandle | |
public long | |
public Address | getStaticFieldAddress()
Implements sun. The address of this field, if it is a static field. |
public Type | |
public boolean |
field | back to summary |
---|---|
protected Field field |
BasicFieldWrapper | back to summary |
---|---|
public BasicFieldWrapper(Field field) |
getAddress | back to summary |
---|---|
public Address getAddress(Address addr) throws UnmappedAddressException, UnalignedAddressException Implements sun. |
getAddress | back to summary |
---|---|
public Address getAddress() throws UnmappedAddressException, UnalignedAddressException Implements sun. |
getCInteger | back to summary |
---|---|
public long getCInteger(Address addr, CIntegerType type) throws UnmappedAddressException, UnalignedAddressException Implements sun. |
getCInteger | back to summary |
---|---|
public long getCInteger(CIntegerType type) throws UnmappedAddressException, UnalignedAddressException Implements sun. |
getJBoolean | back to summary |
---|---|
public boolean getJBoolean(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. Doc from sun. These accessors require that the field be nonstatic; otherwise, a WrongTypeException will be thrown. Note that type checking is not performed by these accessors in order to allow manual type coercion of field data. For better protection when accessing primitive fields, use the get(Type)Field accessors in Type.java. NOTE that the Address passed in to these routines may, in fact, be an OopHandle. Specifically, in a reflective system, dereferencing operations applied to the OopHandle must be performed atomically with respect to GC. See @see CIntegerType for a description of why all C integer types are bundled into the category "CIntegerType". |
getJBoolean | back to summary |
---|---|
public boolean getJBoolean() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. Doc from sun. These accessors require that the field be static; otherwise, a WrongTypeException will be thrown. Note that type checking is not performed by these accessors in order to allow manual type coercion of field data. For better protection when accessing primitive fields, use the get(Type)Field accessors in Type.java. NOTE that the Address passed in to these routines may, in fact, be an OopHandle. Specifically, in a reflective system, dereferencing operations applied to the OopHandle must be performed atomically with respect to GC. See @see CIntegerType for a description of why all C integer types are bundled into the category "CIntegerType". |
getJByte | back to summary |
---|---|
public byte getJByte(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJByte | back to summary |
---|---|
public byte getJByte() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJChar | back to summary |
---|---|
public char getJChar(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJChar | back to summary |
---|---|
public char getJChar() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJDouble | back to summary |
---|---|
public double getJDouble(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJDouble | back to summary |
---|---|
public double getJDouble() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJFloat | back to summary |
---|---|
public float getJFloat(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJFloat | back to summary |
---|---|
public float getJFloat() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJInt | back to summary |
---|---|
public int getJInt(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJInt | back to summary |
---|---|
public int getJInt() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJLong | back to summary |
---|---|
public long getJLong(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJLong | back to summary |
---|---|
public long getJLong() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJShort | back to summary |
---|---|
public short getJShort(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getJShort | back to summary |
---|---|
public short getJShort() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException Implements sun. |
getName | back to summary |
---|---|
public String getName() Implements sun. Doc from sun. Get the name of this field |
getNarrowOopHandle | back to summary |
---|---|
public OopHandle getNarrowOopHandle(Address addr) throws UnmappedAddressException, UnalignedAddressException, NotInHeapException Implements sun. |
getNarrowOopHandle | back to summary |
---|---|
public OopHandle getNarrowOopHandle() throws UnmappedAddressException, UnalignedAddressException, NotInHeapException Implements sun. |
getOffset | back to summary |
---|---|
public long getOffset() throws WrongTypeException Implements sun. Doc from sun. The offset of this field, in bytes, in its containing data structure, if nonstatic. If this is a static field, throws a WrongTypeException. |
getOopHandle | back to summary |
---|---|
public OopHandle getOopHandle(Address addr) throws UnmappedAddressException, UnalignedAddressException, NotInHeapException Implements sun. |
getOopHandle | back to summary |
---|---|
public OopHandle getOopHandle() throws UnmappedAddressException, UnalignedAddressException, NotInHeapException Implements sun. |
getSize | back to summary |
---|---|
public long getSize() Implements sun. Doc from sun. Get the size, in bytes, of this field. Used for manual data structure traversal where necessary. |
getStaticFieldAddress | back to summary |
---|---|
public Address getStaticFieldAddress() throws WrongTypeException Implements sun. Doc from sun. The address of this field, if it is a static field. If this is a nonstatic field, throws a WrongTypeException. |
getType | back to summary |
---|---|
public Type getType() Implements sun. Doc from sun. Get the type of this field |
isStatic | back to summary |
---|---|
public boolean isStatic() Implements sun. Doc from sun. Is this a static field? |