mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
5 lines
218 B
Java
5 lines
218 B
Java
class Test {
|
|
public final <T> Class<T> findClass(final String className) throws ClassNotFoundException {
|
|
return (Class<T>)Class.forName(className, true, <selection>getClass().getClassLoader()</selection>);
|
|
}
|
|
} |