Enum Plugin.Engine.Source.Filtering.NoFolderMatcher

java.lang.Object
java.lang.Enum<Plugin.Engine.Source.Filtering.NoFolderMatcher>
net.bytebuddy.build.Plugin.Engine.Source.Filtering.NoFolderMatcher
All Implemented Interfaces:
Serializable, Comparable<Plugin.Engine.Source.Filtering.NoFolderMatcher>, java.lang.constant.Constable, ElementMatcher<Plugin.Engine.Source.Element>
Enclosing class:
Plugin.Engine.Source.Filtering

@Enhance protected static enum Plugin.Engine.Source.Filtering.NoFolderMatcher extends Enum<Plugin.Engine.Source.Filtering.NoFolderMatcher> implements ElementMatcher<Plugin.Engine.Source.Element>
A matcher that removes folders from the iteration.
  • Enum Constant Details

  • Constructor Details

    • NoFolderMatcher

      private NoFolderMatcher()
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • matches

      public boolean matches(@MaybeNull Plugin.Engine.Source.Element target)
      Matches a target against this element matcher.
      Specified by:
      matches in interface ElementMatcher<Plugin.Engine.Source.Element>
      Parameters:
      target - The instance to be matched or null.
      Returns:
      true if the given element is matched by this matcher or false otherwise.