private Method findAddRemoveListenerMethod(Class<?> sourceClass,String methodName) throws IntrospectionException {
  try {
    return sourceClass.getMethod(methodName,listenerType);
  }
 catch (  NoSuchMethodException e) {
    return findAddRemoveListnerMethodWithLessCheck(sourceClass,methodName);
  }
catch (  Exception e) {
    throw new IntrospectionException(Messages.getString("beans.31",methodName,listenerType.getName()));
  }
}

private Method findAddRemoveListenerMethod ( Class < ? > sourceClass , String methodName ) throws IntrospectionException { try { return sourceClass . getMethod ( methodName , listenerType ) ; } catch ( NoSuchMethodException e ) { return findAddRemoveListnerMethodWithLessCheck ( sourceClass , methodName ) ; } catch ( Exception e ) { throw new IntrospectionException ( Messages . getString ( "beans.31" , methodName , listenerType . getName ( ) ) ) ; } }
searches for { add | remove } listener methods in the event source . parameter check is also performed .
