This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.lang.model.element
enum Modifier

java.lang.Object extended by java.lang.Enum extended by javax.lang.model.element.Modifier
All Implemented Interfaces:
Serializable, Comparable

public final enum Modifier
extends Enum

Represents a modifier on a program element such as a class, method, or field.

Not all modifiers are applicable to all kinds of elements. When two or more modifiers appear in the source code of an element then it is customary, though not required, that they appear in the same order as the constants listed in the detail section below.

Note that it is possible additional modifiers will be added in future versions of the platform.


Field Summary
static Modifier ABSTRACT
          The modifier
static Modifier FINAL
          The modifier
static Modifier NATIVE
          The modifier
static Modifier PRIVATE
          The modifier
static Modifier PROTECTED
          The modifier
static Modifier PUBLIC
          The modifier
static Modifier STATIC
          The modifier
static Modifier STRICTFP
          The modifier
static Modifier SYNCHRONIZED
          The modifier
static Modifier TRANSIENT
          The modifier
static Modifier VOLATILE
          The modifier
 
Method Summary
 String

          Returns this modifier's name in lowercase.
static Modifier

          
static Modifier[]

          
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABSTRACT

public static final Modifier ABSTRACT
The modifier {@code abstract}

FINAL

public static final Modifier FINAL
The modifier {@code final}

NATIVE

public static final Modifier NATIVE
The modifier {@code native}

PRIVATE

public static final Modifier PRIVATE
The modifier {@code private}

PROTECTED

public static final Modifier PROTECTED
The modifier {@code protected}

PUBLIC

public static final Modifier PUBLIC
The modifier {@code public}

STATIC

public static final Modifier STATIC
The modifier {@code static}

STRICTFP

public static final Modifier STRICTFP
The modifier {@code strictfp}

SYNCHRONIZED

public static final Modifier SYNCHRONIZED
The modifier {@code synchronized}

TRANSIENT

public static final Modifier TRANSIENT
The modifier {@code transient}

VOLATILE

public static final Modifier VOLATILE
The modifier {@code volatile}
Method Detail

toString

public String toString()
Returns this modifier's name in lowercase.

Overrides:
toString in class Enum

valueOf

public static Modifier valueOf(String name)
Parameters:
name

values

public static Modifier[] values()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.