private static RouteDefinition find ( Map < RouteDefinition , Method > add , Method method ) { if ( add == null || add . size ( ) == 0 ) { return null ; } for ( RouteDefinition additional : add . keySet ( ) ) { Method match = add . get ( additional ) ; if ( isMatching ( method , match ) ) { return additional ; } } return null ; }
Find mathing definition for same method ...