- All Known Implementing Classes:
CompilerExtension
public interface Extension
-
Method Summary
Modifier and TypeMethodDescriptionbooleanforcesDefaultConstructorFor(Type<?> type) Should a default constructor with no arguments be declared in the giventype?voidpostprocess(TypeScope scope, int run) voidpreprocess(TypeScope scope, int run)
-
Method Details
-
preprocess
-
postprocess
-
forcesDefaultConstructorFor
Should a default constructor with no arguments be declared in the giventype? Returnstrueiff the class declaration fortypehas 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:
trueiff a constructor with no arguments is required
-