Package edu.umd.cs.findbugs.ba.jsr305
Class TypeQualifierResolver
java.lang.Object
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierResolver
Resolve annotations into type qualifiers.
- Author:
- William Pugh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static Collection
<AnnotationValue> resolveTypeQualifierDefaults
(Collection<AnnotationValue> values, ElementType elementType) Resolve collection of AnnotationValues (which have been used to annotate an AnnotatedObject or method parameter) into collection of resolved type qualifier AnnotationValues.static Collection
<AnnotationValue> Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.static Collection
<AnnotationValue> Resolve collection of AnnotationValues (which have been used to annotate an AnnotatedObject or method parameter) into collection of resolved type qualifier AnnotationValues.
-
Constructor Details
-
TypeQualifierResolver
public TypeQualifierResolver()
-
-
Method Details
-
resolveTypeQualifiers
Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.- Parameters:
value
- AnnotationValue representing the use of an annotation- Returns:
- Collection of AnnotationValues representing resolved TypeQualifier annotations
-
resolveTypeQualifierDefaults
public static Collection<AnnotationValue> resolveTypeQualifierDefaults(Collection<AnnotationValue> values, ElementType elementType) Resolve collection of AnnotationValues (which have been used to annotate an AnnotatedObject or method parameter) into collection of resolved type qualifier AnnotationValues.- Parameters:
values
- Collection of AnnotationValues used to annotate an AnnotatedObject or method parameter- Returns:
- Collection of resolved type qualifier AnnotationValues
-
logMissingAnnotationClass
-
resolveTypeQualifiers
Resolve collection of AnnotationValues (which have been used to annotate an AnnotatedObject or method parameter) into collection of resolved type qualifier AnnotationValues.- Parameters:
values
- Collection of AnnotationValues used to annotate an AnnotatedObject or method parameter- Returns:
- Collection of resolved type qualifier AnnotationValues
-