SPeCS Packages Documentation
Preparing search index...
@specs-feup/kadabra
kadabra/adapt/Specializer
ExtractFunctionalInterface
Function ExtractFunctionalInterface
ExtractFunctionalInterface
(
targetMethod
:
string
,
targetClass
?:
string
,
targetFile
?:
string
,
associate
?:
boolean
,
newFile
?:
boolean
,
)
:
{
$defaultMethod
:
Method
|
undefined
;
$function
:
Method
;
$interface
:
InterfaceType
;
targetMethodName
:
string
;
}
Parameters
targetMethod
:
string
targetClass
:
string
= ".*"
targetFile
:
string
= ".*"
associate
:
boolean
= false
newFile
:
boolean
= true
Returns
{
$defaultMethod
:
Method
|
undefined
;
$function
:
Method
;
$interface
:
InterfaceType
;
targetMethodName
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SPeCS Packages Documentation
Loading...