类 BasicValue
java.lang.Object
cn.taketoday.bytecode.tree.analysis.BasicValue
- 所有已实现的接口:
Value
A
Value that is represented with its type in a seven types type system. This type system
distinguishes the UNINITIALZED, INT, FLOAT, LONG, DOUBLE, REFERENCE and RETURNADDRESS types.- 作者:
- Eric Bruneton
-
字段概要
字段修饰符和类型字段说明static final BasicValueA double value.static final BasicValueA float value.static final BasicValueA byte, boolean, char, short, or int value.static final BasicValueA long value.static final BasicValueAn object or array reference value.static final BasicValueA return address value (produced by a jsr instruction).static final BasicValueAn uninitialized value. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
UNINITIALIZED_VALUE
An uninitialized value. -
INT_VALUE
A byte, boolean, char, short, or int value. -
FLOAT_VALUE
A float value. -
LONG_VALUE
A long value. -
DOUBLE_VALUE
A double value. -
REFERENCE_VALUE
An object or array reference value. -
RETURNADDRESS_VALUE
A return address value (produced by a jsr instruction).
-
-
构造器详细资料
-
BasicValue
Constructs a newBasicValueof the given type.- 参数:
type- the value type.
-
-
方法详细资料
-
getType
Returns theTypeof this value.- 返回:
- the
Typeof this value.
-
getSize
public int getSize()从接口复制的说明:ValueReturns the size of this value in 32 bits words. This size should be 1 for byte, boolean, char, short, int, float, object and array types, and 2 for long and double. -
isReference
public boolean isReference()Returns whether this value corresponds to an object or array reference.- 返回:
- whether this value corresponds to an object or array reference.
-
equals
-
hashCode
public int hashCode() -
toString
-