public class PickFirstResolver extends ClosureSignatureConflictResolver
| Constructor and Description | 
|---|
| PickFirstResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<ClassNode[]> | resolve(java.util.List<ClassNode[]> candidates,
       ClassNode receiver,
       Expression arguments,
       ClosureExpression closure,
       MethodNode methodNode,
       SourceUnit sourceUnit,
       CompilationUnit compilationUnit,
       java.lang.String[] options) | 
public java.util.List<ClassNode[]> resolve(java.util.List<ClassNode[]> candidates, ClassNode receiver, Expression arguments, ClosureExpression closure, MethodNode methodNode, SourceUnit sourceUnit, CompilationUnit compilationUnit, java.lang.String[] options)
resolve in class ClosureSignatureConflictResolvercandidates - the list of signatures as determined after applying type hints and performing initial inference calculationsreceiver - the receiver the method is being called onarguments - the arguments for the closureclosure - the closure expression under analysismethodNode - the method for which a Closure parameter was annotated with ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options() found on the annotation