Class ClassEmitter

    • Constructor Detail

      • ClassEmitter

        public ClassEmitter​(org.objectweb.asm.ClassVisitor cv)
      • ClassEmitter

        public ClassEmitter()
    • Method Detail

      • setTarget

        public void setTarget​(org.objectweb.asm.ClassVisitor cv)
        Specified by:
        setTarget in class ClassTransformer
      • getClassInfo

        public ClassInfo getClassInfo()
      • begin_class

        public void begin_class​(int version,
                                int access,
                                String className,
                                org.objectweb.asm.Type superType,
                                org.objectweb.asm.Type[] interfaces,
                                String source)
      • init

        protected void init()
      • getAccess

        public int getAccess()
      • getClassType

        public org.objectweb.asm.Type getClassType()
      • getSuperType

        public org.objectweb.asm.Type getSuperType()
      • end_class

        public void end_class()
      • begin_method

        public CodeEmitter begin_method​(int access,
                                        Signature sig,
                                        org.objectweb.asm.Type[] exceptions)
      • declare_field

        public void declare_field​(int access,
                                  String name,
                                  org.objectweb.asm.Type type,
                                  Object value)
      • visit

        public void visit​(int version,
                          int access,
                          String name,
                          String signature,
                          String superName,
                          String[] interfaces)
        Overrides:
        visit in class org.objectweb.asm.ClassVisitor
      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.ClassVisitor
      • visitField

        public org.objectweb.asm.FieldVisitor visitField​(int access,
                                                         String name,
                                                         String desc,
                                                         String signature,
                                                         Object value)
        Overrides:
        visitField in class org.objectweb.asm.ClassVisitor
      • visitMethod

        public org.objectweb.asm.MethodVisitor visitMethod​(int access,
                                                           String name,
                                                           String desc,
                                                           String signature,
                                                           String[] exceptions)
        Overrides:
        visitMethod in class org.objectweb.asm.ClassVisitor