org.objectweb.asm.tree.analysis
Class BasicValue
- Value
A
Value
that is represented by its type in a seven types type sytem.
This type system distinguishes the UNINITIALZED, INT, FLOAT, LONG, DOUBLE,
REFERENCE and RETURNADDRESS types.
DOUBLE_VALUE
public static final Value DOUBLE_VALUE
FLOAT_VALUE
public static final Value FLOAT_VALUE
INT_VALUE
public static final Value INT_VALUE
LONG_VALUE
public static final Value LONG_VALUE
REFERENCE_VALUE
public static final Value REFERENCE_VALUE
RETURNADDRESS_VALUE
public static final Value RETURNADDRESS_VALUE
UNINITIALIZED_VALUE
public static final Value UNINITIALIZED_VALUE
BasicValue
public BasicValue(Type type)
equals
public boolean equals(Value value)
Compares this value with the given value.
- equals in interface Value
- true if the values are equals, false otherwise.
getSize
public int getSize()
Returns the size of this value in words.
- getSize in interface Value
getType
public Type getType()
isReference
public boolean isReference()
toString
public String toString()