Interface PatternPrism


public interface PatternPrism
  • Method Details

    • regexp

      String regexp()
      Returns:
      the regular expression to match
    • flags

      List<String> flags()
      Returns:
      array of RegexFlags considered when resolving the regular expression
    • message

      String message()
      Returns:
      the error message template
    • groups

      List<TypeMirror> groups()
      Returns:
      the error message template
    • isInstance

      static Optional<PatternPrism> isInstance(AnnotationMirror e)
    • isPresent

      static boolean isPresent(Element e)