public static void tryAddPropertyChangeListenerUnchecked(
        Object target, PropertyChangeListener propertyChangeListener)
    {
        Objects.requireNonNull(target, "The target may not be null");
        Objects.requireNonNull(propertyChangeListener, 
            "The propertyChangeListener may not be null");
        if (maintainsPropertyChangeListeners(target.getClass()))
        {
            PropertyChangeUtils.addPropertyChangeListenerUnchecked(
                target, propertyChangeListener);
        }
    }
public static void tryAddPropertyChangeListenerUnchecked ( Object target , PropertyChangeListener propertyChangeListener ) { Objects . requireNonNull ( target , "The target may not be null" ) ; Objects . requireNonNull ( propertyChangeListener , "The propertyChangeListener may not be null" ) ; if ( maintainsPropertyChangeListeners ( target . getClass ( ) ) ) { PropertyChangeUtils . addPropertyChangeListenerUnchecked ( target , propertyChangeListener ) ; } }
Tries to add the given PropertyChangeListener to the given target
object.
If the given target object does not
{@link #maintainsPropertyChangeListeners(Class)
maintain PropertyChangeListeners}, then nothing is done.

@param target The target object
@param propertyChangeListener The PropertyChangeListener to add
@throws IllegalArgumentException If the attempt to invoke the method
for adding the given listener failed.
@throws NullPointerException If any argument is <code>null</code>