code: public static Transformer<MethodDescription> withModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) {
              return new ForMethod(new MethodModifierTransformer(ModifierContributor.Resolver.of(modifierContributors)));
          }
docs: Creates a transformer that enforces the supplied modifier contributors. All ranges of each contributor is first cleared and then overridden
  by the specified modifiers in the order they are supplied.
  
  @param modifierContributors The modifier contributors in their application order.
  @return A method transformer where each method's modifiers are adapted to the given modifiers.