public class SimpleType
extends SingleSignatureClosureHint
Hint that resolves closure parameter types directly from option class names.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ClassNode[] |
getParameterTypes(MethodNode node, String[] options, SourceUnit sourceUnit, CompilationUnit compilationUnit, ASTNode usage)* Returns the single parameter signature accepted by the hinted closure. * *
|
| Methods inherited from class | Name |
|---|---|
class SingleSignatureClosureHint |
getClosureSignatures, getParameterTypes |
class ClosureSignatureHint |
findClassNode, getClosureSignatures, pickGenericType, pickGenericType |
* Returns the single parameter signature accepted by the hinted closure. * *
node - the annotated method node
*options - the hint options
*sourceUnit - the current source unit
*unit - the current compilation unit
*usage - the closure expression or related AST node
*