| java.lang.Object proguard.evaluation.value.Value
All known Subclasses: proguard.evaluation.value.Category1Value, proguard.evaluation.value.Category2Value,
Value | abstract public class Value (Code) | | This abstract class represents a partially evaluated value.
author: Eric Lafortune |
ALWAYS | final public static int ALWAYS(Code) | | |
MAYBE | final public static int MAYBE(Code) | | |
NEVER | final public static int NEVER(Code) | | |
TYPE_DOUBLE | final public static int TYPE_DOUBLE(Code) | | |
TYPE_FLOAT | final public static int TYPE_FLOAT(Code) | | |
TYPE_INSTRUCTION_OFFSET | final public static int TYPE_INSTRUCTION_OFFSET(Code) | | |
TYPE_INTEGER | final public static int TYPE_INTEGER(Code) | | |
TYPE_LONG | final public static int TYPE_LONG(Code) | | |
TYPE_REFERENCE | final public static int TYPE_REFERENCE(Code) | | |
TYPE_TOP | final public static int TYPE_TOP(Code) | | |
computationalType | abstract public int computationalType()(Code) | | Returns the computational type of this Value.
TYPE_INTEGER ,TYPE_LONG ,TYPE_FLOAT ,TYPE_DOUBLE ,TYPE_REFERENCE , orTYPE_INSTRUCTION_OFFSET . |
doubleValue | public DoubleValue doubleValue()(Code) | | Returns this Value as a DoubleValue.
|
floatValue | public FloatValue floatValue()(Code) | | Returns this Value as a FloatValue.
|
generalize | abstract public Value generalize(Value other)(Code) | | Returns the generalization of this Value and the given other Value.
|
integerValue | public IntegerValue integerValue()(Code) | | Returns this Value as an IntegerValue.
|
internalType | abstract public String internalType()(Code) | | Returns the internal type of this Value.
ClassConstants.INTERNAL_TYPE_BOOLEAN ,ClassConstants.INTERNAL_TYPE_BYTE ,ClassConstants.INTERNAL_TYPE_CHAR ,ClassConstants.INTERNAL_TYPE_SHORT ,ClassConstants.INTERNAL_TYPE_INT ,ClassConstants.INTERNAL_TYPE_LONG ,ClassConstants.INTERNAL_TYPE_FLOAT ,ClassConstants.INTERNAL_TYPE_DOUBLE ,ClassConstants.INTERNAL_TYPE_CLASS_START ... ClassConstants.INTERNAL_TYPE_CLASS_END , oran array type containing any of these types (always as String). |
isCategory2 | abstract public boolean isCategory2()(Code) | | Returns whether the computational type of this Value is a category 2 type.
This means that it takes up the space of two category 1 types on the
stack, for instance.
|
isSpecific | public boolean isSpecific()(Code) | | Returns whether this Value represents a single specific value.
|
longValue | public LongValue longValue()(Code) | | Returns this Value as a LongValue.
|
|
|