|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
public class TypeQualifierValue
A TypeQualifierValue is a pair specifying a type qualifier annotation and a value. Each TypeQualifierValue is effectively a different type qualifier. For example, if Foo is a type qualifier annotation having an int value, then Foo(0), Foo(1), etc. are all different type qualifiers which must be checked separately.
Field Summary | |
---|---|
static boolean |
DEBUG
|
ClassDescriptor |
typeQualifier
|
java.lang.Object |
value
|
Method Summary | |
---|---|
static void |
clearInstance()
|
boolean |
equals(java.lang.Object o)
|
static java.util.Collection<TypeQualifierValue> |
getAllKnownTypeQualifiers()
Get Collection of all known TypeQualifierValues. |
static java.util.Collection<TypeQualifierValue> |
getComplementaryExclusiveTypeQualifierValue(TypeQualifierValue tqv)
Get the "complementary" TypeQualifierValues for given exclusive type qualifier. |
ClassDescriptor |
getTypeQualifierClassDescriptor()
Get the ClassDescriptor which specifies the type qualifier annotation. |
static TypeQualifierValue |
getValue(ClassDescriptor desc,
java.lang.Object value)
Given a ClassDescriptor/value pair, return the interned TypeQualifierValue representing that pair. |
int |
hashCode()
|
static boolean |
hasMultipleVariants(TypeQualifierValue tqv)
Determine whether or not given TypeQualifierValue has multiple variants. |
boolean |
isExclusiveQualifier()
Return whether or not this TypeQualifierValue denotes an exclusive qualifier. |
boolean |
isExhaustiveQualifier()
Return whether or not this TypeQualifierValue denotes an exhaustive qualifier. |
boolean |
isStrictQualifier()
Return whether or not this TypeQualifierValue denotes a strict qualifier. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final boolean DEBUG
public final ClassDescriptor typeQualifier
@CheckForNull public final java.lang.Object value
Method Detail |
---|
public static void clearInstance()
@NonNull public static TypeQualifierValue getValue(ClassDescriptor desc, java.lang.Object value)
desc
- a ClassDescriptor denoting a type qualifier annotationvalue
- a value
public static java.util.Collection<TypeQualifierValue> getAllKnownTypeQualifiers()
public static java.util.Collection<TypeQualifierValue> getComplementaryExclusiveTypeQualifierValue(TypeQualifierValue tqv)
tqv
- a type qualifier (which must be exclusive)
public static boolean hasMultipleVariants(TypeQualifierValue tqv)
tqv
- a TypeQualifierValue
public ClassDescriptor getTypeQualifierClassDescriptor()
public boolean isStrictQualifier()
public boolean isExclusiveQualifier()
public boolean isExhaustiveQualifier()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |