public class Antlr4ErrorLog extends java.lang.Object implements ANTLRToolListener
ANTLRToolListener reports messages to the
Log instance provided by Maven.| Modifier and Type | Field and Description |
|---|---|
private org.sonatype.plexus.build.incremental.BuildContext |
buildContext |
private org.apache.maven.plugin.logging.Log |
log |
private Tool |
tool |
| Constructor and Description |
|---|
Antlr4ErrorLog(Tool tool,
org.sonatype.plexus.build.incremental.BuildContext buildContext,
org.apache.maven.plugin.logging.Log log)
Creates an instance of
Antlr4ErrorLog. |
| Modifier and Type | Method and Description |
|---|---|
void |
error(ANTLRMessage message) |
void |
info(java.lang.String message) |
void |
warning(ANTLRMessage message) |
private final Tool tool
private final org.sonatype.plexus.build.incremental.BuildContext buildContext
private final org.apache.maven.plugin.logging.Log log
public Antlr4ErrorLog(Tool tool, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.plugin.logging.Log log)
Antlr4ErrorLog.log - The Maven logpublic void info(java.lang.String message)
This implementation passes the message to the Maven log.
info in interface ANTLRToolListenermessage - The message to send to Mavenpublic void error(ANTLRMessage message)
This implementation passes the message to the Maven log.
error in interface ANTLRToolListenermessage - The message to send to Maven.public void warning(ANTLRMessage message)
This implementation passes the message to the Maven log.
warning in interface ANTLRToolListenermessage -