Declaration which can be invoked, and may have parameters. Classes and functions are functional declarations.
Note that multiple-parameter lists are not reified at runtime, so if you have a function declaration like this:
Integer add(Integer a)(Integer b) => a + b;
It will only have a single parameter list at runtime (the first), and its return
type will be Callable<Integer,[Integer]>.
| Attributes | |
| annotation | Source Code shared formal Boolean annotation True if the current declaration is an annotation class or function. |
| parameterDeclarations | Source Code shared formal FunctionOrValueDeclaration[] parameterDeclarations The list of parameter declarations for this functional declaration. |
| Inherited Attributes |
| Attributes inherited from: Object |
| Methods | |
| getParameterDeclaration | Source Code Gets a parameter declaration by name. Returns |
| Inherited Methods |
| Methods inherited from: Object |