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.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
XMethod.getAnnotation(ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to the method.
|
AnnotationValue |
XClass.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
UnresolvedXField.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
XMethod.getParameterAnnotation(int param,
ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to given
parameter.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AnnotationValue> |
XMethod.getAnnotations()
Get collection of all AnnotationValues applied directly to the method.
|
java.util.Collection<AnnotationValue> |
UnresolvedXField.getAnnotations() |
java.util.Collection<AnnotationValue> |
XMethod.getParameterAnnotations(int param)
Get collection of all AnnotationValues applied directly to given
parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
XMethod.addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation.
|
void |
XMethod.addParameterAnnotation(int param,
AnnotationValue annotationValue)
Destructively add a parameter annotation.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and 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.
|
static java.util.Collection<AnnotationValue> |
TypeQualifierResolver.resolveTypeQualifiers(AnnotationValue value)
Resolve an AnnotationValue into a list of AnnotationValues representing
type qualifier annotations.
|
Modifier and Type | Method and Description |
---|---|
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(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.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
MethodInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
FieldInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
ClassInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
AnnotatedObject.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
MethodInfo.getParameterAnnotation(int param,
ClassDescriptor desc) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AnnotationValue> |
MethodInfo.getAnnotations() |
java.util.Collection<AnnotationValue> |
FieldInfo.getAnnotations() |
java.util.Collection<AnnotationValue> |
ClassInfo.getAnnotations() |
java.util.Collection<AnnotationValue> |
AnnotatedObject.getAnnotations() |
java.util.Collection<AnnotationValue> |
MethodInfo.getParameterAnnotations(int param) |
Modifier and Type | Method and Description |
---|---|
void |
MethodInfo.addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation.
|
void |
FieldInfo.addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation.
|
void |
ClassInfo.addAnnotation(AnnotationValue annotationValue)
Destructively add an annotation to the object.
|
void |
MethodInfo.Builder.addAnnotation(java.lang.String name,
AnnotationValue value) |
void |
FieldInfo.Builder.addAnnotation(java.lang.String name,
AnnotationValue value) |
void |
ClassInfo.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) |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.