- All Known Implementing Classes:
CompilerExtension
public interface Extension
-
Method Summary
Modifier and TypeMethodDescriptionboolean
forcesDefaultConstructorFor
(Type<?> type) Should a default constructor with no arguments be declared in the giventype
?void
postprocess
(TypeScope scope, int run) void
preprocess
(TypeScope scope, int run)
-
Method Details
-
preprocess
-
postprocess
-
forcesDefaultConstructorFor
Should a default constructor with no arguments be declared in the giventype
? Returnstrue
iff the class declaration fortype
has to provide a default constructor with no arguments. If no such constructor is declared explicitly, an implicit declaration has to be added by the compiler.- Parameters:
type
- the current state of the class declaration- Returns:
true
iff a constructor with no arguments is required
-