public static enum ModifierMatcher.Mode extends Enum<ModifierMatcher.Mode>
ModifierMatcher
.Enum Constant and Description |
---|
BRIDGE
Matches an element that is considered a bridge method.
|
FINAL
Matches an element that is considered
final . |
NATIVE
Matches an element that is considered
native . |
PRIVATE
Matches an element that is considered
private . |
PROTECTED
Matches an element that is considered
protected . |
PUBLIC
Matches an element that is considered
public . |
STATIC
Matches an element that is considered
static . |
STRICT
Matches an element that is considered
strict . |
SYNCHRONIZED
Matches an element that is considered
synchronized . |
SYNTHETIC
Matches an element that is considered
synthetic . |
VAR_ARGS
Matches an element that is considered to be varargs.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getDescription()
Returns the textual description of this mode.
|
protected int |
getModifiers()
Returns the modifiers to match by this mode.
|
String |
toString() |
static ModifierMatcher.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifierMatcher.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifierMatcher.Mode PUBLIC
public
.public static final ModifierMatcher.Mode PROTECTED
protected
.public static final ModifierMatcher.Mode PRIVATE
private
.public static final ModifierMatcher.Mode FINAL
final
.public static final ModifierMatcher.Mode STATIC
static
.public static final ModifierMatcher.Mode SYNCHRONIZED
synchronized
.public static final ModifierMatcher.Mode NATIVE
native
.public static final ModifierMatcher.Mode STRICT
strict
.public static final ModifierMatcher.Mode VAR_ARGS
public static final ModifierMatcher.Mode SYNTHETIC
synthetic
.public static final ModifierMatcher.Mode BRIDGE
public static ModifierMatcher.Mode[] values()
for (ModifierMatcher.Mode c : ModifierMatcher.Mode.values()) System.out.println(c);
public static ModifierMatcher.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected String getDescription()
protected int getModifiers()
public String toString()
toString
in class Enum<ModifierMatcher.Mode>
Copyright © 2014–2015. All rights reserved.