Package groovy.transform
Annotation Type TypeChecked.TypeCheckingInfo
- Enclosing class:
- TypeChecked
This 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 pre-compiled classes.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Returns the type checker information protocol number.
-
Element Details
-
inferredType
String inferredTypeAn encoded type information.- Returns:
- the inferred type
-
-
-
version
int versionReturns the type checker information protocol number. This is used if the format of the string used ininferredType()
changes.- Returns:
- the protocol version
- Default:
- 0
-