proguard.evaluation.value
Class Category2Value

java.lang.Object
  extended by proguard.evaluation.value.Value
      extended by 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
 
Constructor Summary
Category2Value()
           
 
Method Summary
 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, doubleValue, floatValue, generalize, instructionOffsetValue, integerValue, internalType, isParticular, isSpecific, longValue, referenceValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category2Value

public Category2Value()
Method Detail

category2Value

public final Category2Value category2Value()
Description copied from class: Value
Returns this Value as a Category2Value.

Overrides:
category2Value in class Value

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 class Value