public class ReflectionUtil extends Object
Constructor and Description |
---|
ReflectionUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getGetter(String s) |
static String |
getIsGetter(String s) |
static String |
getPropertyFromAccessor(String s) |
static String |
getSetter(String s)
This new method 'slightly' outperforms the old method, it was
essentially a perfect example of me wasting my time and a
premature optimization.
|
static boolean |
isAssignableFrom(Class<?> from,
Class<?> to) |
static Class<?> |
toNonPrimitiveArray(Class<?> c) |
static Class<?> |
toNonPrimitiveType(Class<?> c) |
static Class<?> |
toPrimitiveArrayType(Class<?> c) |
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.