public class AnnotationDatabase<AnnotationEnum extends AnnotationEnumeration<AnnotationEnum>>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationDatabase.Target |
Modifier and Type | Field and Description |
---|---|
static boolean |
IGNORE_BUILTIN_ANNOTATIONS |
Constructor and Description |
---|
AnnotationDatabase() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultAnnotation(AnnotationDatabase.Target target,
java.lang.String c,
AnnotationEnum n) |
protected void |
addDefaultMethodAnnotation(java.lang.String cName,
AnnotationEnum annotation) |
void |
addDirectAnnotation(java.lang.Object o,
AnnotationEnum n) |
protected void |
addFieldAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
AnnotationEnum annotation) |
protected void |
addMethodAnnotation(java.lang.Class<?> clazz,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
AnnotationEnum annotation) |
protected void |
addMethodAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
AnnotationEnum annotation) |
protected void |
addMethodParameterAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
int param,
AnnotationEnum annotation) |
boolean |
annotationIsDirect(java.lang.Object o) |
boolean |
anyAnnotations(AnnotationEnum n) |
AnnotationEnum |
getDirectAnnotation(java.lang.Object o) |
AnnotationEnum |
getResolvedAnnotation(java.lang.Object o,
boolean getMinimal) |
AnnotationEnum |
getUncachedResolvedAnnotation(java.lang.Object o,
boolean getMinimal) |
void |
loadAuxiliaryAnnotations() |
boolean |
setAddClassOnly(boolean newValue) |
public void loadAuxiliaryAnnotations()
public void addDirectAnnotation(java.lang.Object o, AnnotationEnum n)
public void addDefaultAnnotation(AnnotationDatabase.Target target, java.lang.String c, AnnotationEnum n)
public boolean anyAnnotations(AnnotationEnum n)
@CheckForNull public AnnotationEnum getResolvedAnnotation(java.lang.Object o, boolean getMinimal)
public boolean annotationIsDirect(java.lang.Object o)
@CheckForNull public AnnotationEnum getUncachedResolvedAnnotation(java.lang.Object o, boolean getMinimal)
public AnnotationEnum getDirectAnnotation(java.lang.Object o)
public boolean setAddClassOnly(boolean newValue)
protected void addDefaultMethodAnnotation(java.lang.String cName, AnnotationEnum annotation)
protected void addFieldAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, AnnotationEnum annotation)
protected void addMethodAnnotation(java.lang.Class<?> clazz, java.lang.String mName, java.lang.String mSig, boolean isStatic, AnnotationEnum annotation)
protected void addMethodAnnotation(@DottedClassName java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, AnnotationEnum annotation)
protected void addMethodParameterAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, int param, AnnotationEnum annotation)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.