public class ClassEmitter extends ClassTransformer
Constructor and Description |
---|
ClassEmitter() |
ClassEmitter(org.objectweb.asm.ClassVisitor cv) |
Modifier and Type | Method and Description |
---|---|
void |
begin_class(int version,
int access,
String className,
org.objectweb.asm.Type superType,
org.objectweb.asm.Type[] interfaces,
String source) |
CodeEmitter |
begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |
CodeEmitter |
begin_static() |
void |
declare_field(int access,
String name,
org.objectweb.asm.Type type,
Object value) |
void |
end_class() |
int |
getAccess() |
ClassInfo |
getClassInfo() |
org.objectweb.asm.Type |
getClassType() |
CodeEmitter |
getStaticHook() |
org.objectweb.asm.Type |
getSuperType() |
protected void |
init() |
void |
setTarget(org.objectweb.asm.ClassVisitor cv) |
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces) |
void |
visitEnd() |
org.objectweb.asm.FieldVisitor |
visitField(int access,
String name,
String desc,
String signature,
Object value) |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
public ClassEmitter(org.objectweb.asm.ClassVisitor cv)
public ClassEmitter()
public void setTarget(org.objectweb.asm.ClassVisitor cv)
setTarget
in class ClassTransformer
public ClassInfo getClassInfo()
public void begin_class(int version, int access, String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, String source)
public CodeEmitter getStaticHook()
protected void init()
public int getAccess()
public org.objectweb.asm.Type getClassType()
public org.objectweb.asm.Type getSuperType()
public void end_class()
public CodeEmitter begin_method(int access, Signature sig, org.objectweb.asm.Type[] exceptions)
public CodeEmitter begin_static()
public void declare_field(int access, String name, org.objectweb.asm.Type type, Object value)
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
visit
in class org.objectweb.asm.ClassVisitor
public void visitEnd()
visitEnd
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
visitField
in class org.objectweb.asm.ClassVisitor
Copyright © 2024. All rights reserved.