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:
Subtypes2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
visitClass(ClassDescriptor classDescriptor, XClass xclass)
Visit a class vertex in the inheritance graph.
-
-
-
Method Detail
-
visitClass
boolean visitClass(ClassDescriptor classDescriptor, XClass xclass)
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
-
-