SupertypeTraversalVisitor
AbstractMethodAnnotationAccumulator
public abstract class OverriddenMethodsVisitor extends java.lang.Object implements SupertypeTraversalVisitor
Subtypes2.traverseSupertypes(ClassDescriptor, InheritanceGraphVisitor)
method.Constructor | Description |
---|---|
OverriddenMethodsVisitor(XMethod xmethod) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
XMethod |
getXmethod() |
|
boolean |
visitClass(ClassDescriptor classDescriptor,
XClass xclass) |
Visit a class vertex in the inheritance graph.
|
protected abstract boolean |
visitOverriddenMethod(XMethod xmethod) |
Downcall method: will be called for each method overridden by the derived
method object passed to the constructor.
|
public OverriddenMethodsVisitor(XMethod xmethod)
xmethod
- a derived methodpublic XMethod getXmethod()
public boolean visitClass(ClassDescriptor classDescriptor, XClass xclass)
SupertypeTraversalVisitor
visitClass
in interface SupertypeTraversalVisitor
classDescriptor
- ClassDescriptor of the class vertexxclass
- XClass object containing information about the class; never nullprotected abstract boolean visitOverriddenMethod(XMethod xmethod)
xmethod
- a method which is overridden by the original derived method,
or is the original derived methodFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.