PickFirstResolver (groovy 2.5.0 API)
Date: 2018-05-27

Package: groovy.transform.stc

## [Java] Class PickFirstResolver

- groovy.transform.stc.PickFirstResolver

- Returns the first of several candidates found. This is useful if several types should be supported but only the first should be the default/inferred type. Other options in the list are obtained through explicitly typing the parameter(s).

  Since:
    2.5.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `List<ClassNode>` | `resolve(List<ClassNode> candidates, ClassNode receiver, Expression arguments, ClosureExpression closure, MethodNode methodNode, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit compilationUnit, String[] options)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ClosureSignatureConflictResolver` | `resolve`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### @Override public List<ClassNode> resolve(List<ClassNode> candidates, ClassNode receiver, Expression arguments, ClosureExpression closure, MethodNode methodNode, org.codehaus.groovy.control.SourceUnit sourceUnit, CompilationUnit compilationUnit, String[] options)