(.js)
laraImport("kadabra.Factory");
(.lara)
import kadabra.Factory;
Aspects
GenerateFunctionalInterface
This aspect is used to generate a functional interface based on a method of a class
The interface is generated in the same package as the target class
TODO: deal with overloading
Inputs
targetMethod: any
targetClass: any (optional)
targetFile: any (optional)
associate: any (optional)
newFile: any (optional)
Outputs
$interface: any
$defaultMethod: any
$function: any
targetMethodName: any (optional)
GetOrNewClass
Inputs
qualifiedName: any
extend: any (optional)
implement: any (optional)
$target: any
Outputs
$class: any
NewClass
Inputs
qualifiedName: any
extend: any (optional)
implement: any (optional)
$target: any
Outputs
$class: any
Global Functions
providerOf
providerOf(code, args)
Parameters
code: any
args: any