Package org.openjdk.asmtools.jasm
Class ClassData.CoreClasses
java.lang.Object
org.openjdk.asmtools.jasm.ClassData.CoreClasses
- Enclosing class:
- ClassData
Container holds 2 pairs of core classes: this_class, super_class, and functionality to get output file name.
jasm supports the values:
[CLASS_MODIFIERS] class|interface CLASSNAME [ extends SUPERCLASSNAME ] { // HEADER
this_class[:] (#ID | IDENT); // CLASSNAME CLASSFILE
super_class[:] (#ID | IDENT); // SUPERCLASSNAME CLASSFILE
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
void
cleanConstantPool
(ConstantPool constantPool) If jasm file contains this_class/super_class value then this value overwrites the class/super class defined on the top: "public super class ClassName extends #9 version 66:0 {" ie just added to ConstantPool classes: ClassName && #9 should be removedvoid
specifyClasses
(ConstantPool constantPool) ConstCell<?>
void
super_class
(ClassData.CoreClasses.PLACE where, ConstCell<?> super_class) void
super_class
(ConstCell<?> super_class) ConstCell<?>
void
this_class
(ClassData.CoreClasses.PLACE where, ConstCell<?> this_class) void
this_class
(ConstCell<?> this_class)
-
Field Details
-
fileName
-
header
-
classfile
-
-
Constructor Details
-
CoreClasses
public CoreClasses()
-
-
Method Details
-
this_class
-
super_class
-
this_class
-
super_class
-
this_class
-
super_class
-
getFileName
-
calculateFileName
-
cleanConstantPool
If jasm file contains this_class/super_class value then this value overwrites the class/super class defined on the top: "public super class ClassName extends #9 version 66:0 {" ie just added to ConstantPool classes: ClassName && #9 should be removed- Parameters:
constantPool
- constant pool
-
specifyClasses
-