Class ProblemReporter
java.lang.Object
com.github.javaparser.ast.validator.ProblemReporter
A simple interface where validators can report found problems.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
report(NodeWithTokenRange<?> node, String message, Object... args)
Report a problem.void
report(TokenRange range, String message, Object... args)
-
Constructor Details
-
ProblemReporter
-
-
Method Details
-
report
Report a problem.- Parameters:
message
- description of the problemnode
- the node in which the problem occurred, used to find the Range of the problem.
-
report
-