kapsule-core
Module Contents
alltypes
Module Contents
sealed
class
Delegate
<
in
M
,
T
>
Module Contents
fun
initialize
(
module
:
M
)
:
Unit
class
Optional
<
in
M
,
T
>
:
Delegate
<
M
,
T
>
Module Contents
Optional
(
initializer
:
M
.
(
)
->
T
?
)
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
?
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
t
:
T
?
)
:
Unit
class
Required
<
in
M
,
T
>
:
Delegate
<
M
,
T
>
Module Contents
Required
(
initializer
:
M
.
(
)
->
T
)
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
t
:
T
)
:
Unit
var
value
:
T
?
interface
HasModules
Module Contents
abstract
val
modules
:
Set
<
Any
>
interface
Injects
<
M
>
class
Kapsule
<
M
>
Module Contents
Kapsule
(
)
@Synchronized
fun
inject
(
module
:
M
)
:
Unit
operator
fun
<
T
>
invoke
(
initializer
:
M
.
(
)
->
T
)
:
Delegate.Required
<
M
,
T
>
fun
<
T
>
optional
(
initializer
:
M
.
(
)
->
T
?
)
:
Delegate.Optional
<
M
,
T
>
fun
<
T
>
required
(
initializer
:
M
.
(
)
->
T
)
:
Delegate.Required
<
M
,
T
>
object
Kapsules
Module Contents
fun
<
M
>
get
(
caller
:
Injects
<
M
>
)
:
Kapsule
<
M
>
class
TransitiveInjectionException
:
ClassCastException
Module Contents
TransitiveInjectionException
(
clazz
:
Class
<
*
>
)
package
net.gouline.kapsule
Module Contents
sealed
class
Delegate
<
in
M
,
T
>
Module Contents
fun
initialize
(
module
:
M
)
:
Unit
class
Optional
<
in
M
,
T
>
:
Delegate
<
M
,
T
>
Module Contents
Optional
(
initializer
:
M
.
(
)
->
T
?
)
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
?
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
t
:
T
?
)
:
Unit
class
Required
<
in
M
,
T
>
:
Delegate
<
M
,
T
>
Module Contents
Required
(
initializer
:
M
.
(
)
->
T
)
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
t
:
T
)
:
Unit
var
value
:
T
?
interface
HasModules
Module Contents
abstract
val
modules
:
Set
<
Any
>
fun
<
M
>
Injects
<
M
>
.
inject
(
module
:
M
)
:
Unit
interface
Injects
<
M
>
class
Kapsule
<
M
>
Module Contents
Kapsule
(
)
@Synchronized
fun
inject
(
module
:
M
)
:
Unit
operator
fun
<
T
>
invoke
(
initializer
:
M
.
(
)
->
T
)
:
Delegate.Required
<
M
,
T
>
fun
<
T
>
optional
(
initializer
:
M
.
(
)
->
T
?
)
:
Delegate.Optional
<
M
,
T
>
fun
<
T
>
required
(
initializer
:
M
.
(
)
->
T
)
:
Delegate.Required
<
M
,
T
>
object
Kapsules
Module Contents
fun
<
M
>
get
(
caller
:
Injects
<
M
>
)
:
Kapsule
<
M
>
fun
<
M
,
T
>
Injects
<
M
>
.
optional
(
initializer
:
M
.
(
)
->
T
?
)
:
Delegate.Optional
<
M
,
T
>
fun
<
M
,
T
>
Injects
<
M
>
.
required
(
initializer
:
M
.
(
)
->
T
)
:
Delegate.Required
<
M
,
T
>
fun
<
M
:
HasModules
>
M
.
transitive
(
)
:
M
class
TransitiveInjectionException
:
ClassCastException
Module Contents
TransitiveInjectionException
(
clazz
:
Class
<
*
>
)