java.lang.Object
com.ibm.dtfj.java.j9.JavaField
com.ibm.dtfj.java.j9.JavaStaticField
- 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
ConstructorsConstructorDescriptionJavaStaticField(JavaRuntime runtime, String name, String sig, int modifiers, String value, long declaringClassID) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(JavaObject object) Get the contents of a boolean field.bytegetByte(JavaObject object) Get the contents of a byte field.chargetChar(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, hashCodeMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface com.ibm.dtfj.java.JavaField
isNestedPacked, isNestedPackedArray
-
Constructor Details
-
JavaStaticField
public JavaStaticField(JavaRuntime runtime, String name, String sig, int modifiers, String value, long declaringClassID)
-
-
Method Details
-
getReferenceType
public Object getReferenceType(JavaObject object) throws CorruptDataException, MemoryAccessException -
getBoolean
Description copied from interface:JavaFieldGet the contents of a boolean field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getByte
Description copied from interface:JavaFieldGet the contents of a byte field.- Parameters:
object- to fetch the field from. Ignored for static fields- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getChar
Description copied from interface:JavaFieldGet the contents of a char field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-