edu.umd.cs.findbugs.ba.jsr305
Class AbstractMethodAnnotationAccumulator
java.lang.Object
edu.umd.cs.findbugs.ba.ch.OverriddenMethodsVisitor
edu.umd.cs.findbugs.ba.jsr305.AbstractMethodAnnotationAccumulator
- All Implemented Interfaces:
- InheritanceGraphVisitor
- Direct Known Subclasses:
- ParameterAnnotationAccumulator
public abstract class AbstractMethodAnnotationAccumulator
- extends OverriddenMethodsVisitor
Accumulate type qualifier annotations on method,
taking supertype methods into account.
- Author:
- David Hovemeyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMethodAnnotationAccumulator
protected AbstractMethodAnnotationAccumulator(TypeQualifierValue typeQualifierValue,
XMethod xmethod)
getTypeQualifierValue
public TypeQualifierValue getTypeQualifierValue()
- Returns:
- Returns the typeQualifierValue.
visitOverriddenMethod
protected boolean visitOverriddenMethod(XMethod xmethod)
- Description copied from class:
OverriddenMethodsVisitor
- Downcall method: will be called for each method overridden by
the derived method object passed to the constructor.
Note that this method will be called for the original
derived method, since this is useful for some applications.
- Specified by:
visitOverriddenMethod
in class OverriddenMethodsVisitor
- Parameters:
xmethod
- a method which is overridden by the
original derived method, or is the original derived method
- Returns:
- true if the traversal should continue into superclasses, false otherwise
getResult
public abstract TypeQualifierAnnotationLookupResult getResult()
lookupAnnotation
protected abstract TypeQualifierAnnotation lookupAnnotation(XMethod xm)
overrides
public abstract boolean overrides()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.