Class TreeVisitorValidator
java.lang.Object
com.github.javaparser.ast.validator.TreeVisitorValidator
- All Implemented Interfaces:
TypedValidator<Node>, Validator, BiConsumer<Node, ProblemReporter>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThenMethods inherited from interface TypedValidator
processor
-
Field Details
-
validator
-
-
Constructor Details
-
TreeVisitorValidator
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<Node, ProblemReporter>- Specified by:
acceptin interfaceTypedValidator<Node>- Specified by:
acceptin interfaceValidator- Parameters:
node- the node that wants to be validatedreporter- when found, validation errors can be reported here
-