public void loadAccessors ( Class < ? > targetClass , MappedField configuredField , MappedField targetField ) { // First checks xml configuration xml . fillMappedField ( configuredClass , configuredField ) . fillMappedField ( targetClass , targetField ) // fill target field with custom methods defined in the configured field . fillOppositeField ( configuredClass , configuredField , targetField ) ; // If no present custom methods in XML, it checks annotations Annotation . fillMappedField ( configuredClass , configuredField ) ; Annotation . fillMappedField ( targetClass , targetField ) ; // fill target field with custom methods defined in the configured field Annotation . fillOppositeField ( configuredClass , configuredField , targetField ) ; }
Fill fields with they custom methods .