DependencyReflectionJvm
Provides the default reflection behavior for the JVM platform, relying on the standard library calls for inferring which constructors to use, and how to evaluate the parameters as dependency keys.
Functions
Link copied to clipboard
List constructors of a class in order of preference.
Link copied to clipboard
inline suspend fun mapParameters(parameters: List<KParameter>, resolve: suspend (KParameter) -> Any?): Map<KParameter, Any?>
Resolves the list of parameters from the provided resolve function.
Link copied to clipboard
Maps a parameter to a DependencyKey.