public class ClassEmitter extends ClassTransformer
| 构造器和说明 |
|---|
ClassEmitter() |
ClassEmitter(org.objectweb.asm.ClassVisitor cv) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 ClassTransformerpublic 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 在类中 org.objectweb.asm.ClassVisitorpublic void visitEnd()
visitEnd 在类中 org.objectweb.asm.ClassVisitorpublic org.objectweb.asm.FieldVisitor visitField(int access,
String name,
String desc,
String signature,
Object value)
visitField 在类中 org.objectweb.asm.ClassVisitorCopyright © 2025 fossc. All rights reserved.