edu.umd.cs.findbugs
public static class OpcodeStack.Item extends Object
Field Summary | |
---|---|
static int | AVERAGE_COMPUTED_USING_DIVISION |
static int | FILE_SEPARATOR_STRING |
static int | FLOAT_MATH |
static int | HASHCODE_INT |
static int | HASHCODE_INT_REMAINDER |
static int | INTEGER_SUM |
static int | LOW_8_BITS_CLEAR |
static int | MASKED_NON_NEGATIVE |
static int | MATH_ABS |
static int | NASTY_FLOAT_MATH |
static int | RANDOM_INT |
static int | RANDOM_INT_REMAINDER |
static int | SIGNED_BYTE |
static Object | UNKNOWN |
Constructor Summary | |
---|---|
Item(String signature, int constValue) | |
Item(String signature) | |
Item(OpcodeStack.Item it) | |
Item(OpcodeStack.Item it, int reg) | |
Item(String signature, FieldAnnotation f) | |
Item(String signature, FieldAnnotation f, int fieldLoadedFromRegister) | |
Item(String signature, Object constantValue) | |
Item() |
Method Summary | |
---|---|
boolean | couldBeZero() |
Object | getConstant() |
String | getElementSignature() |
int | getFieldLoadedFromRegister() |
JavaClass | getJavaClass() |
int | getRegisterNumber() |
String | getSignature() |
int | getSize() |
int | getSpecialKind() |
Object | getUserValue()
gets the detector specified value for this item
|
XField | getXField() |
boolean | isArray() |
boolean | isInitialParameter() |
boolean | isNonNegative() |
boolean | isNull() |
boolean | isPrimitive() |
static OpcodeStack.Item | merge(OpcodeStack.Item i1, OpcodeStack.Item i2) |
boolean | mustBeZero() |
void | setSpecialKind(int specialKind) |
void | setUserValue(Object value)
attaches a detector specified value to this item
|
boolean | valueCouldBeNegative() |
Returns: Returns the specialKind.
Returns: the custom value
Returns: Returns the isInitialParameter.
Returns: Returns the isNull.
Parameters: specialKind The specialKind to set.
Parameters: value the custom value to set