com.ochafik.lang.reflect
Class GettersAndSettersHelper
java.lang.Object
com.ochafik.lang.reflect.GettersAndSettersHelper
public class GettersAndSettersHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gettersAndSetters
public final Map<String,GettersAndSettersHelper.GetterAndSetterInfo> gettersAndSetters
GettersAndSettersHelper
public GettersAndSettersHelper(Class<?> type,
GettersAndSettersHelper.FieldGetter fieldGetter)
getFieldNames
public Set<String> getFieldNames()
getGetter
public Method getGetter(String fieldName)
getSetter
public Method getSetter(String fieldName)
getFieldType
public Type getFieldType(String fieldName)
assertConsistentPair
public void assertConsistentPair(GettersAndSettersHelper.GetterAndSetterInfo p)
getOrCreatePair
protected GettersAndSettersHelper.GetterAndSetterInfo getOrCreatePair(String fieldName)
Copyright © 2009. All Rights Reserved.