|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by net.sourceforge.pmd.util.ClassUtil
public class ClassUtil
Various class-related utility methods
Method Summary | |
---|---|
static java.lang.Class |
getPrimitiveTypeFor(java.lang.String name)
Returns the type(class) for the name specified or null if not found. |
static java.lang.Class |
getTypeFor(java.lang.String shortName)
Attempt to determine the actual class given the short name. |
static java.lang.String |
withoutPackageName(java.lang.String fullTypeName)
Returns the abbreviated name of the type, without the package name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Class getPrimitiveTypeFor(java.lang.String name)
name
- String
public static java.lang.Class getTypeFor(java.lang.String shortName)
shortName
- String
public static java.lang.String withoutPackageName(java.lang.String fullTypeName)
fullTypeName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |