public class TypeQualifierDatabase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static boolean |
USE_DATABASE
If true, populate and use interprocedural database.
|
| Constructor and Description |
|---|
TypeQualifierDatabase()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeQualifierAnnotation |
getParameter(MethodDescriptor methodDesc,
int param,
TypeQualifierValue<?> tqv)
Get the TypeQualifierAnnotation on a parameter.
|
TypeQualifierAnnotation |
getReturnValue(MethodDescriptor methodDesc,
TypeQualifierValue<?> tqv)
Get the TypeQualifierAnnotation on a method return value.
|
void |
setParameter(MethodDescriptor methodDesc,
int param,
TypeQualifierValue<?> tqv,
TypeQualifierAnnotation tqa)
Set a TypeQualifierAnnotation on a method parameter.
|
void |
setReturnValue(MethodDescriptor methodDesc,
TypeQualifierValue<?> tqv,
TypeQualifierAnnotation tqa)
Set a TypeQualifierAnnotation on a method return value.
|
public static final boolean USE_DATABASE
public static final boolean DEBUG
public void setReturnValue(MethodDescriptor methodDesc, TypeQualifierValue<?> tqv, TypeQualifierAnnotation tqa)
methodDesc - the methodtqv - the type qualifiertqa - the type qualifier annotationpublic TypeQualifierAnnotation getReturnValue(MethodDescriptor methodDesc, TypeQualifierValue<?> tqv)
methodDesc - the methodtqv - the type qualifierpublic void setParameter(MethodDescriptor methodDesc, int param, TypeQualifierValue<?> tqv, TypeQualifierAnnotation tqa)
methodDesc - the methodparam - the parameter (0 == first parameter)tqv - the type qualifiertqa - the type qualifier annotationpublic TypeQualifierAnnotation getParameter(MethodDescriptor methodDesc, int param, TypeQualifierValue<?> tqv)
methodDesc - the methodparam - the parameter (0 == first parameter)tqv - the type qualifierFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.