|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
java.lang.Object groovy.transform.CompileStatic
@Documented @Retention(RetentionPolicy.SOURCE) @Target({ ElementType.METHOD, ElementType.TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.PACKAGE }) @GroovyASTTransformationClass("org.codehaus.groovy.transform.sc.StaticCompileTransformation") public @interface CompileStatic
This will let the Groovy compiler use compile time checks in the style of Java then perform static compilation, thus bypassing the Groovy meta object protocol.
Optional Element Summary | |
---|---|
java.lang.String |
extensions
The list of (classpath resources) paths to type checking DSL scripts, also known as type checking extensions. |
null |
value
@default TypeCheckingMode.PASS |
Method Summary |
---|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Element Detail |
---|
public String[] extensions
public TypeCheckingMode value
Copyright © 2003-2013 The Codehaus. All rights reserved.