|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.multijava.util.Utils
edu.utep.cs.utjml.rat.Utils
public abstract class Utils
A utility class that provides various static methods.
| Field Summary |
|---|
| Fields inherited from class org.multijava.util.Utils |
|---|
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO |
| Fields inherited from interface edu.utep.cs.utjml.rat.Constants |
|---|
DOT_JAVA, PKG_JMLRAC, PKG_JMLUNIT, PKG_JUNIT, TEST_CLASS_FILE_NAME_POSTFIX, TEST_CLASS_NAME_POSTFIX, TEST_DATA_FILE_NAME_POSTFIX, TEST_DATA_NAME_POSTFIX, TEST_METHOD_NAME_PREFIX |
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static Class |
getClass(CClass clazz)
Returns the class object corresponding to the given CClass. |
static Class |
getClass(CType type)
Returns the class object corresponding to the given Ctype. |
static boolean |
isMain(CMethod meth)
Returns true if the argument is a main method. |
static String |
qualifiedName(CClass clazz)
Returns the fully quallified name of the given class, clazz. |
static void |
resetClassLoader()
Resets the class loader for this session. |
| Methods inherited from class org.multijava.util.Utils |
|---|
assertTrue, assertTrue, combineArrays, escapeString, escapeString, fail, fail, getFilePath, hasFlag, hasOtherFlags, parsePathParts, relativePathTo, splitQualifiedName, splitQualifiedName, stripJavaModifiers, stripNonJavaModifiers, stripPrivateModifier, unescapeString, vectorToArray, vectorToIntArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static String qualifiedName(CClass clazz)
clazz.
public static void resetClassLoader()
RatClassLoader to let a new bytecode file
of the target class to be loaded, as the source class might
have been recompiled.
public static Class getClass(CClass clazz)
public static Class getClass(CType type)
public static boolean isMain(CMethod meth)
true if the argument is a main method.
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||