- java.lang.Object
-
- com.ibm.dtfj.java.j9.JavaAbstractClass
-
- com.ibm.dtfj.java.j9.JavaClass
-
- All Implemented Interfaces:
JavaClass
public class JavaClass extends JavaAbstractClass
-
-
Field Summary
-
Fields declared in class com.ibm.dtfj.java.j9.JavaAbstractClass
_classPointer, _javaVM
-
Fields declared in interface com.ibm.dtfj.java.JavaClass
MODIFIERS_UNAVAILABLE
-
-
Constructor Summary
Constructors Constructor Description JavaClass(JavaRuntime vm, ImagePointer classPointer, long superClassID, String name, int instanceSize, long classLoaderID, int modifiers, int flagOffset, String fileName, ImagePointer objectID, int hashcodeSlot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstantPoolClassRef(long id)
The constant pool consists of class IDs and object instances.void
createConstantPoolObjectRef(long id)
void
createNewField(String name, String sig, int modifiers, int offset, long classID)
JavaMethod
createNewMethod(long id, String name, String signature, int modifiers)
void
createNewStaticField(String name, String sig, int modifiers, String value)
String
getFilename()
boolean
isAncestorOf(JavaClass theClass)
-
Methods declared in class com.ibm.dtfj.java.j9.JavaAbstractClass
addClassLoaderReference, addClassObjectReference, addInterfaceName, addSuperclassReference, getHashcodeSlotSize, getInstanceSize, readFlagsFromInstance
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.java.JavaClass
equals, getClassLoader, getComponentType, getConstantPoolReferences, getDeclaredFields, getDeclaredMethods, getID, getInstanceSize, getInterfaces, getModifiers, getName, getObject, getProtectionDomain, getReferences, getSuperclass, hashCode, isArray
-
-
-
-
Constructor Detail
-
JavaClass
public JavaClass(JavaRuntime vm, ImagePointer classPointer, long superClassID, String name, int instanceSize, long classLoaderID, int modifiers, int flagOffset, String fileName, ImagePointer objectID, int hashcodeSlot)
-
-
Method Detail
-
addConstantPoolClassRef
public void addConstantPoolClassRef(long id)
The constant pool consists of class IDs and object instances. This is how the class IDs are added- Parameters:
id
-
-
getFilename
public String getFilename() throws DataUnavailable, CorruptDataException
- Throws:
DataUnavailable
CorruptDataException
-
createNewField
public void createNewField(String name, String sig, int modifiers, int offset, long classID)
-
createNewMethod
public JavaMethod createNewMethod(long id, String name, String signature, int modifiers)
-
createConstantPoolObjectRef
public void createConstantPoolObjectRef(long id)
-
createNewStaticField
public void createNewStaticField(String name, String sig, int modifiers, String value)
-
isAncestorOf
public boolean isAncestorOf(JavaClass theClass)
-
-