Top Annotations Classes
[default module]

Package groovy.transform.stc


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ClosureParams

Parameter annotation aimed at helping IDEs or the static type checker to infer the parameter types of a closure.

Class Summary

Modifier and TypeClass and Description
public class
ClosureSignatureConflictResolver

If multiple candidate signatures are found after applying type hints, a conflict resolver can attempt to resolve the ambiguity.

public abstract class
ClosureSignatureHint

A closure signature hint class is always used in conjunction with the ClosureParams annotation.

public class
FirstParam

A hint used to instruct the type checker to pick the first parameter type.

public class
FromAbstractTypeMethods

This signature hint uses abstract methods from some type (abstract class or interface) in order to infer the expected parameter types.

public class
FromString

A closure parameter hint class that is convenient if you want to use a String representation of the signature.

public class
public class
MapEntryOrKeyValue

A special hint which handles a common use case in the Groovy methods that work on maps.

public class
PickAnyArgumentHint

Base class for hints which use the type of a parameter of the annotated method as the signature.

public class
PickFirstResolver

Returns the first of several candidates found.

public class
SecondParam

A hint used to instruct the type checker to pick the second parameter type.

public class
public abstract class
SingleSignatureClosureHint

A simplified version of a groovy.transform.stc.ClosureSignatureHint which is suitable for monomorphic closures, that is to say closures which only respond to a single signature.

public class
ThirdParam

A hint used to instruct the type checker to pick the third parameter type.