Package: groovy.transform.stc

## [Java] Class SingleSignatureClosureHint

- groovy.transform.stc.SingleSignatureClosureHint

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

  Authors:
    Cédric Champeau
  Since:
    2.3.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `List<ClassNode>` | `getClosureSignatures(MethodNode node, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit compilationUnit, String[] options, ASTNode usage)`
    `` | `ClassNode[]` | `getParameterTypes(MethodNode node, String[] options, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit unit, ASTNode usage)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ClosureSignatureHint` | `findClassNode, getClosureSignatures, pickGenericType, pickGenericType`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### public List<ClassNode> getClosureSignatures(MethodNode node, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit compilationUnit, String[] options, ASTNode usage)

    - #### public ClassNode[] getParameterTypes(MethodNode node, String[] options, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit unit, ASTNode usage)