| 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.
|
| 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 |
|---|---|
Collection<AnnotationValue> |
XMethod.getAnnotations()
Get collection of all AnnotationValues applied directly to the method.
|
Collection<AnnotationValue> |
UnresolvedXField.getAnnotations() |
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 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.
|
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
static 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 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(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 |
|---|---|
Collection<AnnotationValue> |
MethodInfo.getAnnotations() |
Collection<AnnotationValue> |
FieldInfo.getAnnotations() |
Collection<AnnotationValue> |
ClassInfo.getAnnotations() |
Collection<AnnotationValue> |
AnnotatedObject.getAnnotations() |
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(String name,
AnnotationValue value) |
void |
FieldInfo.Builder.addAnnotation(String name,
AnnotationValue value) |
void |
ClassInfo.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) |
Copyright © 2003–2015. All rights reserved.