Class RecordDeclarationValidator
- java.lang.Object
-
- com.github.javaparser.ast.validator.language_level_validations.chunks.RecordDeclarationValidator
-
- All Implemented Interfaces:
TypedValidator<RecordDeclaration>
,BiConsumer<RecordDeclaration,ProblemReporter>
public class RecordDeclarationValidator extends Object implements TypedValidator<RecordDeclaration>
-
-
Constructor Summary
Constructors Constructor Description RecordDeclarationValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RecordDeclaration node, ProblemReporter reporter)
-
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
processor
-
-
-
-
Method Detail
-
accept
public void accept(RecordDeclaration node, ProblemReporter reporter)
- Specified by:
accept
in interfaceBiConsumer<RecordDeclaration,ProblemReporter>
- Specified by:
accept
in interfaceTypedValidator<RecordDeclaration>
- Parameters:
node
- the node that wants to be validatedreporter
- when found, validation errors can be reported here
-
-