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.methodParameterAnnotationsMethods 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 TypeMethodDescriptionvoidUnresolvedXMethod.addAnnotation(AnnotationValue annotationValue) voidXMethod.addAnnotation(AnnotationValue annotationValue) Destructively add an annotation.voidUnresolvedXMethod.addParameterAnnotation(int param, AnnotationValue annotationValue) voidXMethod.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.directObjectAnnotationsType qualifier annotations applied directly to methods/fields/classes/etc.private final HashMap<XMethod, Map<Integer, Collection<AnnotationValue>>> TypeQualifierApplications.Data.directParameterAnnotationsType 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 TypeQualifierAnnotationTypeQualifierApplications.constructTypeQualifierAnnotation(AnnotationValue v) Resolve a raw AnnotationValue into a TypeQualifierAnnotation.static voidTypeQualifierApplications.constructTypeQualifierAnnotation(Set<TypeQualifierAnnotation> set, AnnotationValue v) Resolve a raw AnnotationValue into a TypeQualifierAnnotation, storing result in given Set.private static voidTypeQualifierResolver.resolveTypeQualifierDefaults(AnnotationValue value, ElementType defaultFor, LinkedList<AnnotationValue> result) Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.private static voidTypeQualifierResolver.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 TypeQualifierAnnotationTypeQualifierApplications.extractAnnotation(Collection<AnnotationValue> resolvedTypeQualifiers, TypeQualifierValue<?> typeQualifierValue) private static voidTypeQualifierResolver.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 voidTypeQualifierResolver.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.methodParameterAnnotationsMethods 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 TypeMethodDescriptionvoidClassInfo.addAnnotation(AnnotationValue annotationValue) Destructively add an annotation to the object.voidClassInfo.Builder.addAnnotation(String name, AnnotationValue value) voidFieldInfo.addAnnotation(AnnotationValue annotationValue) Destructively add an annotation.voidFieldInfo.Builder.addAnnotation(String name, AnnotationValue value) voidMethodInfo.addAnnotation(AnnotationValue annotationValue) Destructively add an annotation.voidMethodInfo.Builder.addAnnotation(String name, AnnotationValue value) voidMethodInfo.addParameterAnnotation(int param, AnnotationValue annotationValue) Destructively add a parameter annotation.voidMethodInfo.Builder.addParameterAnnotation(int parameter, String name, AnnotationValue value) Method parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type AnnotationValueModifier and TypeMethodDescriptionprivate booleanMethodInfo.computeHasPolymorphicSignature(Map<ClassDescriptor, AnnotationValue> methodAnnotations) Constructor parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type AnnotationValueModifierConstructorDescriptionprivateClassInfo(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, Map<String, Map<String, MethodInfo>> polymorphicMethods) privateFieldInfo(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 voidCheckExpectedWarnings.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 booleanCheckRelaxingNullnessAnnotation.containsNullness(Collection<AnnotationValue> annotations, NullnessAnnotation nullness) static booleanUnreadFields.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.