@Documented @Retention(RetentionPolicy.SOURCE) @Target({ ElementType.METHOD, ElementType.TYPE, 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[]  | 
                            extensionsThe 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.