Interface MainCompilationUnitCustomizer<T extends TypeDeclaration, C extends CompilationUnit<T>>
- Type Parameters:
T- language-specific type declarationC- language-specific compilation unit
- All Superinterfaces:
org.springframework.core.Ordered
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface MainCompilationUnitCustomizer<T extends TypeDeclaration, C extends CompilationUnit<T>>
extends org.springframework.core.Ordered
Callback for customizing the application's main compilation unit. Invoked with an
order of 0 by default, considering overriding
getOrder() to customize this behaviour.- Author:
- Stephane Nicoll
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
-
Method Details
-
customize
Customize the given compilation unit.- Parameters:
compilationUnit- the compilation unit to customize
-
getOrder
default int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-