Package proguard.evaluation.value
Class Category2Value
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- Direct Known Subclasses:
DoubleValue
,LongValue
public abstract class Category2Value extends Value
This abstract class represents a partially evaluated Category 2 value.
-
-
Field Summary
-
Fields inherited from class proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description Category2Value()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category2Value
category2Value()
Returns this Value as a Category2Value.boolean
isCategory2()
Returns whether the computational type of this Value is a category 2 type.-
Methods inherited from class proguard.evaluation.value.Value
category1Value, computationalType, copyIfMutable, doubleValue, floatValue, generalize, instructionOffsetValue, integerValue, internalType, isParticular, isSpecific, longValue, referenceValue
-
-
-
-
Method Detail
-
category2Value
public final Category2Value category2Value()
Description copied from class:Value
Returns this Value as a Category2Value.- Overrides:
category2Value
in classValue
-
isCategory2
public final boolean isCategory2()
Description copied from class:Value
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.- Specified by:
isCategory2
in classValue
-
-