Uses of Class
edu.umd.cs.findbugs.classfile.analysis.AnnotationValue
Packages that use AnnotationValue
Package
Description
A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
Support for analyzing code containing JSR-305 type qualifier annotations.
Classes of objects that are the result of executing an analysis
engine on a class or method. The classes in this particular package are
those that are independent of any particular bytecode-analysis framework
(e.g., BCEL or ASM). Two important classes in this package are
ClassData, which represents the raw data of a class, and ClassInfo,
which represents symbolic information parsed from the class data.
-
Uses of AnnotationValue in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba with type parameters of type AnnotationValueModifier and TypeFieldDescription(package private) Map
<ClassDescriptor, AnnotationValue> UnresolvedXMethod.methodAnnotations
(package private) Map
<Integer, Map<ClassDescriptor, AnnotationValue>> UnresolvedXMethod.methodParameterAnnotations
Methods in edu.umd.cs.findbugs.ba that return AnnotationValueModifier and TypeMethodDescriptionUnresolvedXField.getAnnotation
(ClassDescriptor desc) UnresolvedXMethod.getAnnotation
(ClassDescriptor desc) XClass.getAnnotation
(ClassDescriptor desc) XMethod.getAnnotation
(ClassDescriptor desc) Get the AnnotationValue of annotation applied directly to the method.UnresolvedXMethod.getParameterAnnotation
(int param, ClassDescriptor desc) XMethod.getParameterAnnotation
(int param, ClassDescriptor desc) Get the AnnotationValue of annotation applied directly to given parameter.Methods in edu.umd.cs.findbugs.ba that return types with arguments of type AnnotationValueModifier and TypeMethodDescriptionUnresolvedXField.getAnnotations()
UnresolvedXMethod.getAnnotations()
XMethod.getAnnotations()
Get collection of all AnnotationValues applied directly to the method.UnresolvedXMethod.getParameterAnnotations
(int param) XMethod.getParameterAnnotations
(int param) Get collection of all AnnotationValues applied directly to given parameter.Methods in edu.umd.cs.findbugs.ba with parameters of type AnnotationValueModifier and TypeMethodDescriptionvoid
UnresolvedXMethod.addAnnotation
(AnnotationValue annotationValue) void
XMethod.addAnnotation
(AnnotationValue annotationValue) Destructively add an annotation.void
UnresolvedXMethod.addParameterAnnotation
(int param, AnnotationValue annotationValue) void
XMethod.addParameterAnnotation
(int param, AnnotationValue annotationValue) Destructively add a parameter annotation. -
Uses of AnnotationValue in edu.umd.cs.findbugs.ba.jsr305
Fields in edu.umd.cs.findbugs.ba.jsr305 with type parameters of type AnnotationValueModifier and TypeFieldDescriptionprivate final Map
<AnnotatedObject, Collection<AnnotationValue>> TypeQualifierApplications.Data.directObjectAnnotations
Type qualifier annotations applied directly to methods/fields/classes/etc.private final HashMap
<XMethod, Map<Integer, Collection<AnnotationValue>>> TypeQualifierApplications.Data.directParameterAnnotations
Type qualifier annotations applied directly to method parameters.Methods in edu.umd.cs.findbugs.ba.jsr305 that return types with arguments of type AnnotationValueModifier and TypeMethodDescriptionprivate static Collection
<AnnotationValue> TypeQualifierApplications.getDirectAnnotation
(XMethod m, int parameter) Get the direct annotations (if any) on given method parameter.private static Collection
<AnnotationValue> TypeQualifierApplications.getDirectAnnotation
(AnnotatedObject m) Get the direct annotations (if any) on given AnnotatedObject.private static Map
<AnnotatedObject, Collection<AnnotationValue>> TypeQualifierApplications.getDirectObjectAnnotations()
private static HashMap
<XMethod, Map<Integer, Collection<AnnotationValue>>> TypeQualifierApplications.getDirectParameterAnnotations()
static Collection
<AnnotationValue> TypeQualifierResolver.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> TypeQualifierResolver.resolveTypeQualifiers
(AnnotationValue value) Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.static Collection
<AnnotationValue> TypeQualifierResolver.resolveTypeQualifiers
(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 in edu.umd.cs.findbugs.ba.jsr305 with parameters of type AnnotationValueModifier and TypeMethodDescriptionstatic TypeQualifierAnnotation
TypeQualifierApplications.constructTypeQualifierAnnotation
(AnnotationValue v) Resolve a raw AnnotationValue into a TypeQualifierAnnotation.static void
TypeQualifierApplications.constructTypeQualifierAnnotation
(Set<TypeQualifierAnnotation> set, AnnotationValue v) Resolve a raw AnnotationValue into a TypeQualifierAnnotation, storing result in given Set.private static void
TypeQualifierResolver.resolveTypeQualifierDefaults
(AnnotationValue value, ElementType defaultFor, LinkedList<AnnotationValue> result) Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.private static void
TypeQualifierResolver.resolveTypeQualifierNicknames
(AnnotationValue value, LinkedList<AnnotationValue> result, LinkedList<ClassDescriptor> onStack) Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static Collection
<AnnotationValue> TypeQualifierResolver.resolveTypeQualifiers
(AnnotationValue value) Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.Method parameters in edu.umd.cs.findbugs.ba.jsr305 with type arguments of type AnnotationValueModifier and TypeMethodDescriptionprivate static TypeQualifierAnnotation
TypeQualifierApplications.extractAnnotation
(Collection<AnnotationValue> resolvedTypeQualifiers, TypeQualifierValue<?> typeQualifierValue) private static void
TypeQualifierResolver.resolveTypeQualifierDefaults
(AnnotationValue value, ElementType defaultFor, LinkedList<AnnotationValue> result) Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static Collection
<AnnotationValue> TypeQualifierResolver.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.private static void
TypeQualifierResolver.resolveTypeQualifierNicknames
(AnnotationValue value, LinkedList<AnnotationValue> result, LinkedList<ClassDescriptor> onStack) Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static Collection
<AnnotationValue> TypeQualifierResolver.resolveTypeQualifiers
(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. -
Uses of AnnotationValue in edu.umd.cs.findbugs.classfile.analysis
Fields in edu.umd.cs.findbugs.classfile.analysis with type parameters of type AnnotationValueModifier and TypeFieldDescription(package private) final Map
<ClassDescriptor, AnnotationValue> ClassInfo.Builder.classAnnotations
(package private) Map
<ClassDescriptor, AnnotationValue> ClassInfo.classAnnotations
(package private) final Map
<ClassDescriptor, AnnotationValue> FieldInfo.Builder.fieldAnnotations
(package private) Map
<ClassDescriptor, AnnotationValue> FieldInfo.fieldAnnotations
(package private) final Map
<ClassDescriptor, AnnotationValue> MethodInfo.Builder.methodAnnotations
(package private) Map
<ClassDescriptor, AnnotationValue> MethodInfo.methodAnnotations
(package private) final Map
<Integer, Map<ClassDescriptor, AnnotationValue>> MethodInfo.Builder.methodParameterAnnotations
(package private) Map
<Integer, Map<ClassDescriptor, AnnotationValue>> MethodInfo.methodParameterAnnotations
Methods in edu.umd.cs.findbugs.classfile.analysis that return AnnotationValueModifier and TypeMethodDescriptionAnnotatedObject.getAnnotation
(ClassDescriptor desc) ClassInfo.getAnnotation
(ClassDescriptor desc) FieldInfo.getAnnotation
(ClassDescriptor desc) MethodInfo.getAnnotation
(ClassDescriptor desc) MethodInfo.getParameterAnnotation
(int param, ClassDescriptor desc) Methods in edu.umd.cs.findbugs.classfile.analysis that return types with arguments of type AnnotationValueModifier and TypeMethodDescriptionAnnotatedObject.getAnnotations()
ClassInfo.getAnnotations()
FieldInfo.getAnnotations()
MethodInfo.getAnnotations()
MethodInfo.getParameterAnnotations
(int param) Methods in edu.umd.cs.findbugs.classfile.analysis with parameters of type AnnotationValueModifier and TypeMethodDescriptionvoid
ClassInfo.addAnnotation
(AnnotationValue annotationValue) Destructively add an annotation to the object.void
ClassInfo.Builder.addAnnotation
(String name, AnnotationValue value) void
FieldInfo.addAnnotation
(AnnotationValue annotationValue) Destructively add an annotation.void
FieldInfo.Builder.addAnnotation
(String name, AnnotationValue value) void
MethodInfo.addAnnotation
(AnnotationValue annotationValue) Destructively add an annotation.void
MethodInfo.Builder.addAnnotation
(String name, AnnotationValue value) void
MethodInfo.addParameterAnnotation
(int param, AnnotationValue annotationValue) Destructively add a parameter annotation.void
MethodInfo.Builder.addParameterAnnotation
(int parameter, String name, AnnotationValue value) Constructor parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type AnnotationValueModifierConstructorDescriptionprivate
ClassInfo
(ClassDescriptor classDescriptor, String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, String source, int majorVersion, int minorVersion, Collection<ClassDescriptor> referencedClassDescriptorList, Set<ClassDescriptor> calledClassDescriptors, Map<ClassDescriptor, AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs) private
FieldInfo
(String className, String fieldName, String fieldSignature, String fieldSourceSignature, int accessFlags, Map<ClassDescriptor, AnnotationValue> fieldAnnotations, boolean isResolved) (package private)
MethodInfo
(String className, String methodName, String methodSignature, String methodSourceSignature, int accessFlags, boolean isUnconditionalThrower, boolean isUnsupported, boolean usesConcurrency, boolean hasBackBranch, boolean isStub, boolean isIdentity, boolean usesInvokeDynamic, int methodCallCount, String[] exceptions, MethodDescriptor accessMethodForMethod, FieldDescriptor accessMethodForField, Map<ClassDescriptor, AnnotationValue> methodAnnotations, Map<Integer, Map<ClassDescriptor, AnnotationValue>> methodParameterAnnotations, long variableIsSynthetic) -
Uses of AnnotationValue in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect with parameters of type AnnotationValueModifier and TypeMethodDescriptionprivate void
CheckExpectedWarnings.check
(AnnotationValue expect, Object descriptor, Collection<BugInstance> warnings, boolean expectWarnings, int priority, ClassDescriptor cd) Deprecated.Method parameters in edu.umd.cs.findbugs.detect with type arguments of type AnnotationValueModifier and TypeMethodDescription(package private) static boolean
CheckRelaxingNullnessAnnotation.containsNullness
(Collection<AnnotationValue> annotations, NullnessAnnotation nullness) static boolean
UnreadFields.containsSpecialAnnotation
(Collection<AnnotationValue> annotationsToCheck) Checks whether the collection of annotations associated with a given element include annotations that indicate the "URF_UNREAD_FIELD" detector should be skipped.