net.sourceforge.pmd.util
public class ClassUtil extends Object
Method Summary | |
---|---|
static Class | getPrimitiveTypeFor(String name)
Returns the type(class) for the name specified
or null if not found.
|
static Class | getTypeFor(String shortName)
Attempt to determine the actual class given the short name.
|
static String | withoutPackageName(String fullTypeName)
Returns the abbreviated name of the type,
without the package name
|
Parameters: name String
Returns: Class
Parameters: shortName String
Returns: Class
Parameters: fullTypeName
Returns: String