Class BytecodeGenerator
java.lang.Object
com.ibm.j9ddr.BytecodeGenerator
Generates the class bytecodes needed by DDR to represent, as Java classes,
the structures and pointers described by the blob.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.static byte[]
getPointerClassBytes
(StructureReader reader, StructureTypeManager typeManager, StructureReader.StructureDescriptor structure, String className) static byte[]
getStructureClassBytes
(StructureReader.StructureDescriptor structure, String className) static boolean
shouldUseCNameFor
(String className) Should getFlagCName() be used to adjust fields names for className?
-
Constructor Details
-
BytecodeGenerator
public BytecodeGenerator()
-
-
Method Details
-
shouldUseCNameFor
Should getFlagCName() be used to adjust fields names for className? -
getFlagCName
-
getPointerClassBytes
public static byte[] getPointerClassBytes(StructureReader reader, StructureTypeManager typeManager, StructureReader.StructureDescriptor structure, String className) -
getStructureClassBytes
public static byte[] getStructureClassBytes(StructureReader.StructureDescriptor structure, String className)
-