@Retention(RetentionPolicy.SOURCE) @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR}) @GroovyASTTransformationClass("org.codehaus.groovy.transform.StaticTypesTransformation") public @interface TypeChecked
This will let the Groovy compiler use compile time checks in the style of Java.
Modifiers | Name | Description |
---|---|---|
@interface |
TypeChecked.TypeCheckingInfo |
This annotation is added by
|
Type | Name and Description |
---|---|
String[] |
extensions The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions. |
TypeCheckingMode |
value
|
The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions.