public class InstructionOffsetValue extends Category1Value
| Modifier and Type | Field and Description |
|---|---|
static InstructionOffsetValue |
EMPTY_VALUE |
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP| Constructor and Description |
|---|
InstructionOffsetValue(int value) |
InstructionOffsetValue(int[] values) |
| Modifier and Type | Method and Description |
|---|---|
int |
computationalType()
Returns the computational type of this Value.
|
boolean |
contains(int value)
Returns whether the given value is present in this list of instruction
offsets.
|
boolean |
equals(Object object) |
Value |
generalize(InstructionOffsetValue other)
Returns the generalization of this InstructionOffsetValue and the given
other InstructionOffsetValue.
|
Value |
generalize(Value other)
Returns the generalization of this Value and the given other Value.
|
int |
hashCode() |
int |
instructionOffset(int index) |
int |
instructionOffsetCount() |
InstructionOffsetValue |
instructionOffsetValue()
Returns this Value as an InstructionOffsetValue.
|
String |
internalType()
Returns the internal type of this Value.
|
boolean |
isParticular()
Returns whether this Value represents a single particular (known)
value.
|
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly
unknown) value.
|
int |
maximumValue()
Returns the maximum value from this list of instruction offsets.
|
int |
minimumValue()
Returns the minimum value from this list of instruction offsets.
|
String |
toString() |
category1Value, isCategory2category2Value, doubleValue, floatValue, integerValue, longValue, referenceValuepublic static final InstructionOffsetValue EMPTY_VALUE
public InstructionOffsetValue(int value)
public InstructionOffsetValue(int[] values)
public int instructionOffsetCount()
public int instructionOffset(int index)
public boolean contains(int value)
public int minimumValue()
Integer.MAX_VALUE if the list is empty.public int maximumValue()
Integer.MIN_VALUE if the list is empty.public final Value generalize(InstructionOffsetValue other)
public final InstructionOffsetValue instructionOffsetValue()
ValueinstructionOffsetValue in class Valuepublic boolean isSpecific()
ValueisSpecific in class Valuepublic boolean isParticular()
ValueisParticular in class Valuepublic final Value generalize(Value other)
Valuegeneralize in class Valuepublic final int computationalType()
ValuecomputationalType in class ValueTYPE_INTEGER,
TYPE_LONG,
TYPE_FLOAT,
TYPE_DOUBLE,
TYPE_REFERENCE, or
TYPE_INSTRUCTION_OFFSET.public final String internalType()
ValueinternalType in class ValueClassConstants.TYPE_BOOLEAN,
ClassConstants.TYPE_BYTE,
ClassConstants.TYPE_CHAR,
ClassConstants.TYPE_SHORT,
ClassConstants.TYPE_INT,
ClassConstants.TYPE_LONG,
ClassConstants.TYPE_FLOAT,
ClassConstants.TYPE_DOUBLE,
ClassConstants.TYPE_CLASS_START ... ClassConstants.TYPE_CLASS_END, or
an array type containing any of these types (always as String).Copyright © 2015. All Rights Reserved.