Uses of Class
edu.umd.cs.findbugs.classfile.analysis.AnnotationValue
-
Packages that use AnnotationValue Package Description edu.umd.cs.findbugs.ba A bytecode analysis framework for BCEL, providing CFG construction, generic dataflow analysis, and a variety of specific dataflow analyses.edu.umd.cs.findbugs.ba.jsr305 Support for analyzing code containing JSR-305 type qualifier annotations.edu.umd.cs.findbugs.classfile.analysis 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.edu.umd.cs.findbugs.detect -
-
Uses of AnnotationValue in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba with type parameters of type AnnotationValue Modifier and Type Field Description (package private) java.util.Map<ClassDescriptor,AnnotationValue>
UnresolvedXMethod. methodAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
UnresolvedXMethod. methodParameterAnnotations
Methods in edu.umd.cs.findbugs.ba that return AnnotationValue Modifier and Type Method Description AnnotationValue
UnresolvedXField. getAnnotation(ClassDescriptor desc)
AnnotationValue
UnresolvedXMethod. getAnnotation(ClassDescriptor desc)
AnnotationValue
XClass. getAnnotation(ClassDescriptor desc)
AnnotationValue
XMethod. getAnnotation(ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to the method.AnnotationValue
UnresolvedXMethod. getParameterAnnotation(int param, ClassDescriptor desc)
AnnotationValue
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 AnnotationValue Modifier and Type Method Description java.util.Collection<AnnotationValue>
UnresolvedXField. getAnnotations()
java.util.Collection<AnnotationValue>
UnresolvedXMethod. getAnnotations()
java.util.Collection<AnnotationValue>
XMethod. getAnnotations()
Get collection of all AnnotationValues applied directly to the method.java.util.Collection<AnnotationValue>
UnresolvedXMethod. getParameterAnnotations(int param)
java.util.Collection<AnnotationValue>
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 AnnotationValue Modifier and Type Method Description void
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 AnnotationValue Modifier and Type Field Description private java.util.Map<AnnotatedObject,java.util.Collection<AnnotationValue>>
TypeQualifierApplications.Data. directObjectAnnotations
Type qualifier annotations applied directly to methods/fields/classes/etc.private java.util.HashMap<XMethod,java.util.Map<java.lang.Integer,java.util.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 AnnotationValue Modifier and Type Method Description private static java.util.Collection<AnnotationValue>
TypeQualifierApplications. getDirectAnnotation(XMethod m, int parameter)
Get the direct annotations (if any) on given method parameter.private static java.util.Collection<AnnotationValue>
TypeQualifierApplications. getDirectAnnotation(AnnotatedObject m)
Get the direct annotations (if any) on given AnnotatedObject.private static java.util.Map<AnnotatedObject,java.util.Collection<AnnotationValue>>
TypeQualifierApplications. getDirectObjectAnnotations()
private static java.util.HashMap<XMethod,java.util.Map<java.lang.Integer,java.util.Collection<AnnotationValue>>>
TypeQualifierApplications. getDirectParameterAnnotations()
static java.util.Collection<AnnotationValue>
TypeQualifierResolver. 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>
TypeQualifierResolver. resolveTypeQualifiers(AnnotationValue value)
Resolve an AnnotationValue into a list of AnnotationValues representing type qualifier annotations.static java.util.Collection<AnnotationValue>
TypeQualifierResolver. 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 in edu.umd.cs.findbugs.ba.jsr305 with parameters of type AnnotationValue Modifier and Type Method Description static TypeQualifierAnnotation
TypeQualifierApplications. constructTypeQualifierAnnotation(AnnotationValue v)
Resolve a raw AnnotationValue into a TypeQualifierAnnotation.static void
TypeQualifierApplications. constructTypeQualifierAnnotation(java.util.Set<TypeQualifierAnnotation> set, AnnotationValue v)
Resolve a raw AnnotationValue into a TypeQualifierAnnotation, storing result in given Set.private static void
TypeQualifierResolver. resolveTypeQualifierDefaults(AnnotationValue value, java.lang.annotation.ElementType defaultFor, java.util.LinkedList<AnnotationValue> result)
Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.private static void
TypeQualifierResolver. resolveTypeQualifierNicknames(AnnotationValue value, java.util.LinkedList<AnnotationValue> result, java.util.LinkedList<ClassDescriptor> onStack)
Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static java.util.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 AnnotationValue Modifier and Type Method Description private static TypeQualifierAnnotation
TypeQualifierApplications. extractAnnotation(java.util.Collection<AnnotationValue> resolvedTypeQualifiers, TypeQualifierValue<?> typeQualifierValue)
private static void
TypeQualifierResolver. resolveTypeQualifierDefaults(AnnotationValue value, java.lang.annotation.ElementType defaultFor, java.util.LinkedList<AnnotationValue> result)
Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static java.util.Collection<AnnotationValue>
TypeQualifierResolver. 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.private static void
TypeQualifierResolver. resolveTypeQualifierNicknames(AnnotationValue value, java.util.LinkedList<AnnotationValue> result, java.util.LinkedList<ClassDescriptor> onStack)
Resolve an annotation into AnnotationValues representing any type qualifier(s) the annotation resolves to.static java.util.Collection<AnnotationValue>
TypeQualifierResolver. 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. -
Uses of AnnotationValue in edu.umd.cs.findbugs.classfile.analysis
Fields in edu.umd.cs.findbugs.classfile.analysis with type parameters of type AnnotationValue Modifier and Type Field Description (package private) java.util.Map<ClassDescriptor,AnnotationValue>
ClassInfo.Builder. classAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
ClassInfo. classAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
FieldInfo.Builder. fieldAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
FieldInfo. fieldAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
MethodInfo.Builder. methodAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
MethodInfo. methodAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
MethodInfo.Builder. methodParameterAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
MethodInfo. methodParameterAnnotations
Methods in edu.umd.cs.findbugs.classfile.analysis that return AnnotationValue Modifier and Type Method Description AnnotationValue
AnnotatedObject. getAnnotation(ClassDescriptor desc)
AnnotationValue
ClassInfo. getAnnotation(ClassDescriptor desc)
AnnotationValue
FieldInfo. getAnnotation(ClassDescriptor desc)
AnnotationValue
MethodInfo. getAnnotation(ClassDescriptor desc)
AnnotationValue
MethodInfo. getParameterAnnotation(int param, ClassDescriptor desc)
Methods in edu.umd.cs.findbugs.classfile.analysis that return types with arguments of type AnnotationValue Modifier and Type Method Description java.util.Collection<AnnotationValue>
AnnotatedObject. getAnnotations()
java.util.Collection<AnnotationValue>
ClassInfo. getAnnotations()
java.util.Collection<AnnotationValue>
FieldInfo. getAnnotations()
java.util.Collection<AnnotationValue>
MethodInfo. getAnnotations()
java.util.Collection<AnnotationValue>
MethodInfo. getParameterAnnotations(int param)
Methods in edu.umd.cs.findbugs.classfile.analysis with parameters of type AnnotationValue Modifier and Type Method Description void
ClassInfo. addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation to the object.void
ClassInfo.Builder. addAnnotation(java.lang.String name, AnnotationValue value)
void
FieldInfo. addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation.void
FieldInfo.Builder. addAnnotation(java.lang.String name, AnnotationValue value)
void
MethodInfo. addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation.void
MethodInfo.Builder. addAnnotation(java.lang.String name, AnnotationValue value)
void
MethodInfo. addParameterAnnotation(int param, AnnotationValue annotationValue)
Destructively add a parameter annotation.void
MethodInfo.Builder. addParameterAnnotation(int parameter, java.lang.String name, AnnotationValue value)
Constructor parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type AnnotationValue Constructor Description ClassInfo(ClassDescriptor classDescriptor, java.lang.String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.lang.String source, int majorVersion, int minorVersion, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, java.util.Map<ClassDescriptor,AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs)
FieldInfo(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSignature, java.lang.String fieldSourceSignature, int accessFlags, java.util.Map<ClassDescriptor,AnnotationValue> fieldAnnotations, boolean isResolved)
MethodInfo(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, java.lang.String methodSourceSignature, int accessFlags, boolean isUnconditionalThrower, boolean isUnsupported, boolean usesConcurrency, boolean hasBackBranch, boolean isStub, boolean isIdentity, boolean usesInvokeDynamic, int methodCallCount, java.lang.String[] exceptions, MethodDescriptor accessMethodForMethod, FieldDescriptor accessMethodForField, java.util.Map<ClassDescriptor,AnnotationValue> methodAnnotations, java.util.Map<java.lang.Integer,java.util.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 AnnotationValue Modifier and Type Method Description private void
CheckExpectedWarnings. check(AnnotationValue expect, java.lang.Object descriptor, java.util.Collection<BugInstance> warnings, boolean expectWarnings, int priority, ClassDescriptor cd)
Deprecated.Method parameters in edu.umd.cs.findbugs.detect with type arguments of type AnnotationValue Modifier and Type Method Description (package private) static boolean
CheckRelaxingNullnessAnnotation. containsNullness(java.util.Collection<AnnotationValue> annotations, NullnessAnnotation nullness)
static boolean
UnreadFields. containsSpecialAnnotation(java.util.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.
-