- 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 Summary
Constructors Constructor Description BytecodeGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.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?
-
-
-
Method Detail
-
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)
-
-