public class ReflectionUtils extends Object
Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Field> |
getAllFields(Class<?> cl)
Return all fields of a given class
|
static String |
getGetter(Field field)
Get getter method name of given field
|
static String |
getterMethodName(String fieldName,
boolean isBoolean)
Get getter method name of given fieldName
|
static String |
setterMethodName(String fieldName,
boolean isBoolean)
Get setter method name of given fieldName
|
public static List<Field> getAllFields(Class<?> cl)
cl
- the class to reflect to.public static String setterMethodName(String fieldName, boolean isBoolean)
fieldName
- isBoolean
- public static String getterMethodName(String fieldName, boolean isBoolean)
fieldName
- isBoolean
- Copyright © 2008–2014 JBoss.org. All rights reserved.