public class NativeTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
getLiteral(String className,
String literal) |
static Class<?> |
getPrimitiveType(Class<?> clazz) |
static Class<?> |
getWrapperType(Class<?> clazz) |
static boolean |
isNative(String fullyQualifiedName) |
static boolean |
isNumber(Class<?> clazz) |
public static boolean isNative(String fullyQualifiedName)
public static boolean isNumber(Class<?> clazz)
public static Class<?> getLiteral(String className, String literal)
className - FQN of the literal native classliteral - literal to verifyIllegalArgumentException - when the literal does not match to the provided native type classNameCopyright © 2012–2018. All rights reserved.