- 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<?>[]
allowlist
protected DTFJJavaClass
clazz
protected static int
FIELD_ARRAY
protected static int
FIELD_BOOLEAN
protected static int
FIELD_BYTE
protected static int
FIELD_CHAR
protected static int
FIELD_DOUBLE
protected static int
FIELD_FLOAT
protected static int
FIELD_INTEGER
protected static int
FIELD_LONG
protected static int
FIELD_OBJECT
protected static int
FIELD_SHORT
protected J9ObjectFieldOffset
fieldOffset
protected com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer
j9field
protected int
modifiers
protected String
name
-
Constructor Summary
Constructors Constructor Description DTFJJavaField(DTFJJavaClass clazz, J9ObjectFieldOffset ptr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
checkDataTypeConversion(DTFJJavaObject object, int mask)
protected char
getSigFlag()
protected boolean
isAncestorOf(JavaClass theClass)
Function to check that the supplied class is an ancestor of this oneprotected DTFJJavaObject
validateJavaObject(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:
-
-