Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

net.sourceforge.pmd.util
Class ClassUtil

java.lang.Object
 extended by net.sourceforge.pmd.util.ClassUtil

public class ClassUtil
extends java.lang.Object

Various class-related utility methods

Author:
Brian Remedios

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

getPrimitiveTypeFor

public static java.lang.Class getPrimitiveTypeFor(java.lang.String name)
Returns the type(class) for the name specified or null if not found.

Parameters:
name - String
Returns:
Class

getTypeFor

public static java.lang.Class getTypeFor(java.lang.String shortName)
Attempt to determine the actual class given the short name.

Parameters:
shortName - String
Returns:
Class

withoutPackageName

public static java.lang.String withoutPackageName(java.lang.String fullTypeName)
Returns the abbreviated name of the type, without the package name

Parameters:
fullTypeName -
Returns:
String

Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 InfoEther. All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /