Class NoProblemsValidator
- java.lang.Object
-
- com.github.javaparser.ast.validator.NoProblemsValidator
-
- All Implemented Interfaces:
TypedValidator<Node>,Validator,BiConsumer<Node,ProblemReporter>
@Deprecated public final class NoProblemsValidator extends Object implements Validator
Deprecated.when setting a language validator, tryParserConfiguration.setLanguageLevel(ParserConfiguration.LanguageLevel)with RAW.Stub validator for when no validation is wanted.
-
-
Constructor Summary
Constructors Constructor Description NoProblemsValidator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(Node node, ProblemReporter problemReporter)Deprecated.-
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
-
-
-
-
Method Detail
-
accept
public void accept(Node node, ProblemReporter problemReporter)
Deprecated.- 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
-
-