public enum Accessibility extends Enum<Accessibility>
Modifier and Type | Method and Description |
---|---|
static Accessibility |
fromModifiers(Set<Modifier> modifiers) |
String |
getKeyword() |
static Accessibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Accessibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Accessibility PRIVATE
public static final Accessibility DEFAULT
public static final Accessibility PROTECTED
public static final Accessibility PUBLIC
public static Accessibility[] values()
for (Accessibility c : Accessibility.values()) System.out.println(c);
public static Accessibility 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 getKeyword()
public static Accessibility fromModifiers(Set<Modifier> modifiers)
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.