legacyFindInstance

public static T legacyFindInstance<T>(Class<? super T> clazz, String className)(source)

Resolves an instance of a given class (even abstract).

Return

the resolved instance

Parameters

<T>

the type of the instance to resolve

clazz

the class to generate from the instance

className

the class name