public static enum ModifierMatcher.Mode extends Enum<ModifierMatcher.Mode>
ModifierMatcher
.Enum Constant and Description |
---|
ABSTRACT
Matches an element that is considered
abstract . |
ANNOTATION
Matches a type that is considered an annotation.
|
BRIDGE
Matches an element that is considered a bridge method.
|
ENUMERATION
Matches a type or field for describing an enumeration.
|
FINAL
Matches an element that is considered
final . |
INTERFACE
Matches a type that is considered an interface.
|
MANDATED
Matches a mandated parameter.
|
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 . |
TRANSIENT
Matches a transient field.
|
VAR_ARGS
Matches an element that is considered to be varargs.
|
VOLATILE
Matches a volatile field.
|
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.
|
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 final ModifierMatcher.Mode ABSTRACT
abstract
.public static final ModifierMatcher.Mode INTERFACE
public static final ModifierMatcher.Mode ANNOTATION
public static final ModifierMatcher.Mode VOLATILE
public static final ModifierMatcher.Mode TRANSIENT
public static final ModifierMatcher.Mode MANDATED
public static final ModifierMatcher.Mode ENUMERATION
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()
Copyright © 2014–2020. All rights reserved.