Package edu.umd.cs.findbugs.ba.ch
Interface SupertypeTraversalVisitor
- All Known Implementing Classes:
AbstractMethodAnnotationAccumulator
,OverriddenMethodsVisitor
,ParameterAnnotationAccumulator
public interface SupertypeTraversalVisitor
Visitor interface for simple traversals of the inheritance graph.
- Author:
- Tobias Baum
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
visitClass
(ClassDescriptor classDescriptor, XClass xclass) Visit a class vertex in the inheritance graph.
-
Method Details
-
visitClass
Visit a class vertex in the inheritance graph. Only called for classes that could be resolved, not called for java.lang.Object.- Parameters:
classDescriptor
- ClassDescriptor of the class vertexxclass
- XClass object containing information about the class; never null- Returns:
- true if traversal should continue, false otherwise
-