Interface Validator
- All Superinterfaces:
BiConsumer<Node,ProblemReporter>,TypedValidator<Node>
- All Known Implementing Classes:
CommonValidators,Java1_0Validator,Java1_1Validator,Java1_2Validator,Java1_3Validator,Java1_4Validator,Java10PreviewValidator,Java10Validator,Java11PreviewValidator,Java11Validator,Java12PreviewValidator,Java12Validator,Java13PreviewValidator,Java13Validator,Java14PreviewValidator,Java14Validator,Java15PreviewValidator,Java15Validator,Java16PreviewValidator,Java16Validator,Java17PreviewValidator,Java17Validator,Java5Validator,Java6Validator,Java7Validator,Java8Validator,Java9Validator,ModifierValidator,NoBinaryIntegerLiteralsValidator,NoUnderscoresInIntegerLiteralsValidator,RecordAsTypeIdentifierNotAllowed,ReservedKeywordValidator,SimpleValidator,SingleNodeTypeValidator,TreeVisitorValidator,UnderscoreKeywordValidator,Validators,VisitorValidator
A validator that can be run on a node to check for semantic errors.
It is fully up to the implementor how to do this.
-
Method Summary
Methods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface com.github.javaparser.ast.validator.TypedValidator
postProcessor
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<Node,ProblemReporter>- Specified by:
acceptin interfaceTypedValidator<Node>- Parameters:
node- the node that wants to be validatedproblemReporter- when found, validation errors can be reported here
-