net.sf.cglib.core
Class ClassEmitter

java.lang.Object
  extended byorg.objectweb.asm.ClassAdapter
      extended bynet.sf.cglib.core.ClassEmitter
All Implemented Interfaces:
org.objectweb.asm.ClassVisitor
Direct Known Subclasses:
ClassEmitterTransformer

public class ClassEmitter
extends org.objectweb.asm.ClassAdapter

Author:
Juozas Baliuka, Chris Nokleberg

Field Summary
 
Fields inherited from class org.objectweb.asm.ClassAdapter
cv
 
Constructor Summary
ClassEmitter()
           
ClassEmitter(org.objectweb.asm.ClassVisitor cv)
           
 
Method Summary
 void begin_class(int access, java.lang.String className, org.objectweb.asm.Type superType, org.objectweb.asm.Type[] interfaces, java.lang.String sourceFile)
           
 CodeEmitter begin_method(int access, Signature sig, org.objectweb.asm.Type[] exceptions, org.objectweb.asm.Attribute attrs)
           
 CodeEmitter begin_static()
           
 void declare_field(int access, java.lang.String name, org.objectweb.asm.Type type, java.lang.Object value, org.objectweb.asm.Attribute attrs)
           
 void define_attribute(org.objectweb.asm.Attribute attrs)
           
 void end_class()
           
 int getAccess()
           
 org.objectweb.asm.Type getClassType()
           
 CodeEmitter getStaticHook()
           
 org.objectweb.asm.Type getSuperType()
           
protected  void init()
           
 void setTarget(org.objectweb.asm.ClassVisitor cv, org.objectweb.asm.ClassVisitor outer)
           
 void visit(int access, java.lang.String name, java.lang.String superName, java.lang.String[] interfaces, java.lang.String sourceFile)
           
 void visitAttribute(org.objectweb.asm.Attribute attrs)
           
 void visitEnd()
           
 void visitField(int access, java.lang.String name, java.lang.String desc, java.lang.Object value, org.objectweb.asm.Attribute attrs)
           
 org.objectweb.asm.CodeVisitor visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String[] exceptions, org.objectweb.asm.Attribute attrs)
           
 
Methods inherited from class org.objectweb.asm.ClassAdapter
visitInnerClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassEmitter

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

ClassEmitter

public ClassEmitter()
Method Detail

setTarget

public void setTarget(org.objectweb.asm.ClassVisitor cv,
                      org.objectweb.asm.ClassVisitor outer)

begin_class

public void begin_class(int access,
                        java.lang.String className,
                        org.objectweb.asm.Type superType,
                        org.objectweb.asm.Type[] interfaces,
                        java.lang.String sourceFile)

getStaticHook

public CodeEmitter 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

public CodeEmitter begin_method(int access,
                                Signature sig,
                                org.objectweb.asm.Type[] exceptions,
                                org.objectweb.asm.Attribute attrs)

begin_static

public CodeEmitter begin_static()

declare_field

public void declare_field(int access,
                          java.lang.String name,
                          org.objectweb.asm.Type type,
                          java.lang.Object value,
                          org.objectweb.asm.Attribute attrs)

define_attribute

public void define_attribute(org.objectweb.asm.Attribute attrs)

visit

public void visit(int access,
                  java.lang.String name,
                  java.lang.String superName,
                  java.lang.String[] interfaces,
                  java.lang.String sourceFile)

visitEnd

public void visitEnd()

visitField

public void visitField(int access,
                       java.lang.String name,
                       java.lang.String desc,
                       java.lang.Object value,
                       org.objectweb.asm.Attribute attrs)

visitMethod

public org.objectweb.asm.CodeVisitor visitMethod(int access,
                                                 java.lang.String name,
                                                 java.lang.String desc,
                                                 java.lang.String[] exceptions,
                                                 org.objectweb.asm.Attribute attrs)

visitAttribute

public void visitAttribute(org.objectweb.asm.Attribute attrs)


Copyright © 2002-2003 cglib. All Rights Reserved.