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