Minix
5.0.0-alpha
module-common
/
dev.racci.minix.api.utils.reflection
/
OverrideUtils
/
ifOverridesProperty
if
Overrides
Property
@
JvmName
(
name
=
"ifOverridesKProperty"
)
inline
fun
<
T
:
Any
,
C
:
KProperty
<
*
>
,
R
>
ifOverridesProperty
(
kClass
:
KClass
<
T
>
,
property
:
C
,
action
:
C
.
(
)
->
R
)
:
R
?
@
JvmName
(
name
=
"ifOverridesKPropertyInstance"
)
inline
fun
<
T
:
Any
,
R
>
ifOverridesProperty
(
instance
:
T
,
property
:
KProperty
<
*
>
,
action
:
T
.
(
)
->
R
)
:
R
?