|
FindBugs™ 1.3.4 | |||||||||
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 | |
---|---|
ClassDescriptor |
typeQualifier
|
java.lang.Object |
value
|
Method Summary | |
---|---|
static void |
clearInstance()
|
boolean |
equals(java.lang.Object o)
|
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()
|
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 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 ClassDescriptor getTypeQualifierClassDescriptor()
public boolean isStrictQualifier()
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.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |