* Returns a FieldPropertyInfo instance for the given field.
*/
static synchronized FieldPropertyInfo fieldPropertyFor(Class<?> type, Field field,
Configuration configuration, String name) {
Integer hashCode = hashCodeFor(type, field.getName(), configuration);
FieldPropertyInfo fieldPropertyInfo = (FieldPropertyInfo) cache.get(hashCode);
if (fieldPropertyInfo == null) {
fieldPropertyInfo = new FieldPropertyInfo(type, field, name);
cache.put(hashCode, fieldPropertyInfo);
}
return fieldPropertyInfo;
}