work/workmanager/src/main/java/androidx/work/InputMerger.java
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    @SuppressWarnings("ClassNewInstance")
    public static InputMerger fromClassName(String className) {
        try {
            Class<?> clazz = Class.forName(className);
            return (InputMerger) clazz.newInstance();
        } catch (Exception e) {
            Log.e(TAG, "Trouble instantiating + " + className, e);
        }
        return null;
    }
/**
     * Instantiates an {@link InputMerger} from its class name.
     *
     * @param className The name of the {@link InputMerger} class
     * @return The instantiated {@link InputMerger}, or {@code null} if it could not be instantiated
     *
     * @hide
     */
Instantiates an  InputMerger from its class name.
@param className The name of the  InputMerger class
@return The instantiated  InputMerger, or  null if it could not be instantiated

@hide
Instantiates an InputMerger from its class name . @param className The name of the InputMerger class @return The instantiated InputMerger or null if it could not be instantiated @hide
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    @SuppressWarnings("ClassNewInstance")
    public static InputMerger fromClassName(String className) {
        try {
            Class<?> clazz = Class.forName(className);
            return (InputMerger) clazz.newInstance();
        } catch (Exception e) {
            Log.e(TAG, "Trouble instantiating + " + className, e);
        }
        return null;
    }
@ RestrictTo ( RestrictTo . Scope . LIBRARY_GROUP ) @ SuppressWarnings ( "ClassNewInstance" ) public static InputMerger fromClassName ( String className ) { try { Class < ? > clazz = Class . forName ( className ) ; return ( InputMerger ) clazz . newInstance ( ) ; } catch ( Exception e ) { Log . e ( TAG , "Trouble instantiating + " + className , e ) ; } return null ; }
Instantiates an {@link InputMerger} from its class name.
Instantiates an { @link InputMerger } from its class name .