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:
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(Plugin.Engine.Source.Element target) Matches a target against this element matcher.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
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 nameNullPointerException
- if the argument is null
-
matches
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.
-