public class Antlr4ErrorLog extends Object implements ANTLRToolListener
ANTLRToolListener reports messages to the
Log instance provided by Maven.| 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(String message) |
void |
warning(ANTLRMessage message) |
public Antlr4ErrorLog(@NotNull Tool tool, @NotNull org.sonatype.plexus.build.incremental.BuildContext buildContext, @NotNull org.apache.maven.plugin.logging.Log log)
Antlr4ErrorLog.log - The Maven logpublic void info(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 - Copyright © 2009–2022 Daniel Sun. All rights reserved.