public enum MethodType extends Enum<MethodType>
MethodType
defines the supported method types used in the Alias functionalityEnum Constant and Description |
---|
GET_MAPPED_PATH
__mappedPath invocation
|
GETTER
getter invocation
|
HASH_CODE
hashCode invocation
|
LIST_ACCESS
List#get(int) invocation
|
MAP_ACCESS
Map#get(Object) invocation
|
SCALA_GETTER
Scala getter invocation
|
SCALA_LIST_ACCESS
Scala list apply invocation
|
SCALA_MAP_ACCESS
Scala map apply invocation
|
SIZE
Collection#size() invocation
|
TO_STRING
toString invocation
|
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–2016 Querydsl. All rights reserved.