public enum MethodType extends Enum<MethodType>
Enum Constant and Description |
---|
GET_MAPPED_PATH |
GETTER |
HASH_CODE |
LIST_ACCESS |
MAP_ACCESS |
SCALA_GETTER |
SCALA_LIST_ACCESS |
SCALA_MAP_ACCESS |
SIZE |
TO_STRING |
Modifier and Type | Method and Description |
---|---|
static MethodType |
get(Method method) |
static MethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodType GET_MAPPED_PATH
public static final MethodType GETTER
public static final MethodType HASH_CODE
public static final MethodType LIST_ACCESS
public static final MethodType MAP_ACCESS
public static final MethodType SIZE
public static final MethodType TO_STRING
public static final MethodType SCALA_GETTER
public static final MethodType SCALA_LIST_ACCESS
public static final MethodType SCALA_MAP_ACCESS
public static MethodType[] values()
for (MethodType c : MethodType.values()) System.out.println(c);
public static MethodType 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 null@Nullable public static MethodType get(Method method)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.