org.netbeans.modules.refactoring.java/1 1.37.0 1

org.netbeans.modules.refactoring.java.api
Enum JavaMoveMembersProperties.Visibility

java.lang.Object
  extended by java.lang.Enum<JavaMoveMembersProperties.Visibility>
      extended by org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties.Visibility
All Implemented Interfaces:
Serializable, Comparable<JavaMoveMembersProperties.Visibility>
Enclosing class:
JavaMoveMembersProperties

public static enum JavaMoveMembersProperties.Visibility
extends Enum<JavaMoveMembersProperties.Visibility>

Used to specify visibility level. It can either be set explicitly, or set to Escalate to automatically raise it to a necessary level.


Enum Constant Summary
ASIS
          As is, keep the current visibility level of the member.
DEFAULT
          Change to, or keep, the visibility the default level.
ESCALATE
          Escalate, automatically raise the visibility to a necessary level, based on usages.
PRIVATE
          Change to, or keep, the visibility private.
PROTECTED
          Change to, or keep, the visibility protected.
PUBLIC
          Change to, or keep, the visibility public.
 
Method Summary
static JavaMoveMembersProperties.Visibility valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JavaMoveMembersProperties.Visibility[] values()
          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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ESCALATE

public static final JavaMoveMembersProperties.Visibility ESCALATE
Escalate, automatically raise the visibility to a necessary level, based on usages.


ASIS

public static final JavaMoveMembersProperties.Visibility ASIS
As is, keep the current visibility level of the member.


PUBLIC

public static final JavaMoveMembersProperties.Visibility PUBLIC
Change to, or keep, the visibility public.


PROTECTED

public static final JavaMoveMembersProperties.Visibility PROTECTED
Change to, or keep, the visibility protected.


DEFAULT

public static final JavaMoveMembersProperties.Visibility DEFAULT
Change to, or keep, the visibility the default level.


PRIVATE

public static final JavaMoveMembersProperties.Visibility PRIVATE
Change to, or keep, the visibility private.

Method Detail

values

public static JavaMoveMembersProperties.Visibility[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JavaMoveMembersProperties.Visibility c : JavaMoveMembersProperties.Visibility.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JavaMoveMembersProperties.Visibility valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

org.netbeans.modules.refactoring.java/1 1.37.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.