public class ParameterAnnotationAccumulator extends AbstractMethodAnnotationAccumulator
Modifier | Constructor and Description |
---|---|
protected |
ParameterAnnotationAccumulator(TypeQualifierValue<?> typeQualifierValue,
XMethod xmethod,
int parameter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeQualifierAnnotationLookupResult |
getResult() |
protected TypeQualifierAnnotation |
lookupAnnotation(XMethod xm) |
boolean |
overrides()
Returns true if the method overrides/implements a method in a superclass
or interface
|
getTypeQualifierValue, visitOverriddenMethod
getXmethod, visitClass
protected ParameterAnnotationAccumulator(TypeQualifierValue<?> typeQualifierValue, XMethod xmethod, int parameter)
typeQualifierValue
- TypeQualifierValue specifying kind of application to lookupxmethod
- method we want to find parameter annotation forparameter
- the parameter (0 == first parameter)public TypeQualifierAnnotationLookupResult getResult()
getResult
in class AbstractMethodAnnotationAccumulator
public boolean overrides()
overrides
in class AbstractMethodAnnotationAccumulator
protected TypeQualifierAnnotation lookupAnnotation(XMethod xm)
lookupAnnotation
in class AbstractMethodAnnotationAccumulator
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.