Module openj9.dtfj

Class JavaClass

    • 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 -
      • 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)