This signature hint uses abstract methods from some type (abstract class or interface) in order to infer the expected parameter types. This is especially useful for closure parameter type inference when implicit closure coercion is in action.
Type Params | Return Type | Name and description |
---|---|---|
|
List<ClassNode> |
getClosureSignatures(MethodNode node, SourceUnit sourceUnit, CompilationUnit compilationUnit, String[] options, ASTNode usage) |
Methods inherited from class | Name |
---|---|
class ClosureSignatureHint |
findClassNode, getClosureSignatures, pickGenericType, pickGenericType |