Package net.bytebuddy.build
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:
java.io.Serializable
,java.lang.Comparable<Plugin.Engine.Source.Filtering.NoFolderMatcher>
,ElementMatcher<Plugin.Engine.Source.Element>
- Enclosing class:
- Plugin.Engine.Source.Filtering
@Enhance protected static enum Plugin.Engine.Source.Filtering.NoFolderMatcher extends java.lang.Enum<Plugin.Engine.Source.Filtering.NoFolderMatcher> implements ElementMatcher<Plugin.Engine.Source.Element>
A matcher that removes folders from the iteration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
NoFolderMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Plugin.Engine.Source.Element target)
Matches a target against this element matcher.static Plugin.Engine.Source.Filtering.NoFolderMatcher
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Plugin.Engine.Source.Filtering.NoFolderMatcher[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Plugin.Engine.Source.Filtering.NoFolderMatcher INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Plugin.Engine.Source.Filtering.NoFolderMatcher[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Plugin.Engine.Source.Filtering.NoFolderMatcher c : Plugin.Engine.Source.Filtering.NoFolderMatcher.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Plugin.Engine.Source.Filtering.NoFolderMatcher valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.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 interfaceElementMatcher<Plugin.Engine.Source.Element>
- Parameters:
target
- The instance to be matched ornull
.- Returns:
true
if the given element is matched by this matcher orfalse
otherwise.
-
-