cn.wensiqun.asmsupport.utils
类 ScopeLogicVariable
java.lang.Object
cn.wensiqun.asmsupport.utils.Component
cn.wensiqun.asmsupport.utils.ScopeLogicVariable
- 所有已实现的接口:
- Localable
public class ScopeLogicVariable
- extends Component
- implements Localable
- 作者:
- 温斯群(Joe Wen)
ScopeLogicVariable
public ScopeLogicVariable(Scope parent,
org.objectweb.asm.Type declareClass,
org.objectweb.asm.Type actuallyClass,
boolean anonymous)
ScopeLogicVariable
public ScopeLogicVariable(String name,
Scope parent,
org.objectweb.asm.Type declareClass,
org.objectweb.asm.Type actuallyClass)
isAnonymous
public boolean isAnonymous()
store
public void store()
isSubOf
public boolean isSubOf(Scope scope)
- 变量是Scope说的子代
- 参数:
scope -
- 返回:
availableFor
public boolean availableFor(Component com)
- 指定的Component可否使用该变量
- 参数:
scope -
- 返回:
getCompileOrder
public int getCompileOrder()
setCompileOrder
public void setCompileOrder(Integer compileOrder)
- 设置编译顺序
- 参数:
compileOrder -
getName
public String getName()
- 指定者:
- 接口
Localable 中的 getName
getActuallyType
public org.objectweb.asm.Type getActuallyType()
- 指定者:
- 接口
Localable 中的 getActuallyType
getDeclareType
public org.objectweb.asm.Type getDeclareType()
- 指定者:
- 接口
Localable 中的 getDeclareType
getPositions
public int[] getPositions()
- 指定者:
- 接口
Localable 中的 getPositions
getInitStartPos
public int getInitStartPos()
getSpecifiedStartLabel
public org.objectweb.asm.Label getSpecifiedStartLabel()
setSpecifiedStartLabel
public void setSpecifiedStartLabel(org.objectweb.asm.Label specifiedStartLabel)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2013. All Rights Reserved.