@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[] |
extensions The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions. |
TypeCheckingMode |
value
|
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/transform/TypeChecked.html