Class Validators
java.lang.Object
com.github.javaparser.ast.validator.Validators
- All Implemented Interfaces:
TypedValidator<Node>,Validator,BiConsumer<Node,ProblemReporter>
- Direct Known Subclasses:
CommonValidators,Java1_0Validator
A validator that will call a collection of validators.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface com.github.javaparser.ast.validator.TypedValidator
postProcessor
-
Constructor Details
-
Validators
-
-
Method Details
-
getValidators
-
remove
-
replace
-
add
-
accept
- Specified by:
acceptin interfaceBiConsumer<Node,ProblemReporter>- Specified by:
acceptin interfaceTypedValidator<Node>- Specified by:
acceptin interfaceValidator- Parameters:
node- the node that wants to be validatedproblemReporter- when found, validation errors can be reported here
-