Package groovy.transform
Annotation Type TypeChecked
@Documented
@Retention(SOURCE)
@Target({METHOD,TYPE,CONSTRUCTOR})
public @interface TypeChecked
This will let the Groovy compiler use compile time checks in the style of Java.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceTypeChecked.TypeCheckingInfoThis annotation is added by @TypeChecked on methods which have type checking turned on.
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description java.lang.String[]extensionsThe list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions.TypeCheckingModevalue
- 
Element Details- 
valueTypeCheckingMode value- Default:
- PASS
 
- 
extensionsjava.lang.String[] extensionsThe list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions.- Returns:
- an array of paths to groovy scripts that must be on compile classpath
 - Default:
- {}
 
 
-