| Modifier and Type | Class and Description |
|---|---|
| public static enum | ModifierMatcher.Mode
Determines the type of modifier to be matched by a |
| Modifier and Type | Field and Description |
|---|---|
| private final ModifierMatcher. | mode
The matching mode to apply by this modifier matcher. |
| Access | Constructor and Description |
|---|---|
| public | ModifierMatcher(ModifierMatcher.
The match mode to apply to the matched element's modifier. modeCreates a new element matcher that matches an element by its modifier. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | doMatch(T
The instance to be matched. target)Implements abstract net. null.
|
| public static < The type of the matched entity. T extends ModifierReviewable> ElementMatcher. | Returns: A matcher that matches methods of the provided sort.The match mode to apply to the matched element's modifier. modeReturns a new element matcher that matches an element by its modifier. |
| public String |
| mode | back to summary |
|---|---|
| private final ModifierMatcher. The matching mode to apply by this modifier matcher. | |
| ModifierMatcher | back to summary |
|---|---|
| public ModifierMatcher(ModifierMatcher. Creates a new element matcher that matches an element by its modifier.
| |
| doMatch | back to summary |
|---|---|
| protected boolean doMatch(T target) Implements abstract net. Doc from net. Matches the supplied value if it was found not to be
| |
| of | back to summary |
|---|---|
| public static <T extends ModifierReviewable> ElementMatcher. Returns a new element matcher that matches an element by its modifier.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
net.bytebuddy.matcher.ModifierMatcher .
| Modifier and Type | Field and Description |
|---|---|
| public static final ModifierMatcher. | ABSTRACT
Matches an element that is considered |
| public static final ModifierMatcher. | ANNOTATION
Matches a type that is considered an annotation. |
| public static final ModifierMatcher. | BRIDGE
Matches an element that is considered a bridge method. |
| private final String | description
The textual representation of this instance's matching mode. |
| public static final ModifierMatcher. | ENUMERATION
Matches a type or field for describing an enumeration. |
| public static final ModifierMatcher. | FINAL
Matches an element that is considered |
| public static final ModifierMatcher. | INTERFACE
Matches a type that is considered an interface. |
| public static final ModifierMatcher. | MANDATED
Matches a mandated parameter. |
| private final ModifierMatcher | matcher
The canonical matcher instance. |
| private final int | modifiers
The mask of the modifier to match. |
| public static final ModifierMatcher. | NATIVE
Matches an element that is considered |
| public static final ModifierMatcher. | PRIVATE
Matches an element that is considered |
| public static final ModifierMatcher. | PROTECTED
Matches an element that is considered |
| public static final ModifierMatcher. | PUBLIC
Matches an element that is considered |
| public static final ModifierMatcher. | STATIC
Matches an element that is considered |
| public static final ModifierMatcher. | STRICT
Matches an element that is considered |
| public static final ModifierMatcher. | SYNCHRONIZED
Matches an element that is considered |
| public static final ModifierMatcher. | SYNTHETIC
Matches an element that is considered |
| public static final ModifierMatcher. | TRANSIENT
Matches a transient field. |
| public static final ModifierMatcher. | VAR_ARGS
Matches an element that is considered to be varargs. |
| public static final ModifierMatcher. | VOLATILE
Matches a volatile field. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: The textual description of this mode.Returns the textual description of this mode. |
| protected ModifierMatcher | Returns: A reusable matcher for this modifier sort.Returns a reusable matcher for this modifier sort. |
| protected int | Returns: The modifiers to match by this mode.Returns the modifiers to match by this mode. |
| public static ModifierMatcher. | |
| public static ModifierMatcher. |
| ABSTRACT | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| ANNOTATION | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a type that is considered an annotation. | |
| BRIDGE | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered a bridge method. | |
| description | back to summary |
|---|---|
| private final String description The textual representation of this instance's matching mode. | |
| ENUMERATION | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a type or field for describing an enumeration. | |
| FINAL | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| INTERFACE | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a type that is considered an interface. | |
| MANDATED | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a mandated parameter. | |
| matcher | back to summary |
|---|---|
| private final ModifierMatcher<?> matcher The canonical matcher instance. | |
| modifiers | back to summary |
|---|---|
| private final int modifiers The mask of the modifier to match. | |
| NATIVE | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| PRIVATE | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| PROTECTED | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| PUBLIC | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| STATIC | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| STRICT | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| SYNCHRONIZED | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| SYNTHETIC | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered | |
| TRANSIENT | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a transient field. | |
| VAR_ARGS | back to summary |
|---|---|
| public static final ModifierMatcher. Matches an element that is considered to be varargs. | |
| VOLATILE | back to summary |
|---|---|
| public static final ModifierMatcher. Matches a volatile field. | |
| Mode | back to summary |
|---|---|
| private Mode(int modifiers, String description) Creates a new modifier matcher mode.
| |
| getDescription | back to summary |
|---|---|
| protected String getDescription() Returns the textual description of this mode.
| |
| getMatcher | back to summary |
|---|---|
| protected ModifierMatcher Returns a reusable matcher for this modifier sort.
| |
| getModifiers | back to summary |
|---|---|
| protected int getModifiers() Returns the modifiers to match by this mode.
| |
| valueOf | back to summary |
|---|---|
| public static ModifierMatcher. | |
| values | back to summary |
|---|---|
| public static ModifierMatcher. | |