|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jga.parser.ParserUtils
public class ParserUtils
ParserUtils.java
Copyright © 2005 David A. Hall
Method Summary | |
---|---|
static java.lang.Class<?> |
getBoxedType(java.lang.Class<?> type)
Returns a boxed version of the input type if it is a primitive. |
static java.lang.String |
getSimpleName(java.lang.Class<?> clasz)
Returns the simple name of a class. |
static java.lang.Class<?> |
getUnboxedType(java.lang.Class<?> type)
Returns an unboxed version of the input type if it is a reference. |
static boolean |
isBoxedType(java.lang.Class<?> primitive,
java.lang.Class<?> boxedType)
Returns true if first class is the boxed type of the second |
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<?> getBoxedType(java.lang.Class<?> type)
public static java.lang.Class<?> getUnboxedType(java.lang.Class<?> type)
public static boolean isBoxedType(java.lang.Class<?> primitive, java.lang.Class<?> boxedType)
public static java.lang.String getSimpleName(java.lang.Class<?> clasz)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |