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)

字段摘要
 
从类 cn.wensiqun.asmsupport.utils.Component 继承的字段
componentOrder, generation, locals
 
构造方法摘要
ScopeLogicVariable(Scope parent, org.objectweb.asm.Type declareClass, org.objectweb.asm.Type actuallyClass, boolean anonymous)
           
ScopeLogicVariable(String name, Scope parent, org.objectweb.asm.Type declareClass, org.objectweb.asm.Type actuallyClass)
           
 
方法摘要
 boolean availableFor(Component com)
          指定的Component可否使用该变量
 org.objectweb.asm.Type getActuallyType()
           
 int getCompileOrder()
           
 org.objectweb.asm.Type getDeclareType()
           
 int getInitStartPos()
           
 String getName()
           
 int[] getPositions()
           
 org.objectweb.asm.Label getSpecifiedStartLabel()
           
 boolean isAnonymous()
           
 boolean isSubOf(Scope scope)
          变量是Scope说的子代
 void setCompileOrder(Integer compileOrder)
          设置编译顺序
 void setSpecifiedStartLabel(org.objectweb.asm.Label specifiedStartLabel)
           
 void store()
           
 String toString()
           
 
从类 cn.wensiqun.asmsupport.utils.Component 继承的方法
compareComponentOrder, getLocals, getParent, setParent
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

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.