public void addMethod(MethodInfo minfo) throws DuplicateMemberException {
  testExistingMethod(minfo);
  methods.add(minfo);
}

public void addMethod ( MethodInfo minfo ) throws DuplicateMemberException { testExistingMethod ( minfo ) ; methods . add ( minfo ) ; }
appends a method to the class . if there is a bridge method with the same name and signature , then the bridge method is removed before a new method is added .
