Package org.codehaus.groovy.control.customizers

Examples of org.codehaus.groovy.control.customizers.ImportCustomizer.call()


      // Additional auto configuration
      for (CompilerAutoConfiguration autoConfiguration : GroovyCompiler.this.compilerAutoConfigurations) {
        if (autoConfiguration.matches(classNode)) {
          if (GroovyCompiler.this.configuration.isGuessImports()) {
            autoConfiguration.applyImports(importCustomizer);
            importCustomizer.call(source, context, classNode);
          }
          if (classNode.equals(mainClassNode)) {
            autoConfiguration.applyToMainClass(GroovyCompiler.this.loader,
                GroovyCompiler.this.configuration, context, source,
                classNode);
View Full Code Here


              .apply(GroovyCompiler.this.loader,
                  GroovyCompiler.this.configuration, context, source,
                  classNode);
        }
      }
      importCustomizer.call(source, context, classNode);
    }

  }

  @SuppressWarnings("unchecked")
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.