java.lang.Object
com.ibm.dtfj.java.j9.JavaField
com.ibm.dtfj.java.j9.JavaInstanceField
- All Implemented Interfaces:
JavaField
,JavaMember
-
Field Summary
Fields declared in class com.ibm.dtfj.java.j9.JavaField
_javaVM, ARRAY_PREFIX_SIGNATURE, BOOLEAN_SIGNATURE, BYTE_SIGNATURE, CHAR_SIGNATURE, DOUBLE_SIGNATURE, FLOAT_SIGNATURE, INTEGER_SIGNATURE, LONG_SIGNATURE, OBJECT_PREFIX_SIGNATURE, SHORT_SIGNATURE
-
Constructor Summary
ConstructorDescriptionJavaInstanceField
(JavaRuntime vm, String name, String signature, int modifiers, int offset, long classID) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBoolean
(JavaObject object) Get the contents of a boolean field.byte
getByte
(JavaObject object) Get the contents of a byte field.char
getChar
(JavaObject object) Get the contents of a char field.getReferenceType
(JavaObject object) Methods declared in class com.ibm.dtfj.java.j9.JavaField
equals, get, getDeclaringClass, getDouble, getFloat, getInt, getLong, getModifiers, getName, getShort, getSignature, getString, hashCode
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface com.ibm.dtfj.java.JavaField
isNestedPacked, isNestedPackedArray
-
Constructor Details
-
JavaInstanceField
public JavaInstanceField(JavaRuntime vm, String name, String signature, int modifiers, int offset, long classID)
-
-
Method Details
-
getReferenceType
public Object getReferenceType(JavaObject object) throws CorruptDataException, MemoryAccessException -
getBoolean
Description copied from interface:JavaField
Get the contents of a boolean field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getByte
Description copied from interface:JavaField
Get the contents of a byte field.- Parameters:
object
- to fetch the field from. Ignored for static fields- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getChar
Description copied from interface:JavaField
Get the contents of a char field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-