| java.lang.Object net.sf.jga.parser.ParserUtils
ParserUtils | public class ParserUtils (Code) | | ParserUtils.java
Copyright © 2005 David A. Hall
author: David A. Hall |
getBoxedType | public static Class getBoxedType(Class type)(Code) | | Returns a boxed version of the input type if it is a primitive. Otherwise, returns
the input type.
|
getSimpleName | public static String getSimpleName(Class clasz)(Code) | | Returns the simple name of a class. The built in method in 1.5 is unavailable in 1.4, and
slightly buggy when it comes to names of nested classes.
|
getUnboxedType | public static Class getUnboxedType(Class type)(Code) | | Returns an unboxed version of the input type if it is a reference. Otherwise, returns
the input type.
|
isBoxedType | public static boolean isBoxedType(Class primitive, Class boxedType)(Code) | | Returns true if first class is the boxed type of the second
|
|
|