public enum AccessModifier extends Enum<AccessModifier>
Modifier and Type | Method and Description |
---|---|
static AccessModifier |
fromMethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding b) |
static AccessModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessModifier PUBLIC
public static final AccessModifier PROTECTED
public static final AccessModifier DEFAULT
public static final AccessModifier PRIVATE
public static AccessModifier[] values()
for (AccessModifier c : AccessModifier.values()) System.out.println(c);
public static AccessModifier 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 static AccessModifier fromMethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding b)
Copyright © 2018. All rights reserved.