Package groovy.transform
Annotation Type TypeChecked
This will let the Groovy compiler use compile time checks in the style of Java.
- Since:
- 2.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
This annotation is added by @TypeChecked on methods which have type checking turned on. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions.
-
Element Details
-
value
TypeCheckingMode value- Default:
- PASS
-
extensions
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:
- {}
-