FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba.jsr305
Class TypeQualifierResolver

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.jsr305.TypeQualifierResolver

public class TypeQualifierResolver
extends java.lang.Object

Resolve annotations into type qualifiers.

Author:
William Pugh

Constructor Summary
TypeQualifierResolver()
           
 
Method Summary
static void logMissingAnnotationClass(MissingClassException e)
           
static java.util.Collection<AnnotationValue> resolveTypeQualifierDefaults(java.util.Collection<AnnotationValue> values, java.lang.annotation.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 java.util.Collection<AnnotationValue> resolveTypeQualifiers(AnnotationValue value)
          Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.
static java.util.Collection<AnnotationValue> resolveTypeQualifiers(java.util.Collection<AnnotationValue> values)
          Resolve collection of AnnotationValues (which have been used to annotate an AnnotatedObject or method parameter) into collection of resolved type qualifier AnnotationValues.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeQualifierResolver

public TypeQualifierResolver()
Method Detail

resolveTypeQualifiers

public static java.util.Collection<AnnotationValue> resolveTypeQualifiers(AnnotationValue value)
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 java.util.Collection<AnnotationValue> resolveTypeQualifierDefaults(java.util.Collection<AnnotationValue> values,
                                                                                 java.lang.annotation.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

public static void logMissingAnnotationClass(MissingClassException e)

resolveTypeQualifiers

public static java.util.Collection<AnnotationValue> resolveTypeQualifiers(java.util.Collection<AnnotationValue> values)
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

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.