private static Method getNamedPCLAdder ( Class beanClass ) { try { return beanClass . getMethod ( "addPropertyChangeListener" , NAMED_PCL_PARAMS ) ; } catch ( NoSuchMethodException e ) { return null ; } }
Looks up and returns the method that adds a PropertyChangeListener for a specified property name to instances of the given class .