Class ClassEmitter
java.lang.Object
org.objectweb.asm.ClassVisitor
net.sf.cglib.transform.ClassTransformer
net.sf.cglib.core.ClassEmitter
- Direct Known Subclasses:
ClassEmitterTransformer
- Author:
- Juozas Baliuka, Chris Nokleberg
-
Field Summary
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin_class(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String source) begin_method(int access, Signature sig, org.objectweb.asm.Type[] exceptions) voiddeclare_field(int access, String name, org.objectweb.asm.Type type, Object value) voidintorg.objectweb.asm.Typeorg.objectweb.asm.Typeprotected voidinit()voidsetTarget(org.objectweb.asm.ClassVisitor cv) voidvisit(int version, int access, String name, String signature, String superName, String[] interfaces) voidvisitEnd()org.objectweb.asm.FieldVisitorvisitField(int access, String name, String desc, String signature, Object value) org.objectweb.asm.MethodVisitorvisitMethod(int access, String name, String desc, String signature, String[] exceptions) Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAnnotation, visitAttribute, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Constructor Details
-
ClassEmitter
public ClassEmitter(org.objectweb.asm.ClassVisitor cv) -
ClassEmitter
public ClassEmitter()
-
-
Method Details
-
setTarget
public void setTarget(org.objectweb.asm.ClassVisitor cv) - Specified by:
setTargetin classClassTransformer
-
getClassInfo
-
begin_class
-
getStaticHook
-
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
-
begin_static
-
declare_field
-
visit
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.ClassVisitor
-
visitField
-
visitMethod
-