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

    Constructors
    Constructor
    Description
    ParseWarningCollector(org.codehaus.groovy.control.CompilerConfiguration configuration, GroovyParser parser)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addErrorAndContinue(org.codehaus.groovy.control.messages.Message message)
     
    protected void
     
    List<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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      addErrorAndContinue in class org.codehaus.groovy.control.ErrorCollector
      Throws:
      org.codehaus.groovy.control.CompilationFailedException
    • failIfErrors

      protected void failIfErrors() throws org.codehaus.groovy.control.CompilationFailedException
      Overrides:
      failIfErrors in class org.codehaus.groovy.control.ErrorCollector
      Throws:
      org.codehaus.groovy.control.CompilationFailedException
    • getWarningMarkers

      public List<org.openrewrite.ParseWarning> getWarningMarkers()