proguard.evaluation.value
Class Category1Value

java.lang.Object
  extended by proguard.evaluation.value.Value
      extended by 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
 
Constructor Summary
Category1Value()
           
 
Method Summary
 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, 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

Category1Value

public Category1Value()
Method Detail

category1Value

public final Category1Value category1Value()
Description copied from class: Value
Returns this Value as a Category1Value.

Overrides:
category1Value 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