groovy / 2.4.21 / org / codehaus / groovy / control / customizers / compilationcustomizer.html /

[Java] Class CompilationCustomizer

  • org.codehaus.groovy.control.customizers.CompilationCustomizer

Users wanting to customize the configuration process such as adding imports, restricting the language features or apply AST transformations by default should implement this class, then call the CompilerConfiguration.addCompilationCustomizers method.

Authors:
Cedric Champeau
Since:
1.8.0

Constructor Summary

Constructors
Constructor and description
CompilationCustomizer (CompilePhase phase)

Methods Summary

Methods
Type Params Return Type Name and description
CompilePhase getPhase()

Constructor Detail

public CompilationCustomizer(CompilePhase phase)

Method Detail

public CompilePhase getPhase()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/control/customizers/CompilationCustomizer.html