java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaField
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaFieldInstance
- All Implemented Interfaces:
JavaField
,JavaMember
,IDTFJJavaField
-
Field Summary
Fields declared in class com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaField
allowlist, clazz, FIELD_ARRAY, FIELD_BOOLEAN, FIELD_BYTE, FIELD_CHAR, FIELD_DOUBLE, FIELD_FLOAT, FIELD_INTEGER, FIELD_LONG, FIELD_OBJECT, FIELD_SHORT, fieldOffset, j9field, modifiers, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(JavaObject object) Get the contents of an Object field.boolean
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.double
getDouble
(JavaObject object) Get the contents of a double field.float
getFloat
(JavaObject object) Get the contents of a float field.int
getInt
(JavaObject object) Get the contents of an int field.long
getLong
(JavaObject object) Get the contents of a long field.int
short
getShort
(JavaObject object) Get the contents of a short field.getString
(JavaObject object) Get the contents of a string field.boolean
boolean
Methods declared in class com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaField
checkDataTypeConversion, equals, getDeclaringClass, getModifiers, getName, getSigFlag, getSignature, hashCode, isAncestorOf, validateJavaObject
-
Constructor Details
-
DTFJJavaFieldInstance
public DTFJJavaFieldInstance(DTFJJavaClass clazz, J9ObjectFieldOffset ptr) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
get
Description copied from interface:JavaField
Get the contents of an Object field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- a JavaObject instance for reference type fields, an instance of a subclass of Number, Boolean, or Character for primitive fields, or null for null reference fields This field must be declared in the object's class or in a superclass.
- Throws:
CorruptDataException
MemoryAccessException
- See Also:
-
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
-
getDouble
Description copied from interface:JavaField
Get the contents of a double field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getFloat
Description copied from interface:JavaField
Get the contents of a float field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getInt
Description copied from interface:JavaField
Get the contents of an int field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getLong
Description copied from interface:JavaField
Get the contents of a long field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getShort
Description copied from interface:JavaField
Get the contents of a short field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataException
MemoryAccessException
-
getString
Description copied from interface:JavaField
Get the contents of a string field.- Parameters:
object
- to fetch the field from. Ignored for static fields.- Returns:
- a String representing the value of the String field. Note that the instance returned can be null if the field was null in object.
- Throws:
CorruptDataException
MemoryAccessException
-
isNestedPacked
public boolean isNestedPacked() -
isNestedPackedArray
public boolean isNestedPackedArray() -
getPackedLengthAnnotationValue
public int getPackedLengthAnnotationValue()
-