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
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
Methods inherited from interface com.github.javaparser.ast.validator.TypedValidator
postProcessor
-
Constructor Details
-
Validators
-
-
Method Details
-
getValidators
-
remove
-
replace
-
add
-
accept
- Specified by:
accept
in interfaceBiConsumer<Node,ProblemReporter>
- Specified by:
accept
in interfaceTypedValidator<Node>
- Specified by:
accept
in interfaceValidator
- Parameters:
node
- the node that wants to be validatedproblemReporter
- when found, validation errors can be reported here
-