Package proguard.evaluation.value
Class Category1Value
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- Direct Known Subclasses:
FloatValue
,InstructionOffsetValue
,IntegerValue
,ReferenceValue
,TopValue
public abstract class Category1Value extends Value
This abstract class represents a partially evaluated Category 1 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 Category1Value()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category1Value
category1Value()
Returns this Value as a Category1Value.boolean
isCategory2()
Returns whether the computational type of this Value is a category 2 type.-
Methods inherited from class proguard.evaluation.value.Value
category2Value, computationalType, copyIfMutable, doubleValue, floatValue, generalize, instructionOffsetValue, integerValue, internalType, isParticular, isSpecific, longValue, referenceValue
-
-
-
-
Method Detail
-
category1Value
public final Category1Value category1Value()
Description copied from class:Value
Returns this Value as a Category1Value.- Overrides:
category1Value
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
-
-