code: public JavaWriter beginMethod(String returnType, String name, Set<Modifier> modifiers,
        String... parameters) throws IOException {
      return beginMethod(returnType, name, modifiers, Arrays.asList(parameters), null);
    }
docs: Emit a method declaration.
  
  <p>A {@code null} return type may be used to indicate a constructor, but
  {@link #beginConstructor(Set, String...)} should be preferred. This behavior may be removed in
  a future release.
  
  @param returnType the method's return type, or null for constructors
  @param name the method name, or the fully qualified class name for constructors.
  @param modifiers the set of modifiers to be applied to the method
  @param parameters alternating parameter types and names.