public static Object getFieldInstance ( List chids , Field f ) { if ( Set . class . isAssignableFrom ( f . getType ( ) ) ) { Set col = new HashSet ( chids ) ; return col ; } return chids ; }
Gets the field instance .