Class GeneratorContext


  • public class GeneratorContext
    extends Object
    A context shared across generations of a class and its inner classes
    • Constructor Detail

      • GeneratorContext

        public GeneratorContext​(CompileUnit compileUnit)
      • GeneratorContext

        public GeneratorContext​(CompileUnit compileUnit,
                                int innerClassOffset)
    • Method Detail

      • getNextInnerClassIdx

        public int getNextInnerClassIdx()
      • getNextConstructorReferenceSyntheticMethodName

        public String getNextConstructorReferenceSyntheticMethodName​(MethodNode enclosingMethodNode)
      • encodeAsValidClassName

        public static String encodeAsValidClassName​(String name)