public static class UBQualifier.UpperBoundLiteralQualifier extends UBQualifier
UBQualifier.LessThanLengthOf, UBQualifier.UpperBoundLiteralQualifier, UBQualifier.UpperBoundUnknownQualifier
Modifier and Type | Field and Description |
---|---|
static UBQualifier.UpperBoundLiteralQualifier |
NEGATIVEONE
Represents the value -1.
|
static UBQualifier.UpperBoundLiteralQualifier |
ONE
Represents the value 1.
|
static UBQualifier.UpperBoundLiteralQualifier |
ZERO
Represents the value 0.
|
Modifier and Type | Method and Description |
---|---|
static UBQualifier.UpperBoundLiteralQualifier |
create(int value)
Creates an UpperBoundLiteralQualifier.
|
UBQualifier |
glb(UBQualifier other) |
boolean |
isLiteral()
Returns true if this UBQualifier represents a literal integer.
|
boolean |
isSubtype(UBQualifier superType) |
UBQualifier |
lub(UBQualifier other) |
String |
toString() |
createUBQualifier, createUBQualifier, createUBQualifier, createUBQualifier, createUBQualifier, createUBQualifier, hasSequenceWithOffset, hasSequenceWithOffset, isBottom, isLessThanLengthOf, isLessThanLengthOfAny, isLessThanLengthQualifier, isLessThanOrEqualTo, isPoly, isUnknown, minusOffset, minusOffset, plusOffset, plusOffset, widenUpperBound
public static UBQualifier.UpperBoundLiteralQualifier NEGATIVEONE
public static UBQualifier.UpperBoundLiteralQualifier ZERO
public static UBQualifier.UpperBoundLiteralQualifier ONE
public static UBQualifier.UpperBoundLiteralQualifier create(int value)
value
- the integer valuepublic boolean isLiteral()
UBQualifier
isLiteral
in class UBQualifier
public boolean isSubtype(UBQualifier superType)
isSubtype
in class UBQualifier
public UBQualifier lub(UBQualifier other)
lub
in class UBQualifier
public UBQualifier glb(UBQualifier other)
glb
in class UBQualifier