public static enum JSDocInfo.Visibility extends Enum<JSDocInfo.Visibility>
Enum.ordinal() can be used as a
numerical indicator of privacy, where 0 is the most private. This means
that the Enum.compareTo(E) method can be used to
determine if a visibility is more permissive than another.| Enum Constant and Description |
|---|
INHERITED |
PACKAGE |
PRIVATE |
PROTECTED |
PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
static JSDocInfo.Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSDocInfo.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSDocInfo.Visibility PRIVATE
public static final JSDocInfo.Visibility PACKAGE
public static final JSDocInfo.Visibility PROTECTED
public static final JSDocInfo.Visibility PUBLIC
public static final JSDocInfo.Visibility INHERITED
public static JSDocInfo.Visibility[] values()
for (JSDocInfo.Visibility c : JSDocInfo.Visibility.values()) System.out.println(c);
public static JSDocInfo.Visibility 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 nullCopyright © 2009-2015 Google. All Rights Reserved.