cn.wensiqun.asmsupport.block.method.cinit
类 EnumCInitBody

java.lang.Object
  继承者 cn.wensiqun.asmsupport.definition.AbstractExecuteable
      继承者 cn.wensiqun.asmsupport.block.ProgramBlock
          继承者 cn.wensiqun.asmsupport.block.method.SuperMethodBody
              继承者 cn.wensiqun.asmsupport.block.method.cinit.EnumCInitBody
所有已实现的接口:
IBlockOperators, IEnumCInitBody, ArithmeticOperator, ArrayOperator, Bitwise, CreateBlockOperator, CrementOperator, LogicalOperator, MethodInvokeOperator, RelationalOperator, ThisVariableable, ValueOperator, VariableOperator, Executeable, Cloneable

public abstract class EnumCInitBody
extends SuperMethodBody
implements IEnumCInitBody


字段摘要
protected  List<String> enumNameList
           
 
从类 cn.wensiqun.asmsupport.block.method.SuperMethodBody 继承的字段
argments
 
从类 cn.wensiqun.asmsupport.block.ProgramBlock 继承的字段
insnHelper, method, ownerBlock, returned, scope
 
构造方法摘要
EnumCInitBody()
           
 
方法摘要
abstract  void blockBody()
           
abstract  void constructEnumField()
          call newEnum method at this method.
 void generateBody()
          generate the method body
protected  void init()
           
 void newEnum(String name, Parameterized... argus)
           
 void setEnumNameList(List<String> enumNameList)
           
 
从类 cn.wensiqun.asmsupport.block.method.SuperMethodBody 继承的方法
addTryCatchInfo, endMethodBody, executing, generateInsn, getMethodArguments
 
从类 cn.wensiqun.asmsupport.block.ProgramBlock 继承的方法
add, addAllExe, addException, addExe, afterDec, afterInc, append, arrayLength, arrayLength, arrayLength, arrayLength, arrayLength, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayStore, arrayStore, arrayStore, arrayStore, arrayStore, assign, beforeDec, beforeInc, bitAnd, bitOr, bitXor, breakout, checkCast, clonerGenerate, conditionalAnd, conditionalOr, continueout, createArrayVariable, createArrayVariable, createArrayVariableWithAllocateDimension, createVariable, div, dowhile, equal, equals, execute, forEach, getCopy, getExecuteBlock, getExecuteQueue, getInsnHelper, getLocalAnonymousVariableModel, getLocalVariableModel, getMethod, getMethodBody, getMethodOwner, getOwnerBlock, getPreExecuteInsn, getScope, getSuper, getThis, getThrowExceptions, greaterEqual, greaterThan, ifthan, instanceOf, inverts, invoke, invokeConstructor, invokeOriginalMethod, invokeStatic, invokeVerify, isReturned, isUnreachableCode, leftShift, lessEqual, lessThan, logicalAnd, logicalOr, logicalXor, mod, mul, neg, newArray, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue, not, notEqual, prepare, removeException, removeExe, replaceExe, rightShift, runReturn, runReturn, setExecuteBlock, setInsnHelper, setOwnerBlock, setReturned, setScope, setWhetherCheckUnreachableCode, sub, subBlockPrepare, subBlockPrepare, syn, ternary, throwException, tiggerTryCatchPrepare, tryDo, unsignedRightShift, whetherCheckUnreachableCode, whileloop
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 cn.wensiqun.asmsupport.block.IBlockOperators 继承的方法
append, breakout, checkCast, continueout, instanceOf, neg, runReturn, runReturn, ternary, throwException
 
从接口 cn.wensiqun.asmsupport.block.operator.ThisVariableable 继承的方法
getSuper, getThis
 
从接口 cn.wensiqun.asmsupport.block.operator.ValueOperator 继承的方法
newArray, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue
 
从接口 cn.wensiqun.asmsupport.block.operator.VariableOperator 继承的方法
assign, createArrayVariable, createArrayVariable, createArrayVariableWithAllocateDimension, createVariable
 
从接口 cn.wensiqun.asmsupport.block.operator.MethodInvokeOperator 继承的方法
invoke, invokeConstructor, invokeOriginalMethod, invokeStatic
 
从接口 cn.wensiqun.asmsupport.block.operator.ArrayOperator 继承的方法
arrayLength, arrayLength, arrayLength, arrayLength, arrayLength, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayStore, arrayStore, arrayStore, arrayStore, arrayStore
 
从接口 cn.wensiqun.asmsupport.block.operator.ArithmeticOperator 继承的方法
add, div, mod, mul, sub
 
从接口 cn.wensiqun.asmsupport.block.operator.Bitwise 继承的方法
bitAnd, bitOr, bitXor, inverts, leftShift, rightShift, unsignedRightShift
 
从接口 cn.wensiqun.asmsupport.block.operator.CrementOperator 继承的方法
afterDec, afterInc, beforeDec, beforeInc
 
从接口 cn.wensiqun.asmsupport.block.operator.RelationalOperator 继承的方法
equal, greaterEqual, greaterThan, lessEqual, lessThan, notEqual
 
从接口 cn.wensiqun.asmsupport.block.operator.LogicalOperator 继承的方法
conditionalAnd, conditionalOr, logicalAnd, logicalOr, logicalXor, not
 
从接口 cn.wensiqun.asmsupport.block.operator.CreateBlockOperator 继承的方法
dowhile, forEach, ifthan, syn, tryDo, whileloop
 

字段详细信息

enumNameList

protected List<String> enumNameList
构造方法详细信息

EnumCInitBody

public EnumCInitBody()
方法详细信息

setEnumNameList

public void setEnumNameList(List<String> enumNameList)

init

protected void init()
覆盖:
SuperMethodBody 中的 init

newEnum

public void newEnum(String name,
                    Parameterized... argus)
指定者:
接口 IEnumCInitBody 中的 newEnum

generateBody

public void generateBody()
从类 SuperMethodBody 复制的描述
generate the method body

指定者:
SuperMethodBody 中的 generateBody

constructEnumField

public abstract void constructEnumField()
call newEnum method at this method. get some information about current enum type constructor 在此方法中调用newEnum方法, 获取构造枚举列表中每个枚举类型需要的参数信息,枚举类型名等信息。


blockBody

public abstract void blockBody()


Copyright © 2013. All Rights Reserved.