public static void invokeIfExists(Object obj,String methodName){
  try {
    invoke(obj,methodName);
  }
 catch (  NoSuchMethodException e) {
  }
}

public static void invokeIfExists ( Object obj , String methodName ) { try { invoke ( obj , methodName ) ; } catch ( NoSuchMethodException e ) { } }
invokes the specified setter method if it exists .
