Class JavaStaticField
java.lang.Object
com.ibm.dtfj.java.j9.JavaField
com.ibm.dtfj.java.j9.JavaStaticField
-
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
ConstructorDescriptionJavaStaticField
(JavaRuntime runtime, String name, String sig, int modifiers, String value, long declaringClassID) -
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
-
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: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
-