cn.wensiqun.asmsupport.creator
类 AbstractClassContext

java.lang.Object
  继承者 cn.wensiqun.asmsupport.clazz.AClassFactory
      继承者 cn.wensiqun.asmsupport.creator.AbstractClassContext
所有已实现的接口:
IClassContext
直接已知子类:
AbstractClassCreatorContext, ClassModifier

public abstract class AbstractClassContext
extends AClassFactory
implements IClassContext


字段摘要
protected  String classOutPutPath
           
protected  org.objectweb.asm.ClassWriter cw
           
protected  boolean existedStaticBlock
           
protected  List<IGlobalVariableCreator> fieldCreators
           
protected  List<IMethodCreator> methodCreaters
           
 
构造方法摘要
AbstractClassContext()
           
 
方法摘要
protected  void checkStaticBlock()
           
 String getClassOutPutPath()
           
 org.objectweb.asm.ClassVisitor getClassVisitor()
          获取Class的ClassVisitor
protected  Class<?> loadClass(String name, byte[] b)
           
 void setClassOutPutPath(String classOutPutPath)
           
 
从类 cn.wensiqun.asmsupport.clazz.AClassFactory 继承的方法
getArrayClass, getArrayClass, getArrayClass, getProductClass, newSemiClass
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 cn.wensiqun.asmsupport.creator.IClassContext 继承的方法
getCurrentClass, startup
 

字段详细信息

methodCreaters

protected List<IMethodCreator> methodCreaters

fieldCreators

protected List<IGlobalVariableCreator> fieldCreators

classOutPutPath

protected String classOutPutPath

existedStaticBlock

protected boolean existedStaticBlock

cw

protected org.objectweb.asm.ClassWriter cw
构造方法详细信息

AbstractClassContext

public AbstractClassContext()
方法详细信息

checkStaticBlock

protected void checkStaticBlock()

getClassVisitor

public final org.objectweb.asm.ClassVisitor getClassVisitor()
从接口 IClassContext 复制的描述
获取Class的ClassVisitor

指定者:
接口 IClassContext 中的 getClassVisitor
返回:

getClassOutPutPath

public String getClassOutPutPath()

setClassOutPutPath

public final void setClassOutPutPath(String classOutPutPath)
指定者:
接口 IClassContext 中的 setClassOutPutPath

loadClass

protected Class<?> loadClass(String name,
                             byte[] b)


Copyright © 2013. All Rights Reserved.