asia.redact.bracket.util
Class AccessorMethodGetter
java.lang.Object
asia.redact.bracket.util.AccessorMethodGetter
public class AccessorMethodGetter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
final Class<?> clazz
instance
final Object instance
getterPattern
private final Pattern getterPattern
AccessorMethodGetter
public AccessorMethodGetter(Class<?> clazz,
Object instance)
listGetters
public List<Method> listGetters()
- Return a list of all the "getter" accessors in clazz
Does not return "getClass"
- Returns:
invoke
public CustomKeyWrapper invoke(Method m)
keyify
private String keyify(String getter)
Copyright © 2011-2013 David R. Smith. All Rights Reserved.