public enum AccessModifier extends Enum<AccessModifier>
Modifier and Type | Method and Description |
---|---|
static AccessModifier |
fromFieldBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding fieldBinding) |
static AccessModifier |
fromMethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding methodBinding) |
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.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf, valueOf
$isInstance
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 fromFieldBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding fieldBinding)
public static AccessModifier fromMethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding methodBinding)
Copyright © 2018. All rights reserved.