Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Modifier> com.sun.mirror.declaration.Modifier
Modifier
.
@Deprecated public enum Modifier extends Enum<Modifier>
Represents a modifier on the declaration of a program element such as a class, method, or field.
Not all modifiers are applicable to all kinds of declarations. When two or more modifiers appear in the source code of a declaration, then it is customary, though not required, that they appear in the same order as the constants listed in the detail section below.
Enum Constant and Description |
---|
ABSTRACT
Deprecated. The modifier abstract |
FINAL
Deprecated. The modifier final |
NATIVE
Deprecated. The modifier native |
PRIVATE
Deprecated. The modifier private |
PROTECTED
Deprecated. The modifier protected |
PUBLIC
Deprecated. The modifier public |
STATIC
Deprecated. The modifier static |
STRICTFP
Deprecated. The modifier strictfp |
SYNCHRONIZED
Deprecated. The modifier synchronized |
TRANSIENT
Deprecated. The modifier transient |
VOLATILE
Deprecated. The modifier volatile |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Deprecated. Returns this modifier's name in lowercase. |
static Modifier |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static Modifier[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Modifier PUBLIC
public static final Modifier PROTECTED
public static final Modifier PRIVATE
public static final Modifier ABSTRACT
public static final Modifier STATIC
public static final Modifier FINAL
public static final Modifier TRANSIENT
public static final Modifier VOLATILE
public static final Modifier SYNCHRONIZED
public static final Modifier NATIVE
public static final Modifier STRICTFP
Method Detail |
---|
public static Modifier[] values()
for (Modifier c : Modifier.values()) System.out.println(c);
public static Modifier 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 nullpublic String toString()
toString
in class Enum<Modifier>
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright © 2004, 2010, Oracle Corporation. All rights reserved.