All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Search JAR files by class name

Source code of the class part of junit version 4.12

Go to download Show more of this group Show artifacts with the name junit
package org.junit.internal;

import static java.lang.Thread.currentThread;

 * Miscellaneous functions dealing with classes.
public class Classes {
     * Returns Class.forName for {@code className} using the current thread's class loader.
     * @param className Name of the class.
     * @throws ClassNotFoundException
    public static Class getClass(String className) throws ClassNotFoundException {
        return Class.forName(className, true, currentThread().getContextClassLoader());

© 2018 Weber Informatics LLC