1 package com.github.javaparser.ast.validator;
2 
3 import com.github.javaparser.ParserConfiguration;
4 import com.github.javaparser.ast.Node;
5 
6 /**
7  * Stub validator for when no validation is wanted.
8  *
9  * @deprecated when setting a language validator, try {@link com.github.javaparser.ParserConfiguration#setLanguageLevel(ParserConfiguration.LanguageLevel)} with RAW.
10  */
11 @Deprecated
12 public final class NoProblemsValidator implements Validator {
13     @Override
accept(Node node, ProblemReporter problemReporter)14     public void accept(Node node, ProblemReporter problemReporter) {
15     }
16 }
17