
Untitled
By: a guest on
Dec 23rd, 2012 | syntax:
Java | size: 0.54 KB | hits: 23 | expires: Never
package net.minecraft.src;
import net.minecraft.src.uq.*;
public class Loader
{
static void staticMethod() throws ClassNotFoundException, InstantiationException, IllegalAccessException {
((BaseMod) Loader.class.getClassLoader().loadClass("net.minecraft.src.uq.mod_uq").newInstance()).load();
}
void nonStaticMethod() throws ClassNotFoundException, InstantiationException, IllegalAccessException {
((BaseMod) this.getClass().getClassLoader().loadClass("net.minecraft.src.uq.mod_uq").newInstance()).load();
}
}