public interface ReflectionUtilLimited extends GenericTypeFactory
ReflectionUtil that is GWT compatible.| Modifier and Type | Field and Description |
|---|---|
static Object[] |
NO_ARGUMENTS
an empty
Object-array |
static Class<?>[] |
NO_PARAMETERS
an empty class array
|
| Modifier and Type | Method and Description |
|---|---|
<T> Class<T> |
getNonPrimitiveType(Class<T> type)
This method gets the according non-
primitive type for the class given by
type. |
createGenericType, createGenericType, createGenericType, createGenericTypestatic final Class<?>[] NO_PARAMETERS
<T> Class<T> getNonPrimitiveType(Class<T> type)
primitive type for the class given by
type. getNonPrimitiveType(int.class) will return
Integer.class.T - is the generic type of the given type Class.type - is the (potentially) primitive type.type. This will be the given
type itself if it is NOT primitive.Class.isPrimitive()Copyright © 2001–2015 mmm-Team. All rights reserved.