Package groovy.transform
Annotation Type TypeChecked.TypeCheckingInfo
-
@Retention(RUNTIME) @Target(METHOD) public static @interface TypeChecked.TypeCheckingInfoThis annotation is added by @TypeChecked on methods which have type checking turned on. It is used to embed type information into binary, so that the type checker can use this information, if available, for precompiled classes.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringinferredTypeAn encoded type information.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intversionReturns the type checker information protocol number.
-
-
-
-
version
int version
Returns the type checker information protocol number. This is used if the format of the string used ininferredType()changes.- Returns:
- the protocol version
- Default:
- 0
-
-