|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.jsr305.TypeQualifierDatabase
public class TypeQualifierDatabase
Store computed type qualifiers for method parameters and return values. This allows interprocedural checking of type qualifiers.
Field Summary | |
---|---|
static boolean |
DEBUG
|
static boolean |
USE_DATABASE
If true, populate and use interprocedural database. |
Constructor Summary | |
---|---|
TypeQualifierDatabase()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean USE_DATABASE
public static final boolean DEBUG
Constructor Detail |
---|
public TypeQualifierDatabase()
Method Detail |
---|
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 qualifier
public 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 qualifier
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |