Qwylt

java.lang.module
Enum Import.Access

java.lang.Object
  extended by java.lang.Enum<Import.Access>
      extended by java.lang.module.Import.Access
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Import.Access>
Enclosing class:
Import

public static enum Import.Access
extends java.lang.Enum<Import.Access>

Access qualifier.


Enum Constant Summary
LAZY
          A lazy import is both optional and private.
OPTIONAL
          An optional import may be ignored if no suitable candidate can be found, and is private (i.e.
PRIVATE
          A private import is required and will not be re-exported.
PUBLIC
          A public import is required and will be re-exported.
 
Method Summary
static Import.Access valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Import.Access[] 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

PUBLIC

public static final Import.Access PUBLIC
A public import is required and will be re-exported.


PRIVATE

public static final Import.Access PRIVATE
A private import is required and will not be re-exported.


OPTIONAL

public static final Import.Access OPTIONAL
An optional import may be ignored if no suitable candidate can be found, and is private (i.e. will not be re-exported).


LAZY

public static final Import.Access LAZY
A lazy import is both optional and private. Resolution, if possible, will occur during runtime.

Method Detail

values

public static Import.Access[] 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 (Import.Access c : Import.Access.values())
    System.out.println(c);

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

valueOf

public static Import.Access valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Qwylt

Send comments or questions to Bryan Atsatt