JxInjector

class JxInjector

Injector that allows to inject instances that use javax.inject.* annotations.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
inject
Link copied to clipboard
fun inject(receiver: Any)
Injects all fields and methods annotated with @Inject in receiver.
newInstance
Link copied to clipboard
inline fun <T : Any> newInstance(injectFields: Boolean = true): T
Creates a new instance of the given type.
toString
Link copied to clipboard
open fun toString(): String