public class Classes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMethodDescriptor(java.lang.String name,
java.lang.String returnType,
java.lang.String[] parameterTypes) |
static java.lang.Class |
getPrimitiveType(java.lang.Class type)
Gets the primitive type corresponding to a class, or null if none.
|
static java.lang.String |
getTypeDescriptor(java.lang.String type) |
static java.lang.Class |
getWrapperType(java.lang.Class type)
Gets the wrapper type corresponding to a class, or null if the class is
not a primitive type.
|
public static java.lang.Class getPrimitiveType(java.lang.Class type)
public static java.lang.Class getWrapperType(java.lang.Class type)
public static java.lang.String getMethodDescriptor(java.lang.String name, java.lang.String returnType, java.lang.String[] parameterTypes)
public static java.lang.String getTypeDescriptor(java.lang.String type)