}
this.instance.setFieldsForTypes( modelMap );
for ( String fieldName : this.fieldTypesField.keySet() ) {
FieldInfo field = this.fieldTypesField.get( fieldName );
if ( field != null ) {
String genericType = obtainGenericType( field.getGenericType() );
if ( genericType != null ) {
this.instance.putParametricFieldType( fieldName,
genericType );
}
Class< ? > fieldClass = field.getType();
if ( fieldClass.isEnum() ) {
Field[] flds = fieldClass.getDeclaredFields();
List<String> listEnum = new ArrayList<String>();
int i = 0;
for ( Field f : flds ) {