- java.lang.Object
-
- com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaField
-
- All Implemented Interfaces:
JavaField,JavaMember,IDTFJJavaField
- Direct Known Subclasses:
DTFJJavaFieldInstance,DTFJJavaFieldStatic
public abstract class DTFJJavaField extends Object implements JavaField, IDTFJJavaField
-
-
Field Summary
Fields Modifier and Type Field Description protected static Class<?>[]allowlistprotected DTFJJavaClassclazzprotected static intFIELD_ARRAYprotected static intFIELD_BOOLEANprotected static intFIELD_BYTEprotected static intFIELD_CHARprotected static intFIELD_DOUBLEprotected static intFIELD_FLOATprotected static intFIELD_INTEGERprotected static intFIELD_LONGprotected static intFIELD_OBJECTprotected static intFIELD_SHORTprotected J9ObjectFieldOffsetfieldOffsetprotected com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointerj9fieldprotected intmodifiersprotected Stringname
-
Constructor Summary
Constructors Constructor Description DTFJJavaField(DTFJJavaClass clazz, J9ObjectFieldOffset ptr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcheckDataTypeConversion(DTFJJavaObject object, int mask)protected chargetSigFlag()protected booleanisAncestorOf(JavaClass theClass)Function to check that the supplied class is an ancestor of this oneprotected DTFJJavaObjectvalidateJavaObject(JavaObject object)-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.view.dtfj.java.IDTFJJavaField
getSignature
-
Methods declared in interface com.ibm.dtfj.java.JavaField
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, isNestedPacked, isNestedPackedArray
-
Methods declared in interface com.ibm.dtfj.java.JavaMember
equals, getDeclaringClass, getModifiers, getName, getSignature, hashCode
-
-
-
-
Field Detail
-
allowlist
protected static final Class<?>[] allowlist
-
FIELD_BOOLEAN
protected static final int FIELD_BOOLEAN
- See Also:
- Constant Field Values
-
FIELD_BYTE
protected static final int FIELD_BYTE
- See Also:
- Constant Field Values
-
FIELD_SHORT
protected static final int FIELD_SHORT
- See Also:
- Constant Field Values
-
FIELD_CHAR
protected static final int FIELD_CHAR
- See Also:
- Constant Field Values
-
FIELD_INTEGER
protected static final int FIELD_INTEGER
- See Also:
- Constant Field Values
-
FIELD_FLOAT
protected static final int FIELD_FLOAT
- See Also:
- Constant Field Values
-
FIELD_LONG
protected static final int FIELD_LONG
- See Also:
- Constant Field Values
-
FIELD_DOUBLE
protected static final int FIELD_DOUBLE
- See Also:
- Constant Field Values
-
FIELD_ARRAY
protected static final int FIELD_ARRAY
- See Also:
- Constant Field Values
-
FIELD_OBJECT
protected static final int FIELD_OBJECT
- See Also:
- Constant Field Values
-
j9field
protected final com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer j9field
-
fieldOffset
protected final J9ObjectFieldOffset fieldOffset
-
name
protected final String name
-
clazz
protected DTFJJavaClass clazz
-
modifiers
protected int modifiers
-
-
Constructor Detail
-
DTFJJavaField
public DTFJJavaField(DTFJJavaClass clazz, J9ObjectFieldOffset ptr) throws CorruptDataException
- Throws:
CorruptDataException
-
-
Method Detail
-
getSigFlag
protected char getSigFlag() throws CorruptDataException- Throws:
CorruptDataException
-
validateJavaObject
protected DTFJJavaObject validateJavaObject(JavaObject object) throws CorruptDataException
- Throws:
CorruptDataException
-
checkDataTypeConversion
protected long checkDataTypeConversion(DTFJJavaObject object, int mask) throws CorruptDataException
- Throws:
CorruptDataException
-
isAncestorOf
protected boolean isAncestorOf(JavaClass theClass)
Function to check that the supplied class is an ancestor of this one- Parameters:
theClass-- Returns:
-
-