Class MethodFormat

java.lang.Object
io.cucumber.java.MethodFormat

final class MethodFormat extends Object
Helper class for formatting a method signature to a shorter form.
  • Field Details

  • Constructor Details

    • MethodFormat

      private MethodFormat(String format)
      Parameters:
      format - the format string to use. There are several pattern tokens that can be used:
      • %M: Modifiers
      • %qr: Qualified return type
      • %r: Unqualified return type
      • %qc: Qualified class
      • %c: Unqualified class
      • %m: Method name
      • %qa: Qualified arguments
      • %a: Unqualified arguments
      • %qe: Qualified exceptions
      • %e: Unqualified exceptions
      • %s: Code source
  • Method Details