Priority allows certain methods to be given priority over others. This can be used in certain circumstances when it is necessary to disambiguate the selection of a setter method or an add method.
The default priority of a method is 0. Therefore, if you want a method to have a higher priority, set it to some number greater than 0. You can also make a method have a lower priority than other methods by setting the priority to a negative number.