public enum MethodType extends java.lang.Enum<MethodType>
MethodType defines the supported method types used in the Alias functionality| Enum 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 @Nullable MethodType |
get(java.lang.reflect.Method method) |
static MethodType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Nullable public static @Nullable MethodType get(java.lang.reflect.Method method)
Copyright © 2007–2021 Querydsl. All rights reserved.