public class TypeQualifierAnnotation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TypeQualifierAnnotation |
OVERRIDES_BUT_NO_ANNOTATION |
TypeQualifierValue<?> |
typeQualifier |
javax.annotation.meta.When |
when |
Modifier and Type | Method and Description |
---|---|
static void |
clearInstance() |
static TypeQualifierAnnotation |
combineParameterAnnotations(TypeQualifierAnnotation a,
TypeQualifierAnnotation b) |
static TypeQualifierAnnotation |
combineReturnTypeAnnotations(TypeQualifierAnnotation a,
TypeQualifierAnnotation b)
Combine return type annotations.
|
boolean |
equals(java.lang.Object o) |
static TypeQualifierAnnotation |
getValue(TypeQualifierValue<?> desc,
javax.annotation.meta.When when) |
static java.util.Collection<TypeQualifierAnnotation> |
getValues(java.util.Map<TypeQualifierValue<?>,javax.annotation.meta.When> map) |
int |
hashCode() |
java.lang.String |
toString() |
public final TypeQualifierValue<?> typeQualifier
public final javax.annotation.meta.When when
public static final TypeQualifierAnnotation OVERRIDES_BUT_NO_ANNOTATION
public static void clearInstance()
@CheckForNull public static TypeQualifierAnnotation combineReturnTypeAnnotations(TypeQualifierAnnotation a, TypeQualifierAnnotation b)
a
- a TypeQualifierAnnotation used on a return valueb
- another TypeQualifierAnnotation used on a return valuea
or b
, or null if no such
TypeQualifierAnnotation exists@Nonnull public static TypeQualifierAnnotation combineParameterAnnotations(TypeQualifierAnnotation a, TypeQualifierAnnotation b)
a
- a TypeQualifierAnnotation used on a method parameterb
- another TypeQualifierAnnotation used on a method parameter@Nonnull public static java.util.Collection<TypeQualifierAnnotation> getValues(java.util.Map<TypeQualifierValue<?>,javax.annotation.meta.When> map)
@Nonnull public static TypeQualifierAnnotation getValue(TypeQualifierValue<?> desc, javax.annotation.meta.When when)
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™ is licenced under the LGPL. Copyright © 2006 University of Maryland.