java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaField
- All Implemented Interfaces:
JavaField,JavaMember,IDTFJJavaField
- Direct Known Subclasses:
DTFJJavaFieldInstance,DTFJJavaFieldStatic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Class<?>[]protected DTFJJavaClassprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected final J9ObjectFieldOffsetprotected final com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointerprotected intprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcheckDataTypeConversion(DTFJJavaObject object, int mask) booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.Get the class which declares this field or methodintGet the set of modifiers for this field or method - a set of bitsgetName()Get the name of the field or methodprotected charGet the signature of the field or methodinthashCode()Answers an integer hash code for the receiver.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, waitMethods declared in interface com.ibm.dtfj.java.JavaField
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, isNestedPacked, isNestedPackedArray
-
Field Details
-
allowlist
-
FIELD_BOOLEAN
protected static final int FIELD_BOOLEAN- See Also:
-
FIELD_BYTE
protected static final int FIELD_BYTE- See Also:
-
FIELD_SHORT
protected static final int FIELD_SHORT- See Also:
-
FIELD_CHAR
protected static final int FIELD_CHAR- See Also:
-
FIELD_INTEGER
protected static final int FIELD_INTEGER- See Also:
-
FIELD_FLOAT
protected static final int FIELD_FLOAT- See Also:
-
FIELD_LONG
protected static final int FIELD_LONG- See Also:
-
FIELD_DOUBLE
protected static final int FIELD_DOUBLE- See Also:
-
FIELD_ARRAY
protected static final int FIELD_ARRAY- See Also:
-
FIELD_OBJECT
protected static final int FIELD_OBJECT- See Also:
-
j9field
protected final com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer j9field -
fieldOffset
-
name
-
clazz
-
modifiers
protected int modifiers
-
-
Constructor Details
-
DTFJJavaField
- Throws:
CorruptDataException
-
-
Method Details
-
getSigFlag
- Throws:
CorruptDataException
-
validateJavaObject
- Throws:
CorruptDataException
-
checkDataTypeConversion
- Throws:
CorruptDataException
-
isAncestorOf
Function to check that the supplied class is an ancestor of this one- Parameters:
theClass-- Returns:
-
getDeclaringClass
Description copied from interface:JavaMemberGet the class which declares this field or method- Specified by:
getDeclaringClassin interfaceJavaMember- Returns:
- the JavaClass which declared this field or method
- Throws:
CorruptDataExceptionDataUnavailable
-
getModifiers
Description copied from interface:JavaMemberGet the set of modifiers for this field or method - a set of bits- Specified by:
getModifiersin interfaceJavaMember- Returns:
- the modifiers for this field or method. The values for the constants representing the modifiers can be obtained from java.lang.reflect.Modifier.
- Throws:
CorruptDataException
-
getName
Description copied from interface:JavaMemberGet the name of the field or method- Specified by:
getNamein interfaceJavaMember- Returns:
- the name of the field or method
- Throws:
CorruptDataException
-
getSignature
Description copied from interface:JavaMemberGet the signature of the field or method- Specified by:
getSignaturein interfaceIDTFJJavaField- Specified by:
getSignaturein interfaceJavaMember- Returns:
- the signature of the field or method. e.g. "(Ljava/lang/String;)V"
- Throws:
CorruptDataException
-
equals
Description copied from class:java.lang.ObjectCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison. The implementation in Object answers true only if the argument is the exact same object as the receiver (==).- Specified by:
equalsin interfaceJavaMember- Overrides:
equalsin classObject- Parameters:
obj- Object the object to compare with this object.- Returns:
- boolean
trueif the object is the same as this objectfalseif it is different from this object. - See Also:
-
hashCode
public int hashCode()Description copied from class:java.lang.ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Specified by:
hashCodein interfaceJavaMember- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
-