Method function ( Method arg0 , Class < ? > arg1 ) { Method loc0 = ClassUtils . getMostSpecificMethod ( arg0 , arg1 ) ; if ( loc0 == null ) { return null ; } ReflectionUtils . makeAccessible ( loc0 ) ; return loc0 ; }
looks up the most specific method for the given method and type and returns an accessible version of discovered method if found . concode_field_sep String FIND_ONE concode_elem_sep Method findAllMethod concode_elem_sep Method findOneMethod concode_elem_sep Method saveMethod concode_elem_sep String DELETE concode_elem_sep String SAVE concode_elem_sep String FIND_ALL concode_elem_sep Method deleteMethod concode_field_sep Method getFindAllMethod concode_elem_sep boolean hasDelete concode_elem_sep Method getSaveMethod concode_elem_sep Method selectMostSuitableFindOneMethod concode_elem_sep Method selectMostSuitableFindAllMethod concode_elem_sep Method selectMostSuitableDeleteMethod concode_elem_sep boolean hasSaveMethod concode_elem_sep Method getDeleteMethod concode_elem_sep boolean hasFindAllMethod concode_elem_sep boolean hasFindOneMethod concode_elem_sep Method getFindOneMethod concode_elem_sep Method selectMostSuitableSaveMethod