public MethodMember getByDescriptor ( String name , String descriptor ) { for ( MethodMember existingMethod : methods ) { if ( existingMethod . getName ( ) . equals ( name ) && existingMethod . getDescriptor ( ) . equals ( descriptor ) ) { return existingMethod ; } } return null ; }
Check if this descriptor defines a method with the specified name and descriptor . Return the method if it is found . Modifiers generic signature and exceptions are ignored in this search .