Package groovy.transform.stc


package groovy.transform.stc
  • Class
    Description
    Parameter annotation aimed at helping IDEs or the static type checker to infer the parameter types of a closure.
    If multiple candidate signatures are found after applying type hints, a conflict resolver can attempt to resolve the ambiguity.
    A closure signature hint class is always used in conjunction with the ClosureParams annotation.
    A hint used to instruct the type checker to pick the first parameter type.
    A hint used to instruct the type checker to pick the type of the component of the first parameter type, which is therefore expected to be an array, like in this example:
    A hint used to instruct the type checker to pick the first generic type of the first parameter type.
    A hint used to instruct the type checker to pick the second generic type of the first parameter type.
    A hint used to instruct the type checker to pick the third generic type of the first parameter type.
    This signature hint uses abstract methods from some type (abstract class or interface) in order to infer the expected parameter types.
    A closure parameter hint class that is convenient if you want to use a String representation of the signature.
     
    A special hint which handles a common use case in the Groovy methods that work on maps.
    Base class for hints which use the type of a parameter of the annotated method as the signature.
    Returns the first of several candidates found.
    Marker interface to indicate that the normal GroovyObject methods should not be added.
    A hint used to instruct the type checker to pick the second parameter type.
    A hint used to instruct the type checker to pick the type of the component of the second parameter type, which is therefore expected to be an array, like in this example:
    A hint used to instruct the type checker to pick the first generic type of the second parameter type.
    A hint used to instruct the type checker to pick the second generic type of the second parameter type.
    A hint used to instruct the type checker to pick the second generic type of the second parameter type.
     
    A simplified version of a ClosureSignatureHint which is suitable for monomorphic closures, that is to say closures which only respond to a single signature.
    A hint used to instruct the type checker to pick the third parameter type.
    A hint used to instruct the type checker to pick the type of the component of the third parameter type, which is therefore expected to be an array, like in this example:
    A hint used to instruct the type checker to pick the first generic type of the third parameter type.
    A hint used to instruct the type checker to pick the second generic type of the third parameter type.
    A hint used to instruct the type checker to pick the second generic type of the third parameter type.