| java.lang.Object org.apache.tapestry.ioc.services.ClassFabUtils
generateClassName | public static synchronized String generateClassName(String baseName)(Code) | | Generates a unique class name, which will be in the default package.
|
getUnwrapMethodName | public static String getUnwrapMethodName(String primitiveTypeName)(Code) | | Given one of the primitive types, returns the name of the method that will unwrap the wrapped
type to the primitive type.
|
getWrapperType | public static Class getWrapperType(Class primitiveType)(Code) | | Given some type (possibly a primitive) returns the corresponding primitive type. For
non-primitives, the provided type is returned.
|
getWrapperTypeName | public static String getWrapperTypeName(String primitiveType)(Code) | | Given the name of a primitive type, returns the name of the corresponding wrapper class.
|
isToString | public static boolean isToString(Method method)(Code) | | Returns true if the method is the standard toString() method. Very few interfaces will ever
include this method as part of the interface, but we have to be sure.
|
toJVMBinaryName | public static String toJVMBinaryName(String type)(Code) | | Translates types from standard Java format to Java VM format. For example, java.util.Locale
remains java.util.Locale, but int[][] is translated to [[I and java.lang.Object[] to
[Ljava.lang.Object;
|
toJavaClassName | public static String toJavaClassName(Class inputClass)(Code) | | Javassist needs the class name to be as it appears in source code, even for arrays. Invoking
getName() on a Class instance representing an array returns the internal format (i.e, "[...;"
or something). This returns it as it would appear in Java code.
|
|
|