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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(JavaObject object) Get the contents of an Object field.booleangetBoolean(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.doublegetDouble(JavaObject object) Get the contents of a double field.floatgetFloat(JavaObject object) Get the contents of a float field.intgetInt(JavaObject object) Get the contents of an int field.longgetLong(JavaObject object) Get the contents of a long field.intshortgetShort(JavaObject object) Get the contents of a short field.getString(JavaObject object) Get the contents of a string field.booleanbooleanMethods 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:JavaFieldGet 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:
CorruptDataExceptionMemoryAccessException- See Also:
-
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
-
getDouble
Description copied from interface:JavaFieldGet the contents of a double field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getFloat
Description copied from interface:JavaFieldGet the contents of a float field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getInt
Description copied from interface:JavaFieldGet the contents of an int field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getLong
Description copied from interface:JavaFieldGet the contents of a long field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getShort
Description copied from interface:JavaFieldGet the contents of a short field.- Parameters:
object- to fetch the field from. Ignored for static fields.- Returns:
- the field contents
- Throws:
CorruptDataExceptionMemoryAccessException
-
getString
Description copied from interface:JavaFieldGet 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:
CorruptDataExceptionMemoryAccessException
-
isNestedPacked
public boolean isNestedPacked() -
isNestedPackedArray
public boolean isNestedPackedArray() -
getPackedLengthAnnotationValue
public int getPackedLengthAnnotationValue()
-