Class ClassData.CoreClasses

java.lang.Object
org.openjdk.asmtools.jasm.ClassData.CoreClasses
Enclosing class:
ClassData

public static class ClassData.CoreClasses extends Object
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
  • Field Details

  • Constructor Details

    • CoreClasses

      public CoreClasses()
  • Method Details

    • this_class

      public void this_class(ClassData.CoreClasses.PLACE where, ConstCell<?> this_class)
    • super_class

      public void super_class(ClassData.CoreClasses.PLACE where, ConstCell<?> super_class)
    • this_class

      public void this_class(ConstCell<?> this_class)
    • super_class

      public void super_class(ConstCell<?> super_class)
    • this_class

      public ConstCell<?> this_class()
    • super_class

      public ConstCell<?> super_class()
    • getFileName

      public String getFileName()
    • calculateFileName

      private String calculateFileName()
    • cleanConstantPool

      public 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 removed
      Parameters:
      constantPool - constant pool
    • specifyClasses

      public void specifyClasses(ConstantPool constantPool)