public enum MethodScope extends Enum<MethodScope>
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesNotMatchScope(Method method) |
boolean |
isClass() |
boolean |
isObject() |
boolean |
matchesScopeOf(Method method) |
static MethodScope |
scopeFor(Method method) |
static MethodScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodScope CLASS
public static final MethodScope OBJECT
public static MethodScope[] values()
for (MethodScope c : MethodScope.values()) System.out.println(c);
public static MethodScope 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 boolean isClass()
public boolean isObject()
public boolean doesNotMatchScope(Method method)
public boolean matchesScopeOf(Method method)
public static MethodScope scopeFor(Method method)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.