Package org.openrewrite.groovy
Class ParseWarningCollector
java.lang.Object
org.codehaus.groovy.control.ErrorCollector
org.openrewrite.groovy.ParseWarningCollector
- All Implemented Interfaces:
Serializable
public class ParseWarningCollector
extends org.codehaus.groovy.control.ErrorCollector
- See Also:
-
Field Summary
Fields inherited from class org.codehaus.groovy.control.ErrorCollector
configuration, errors, warnings -
Constructor Summary
ConstructorsConstructorDescriptionParseWarningCollector(org.codehaus.groovy.control.CompilerConfiguration configuration, GroovyParser parser) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddErrorAndContinue(org.codehaus.groovy.control.messages.Message message) protected voidList<org.openrewrite.ParseWarning> Methods inherited from class org.codehaus.groovy.control.ErrorCollector
addCollectorContents, addError, addError, addError, addError, addErrorAndContinue, addErrorAndContinue, addException, addFatalError, addWarning, addWarning, addWarning, getConfiguration, getError, getErrorCount, getErrors, getException, getLastError, getSyntaxError, getWarning, getWarningCount, getWarnings, hasErrors, hasWarnings, write
-
Constructor Details
-
ParseWarningCollector
public ParseWarningCollector(org.codehaus.groovy.control.CompilerConfiguration configuration, GroovyParser parser)
-
-
Method Details
-
addErrorAndContinue
public void addErrorAndContinue(org.codehaus.groovy.control.messages.Message message) throws org.codehaus.groovy.control.CompilationFailedException - Overrides:
addErrorAndContinuein classorg.codehaus.groovy.control.ErrorCollector- Throws:
org.codehaus.groovy.control.CompilationFailedException
-
failIfErrors
protected void failIfErrors() throws org.codehaus.groovy.control.CompilationFailedException- Overrides:
failIfErrorsin classorg.codehaus.groovy.control.ErrorCollector- Throws:
org.codehaus.groovy.control.CompilationFailedException
-
getWarningMarkers
-