antlr
Class Utils
java.lang.Object
antlr.Utils
public class Utils
- extends Object
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
loadClass
public static Class loadClass(String name)
throws ClassNotFoundException
- Thanks to Max Andersen at JBOSS and Scott Stanchfield
- Throws:
ClassNotFoundException
createInstanceOf
public static Object createInstanceOf(String name)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
error
public static void error(String message)
error
public static void error(String message,
Throwable t)