Module openj9.dtfj
Package com.ibm.j9ddr

Class BytecodeGenerator

java.lang.Object
com.ibm.j9ddr.BytecodeGenerator

public class BytecodeGenerator extends Object
Generates the class bytecodes needed by DDR to represent, as Java classes, the structures and pointers described by the blob.
  • Constructor Details

    • BytecodeGenerator

      public BytecodeGenerator()
  • Method Details

    • shouldUseCNameFor

      public static boolean shouldUseCNameFor(String className)
      Should getFlagCName() be used to adjust fields names for className?
    • getFlagCName

      public static String getFlagCName(String id)
      This produces the same "cname" as getDataModelExtension() in com.ibm.j9.uma.platform.PlatformImplementation for flags whose names don't already match what appears in native code.
    • getPointerClassBytes

      public static byte[] getPointerClassBytes(StructureReader reader, StructureTypeManager typeManager, StructureReader.StructureDescriptor structure, String className)
    • getStructureClassBytes

      public static byte[] getStructureClassBytes(StructureReader.StructureDescriptor structure, String className)