public enum BeanMethod extends Enum<BeanMethod>
| Enum Constant and Description |
|---|
CALL |
GET |
SET |
SET_BUILDER |
| Modifier and Type | Method and Description |
|---|---|
String |
inferName(ExecutableElement method)
Infer the name of a property from the method.
|
abstract boolean |
matches(EditorTypes types,
ExecutableElement method)
Returns
true if the BeanLikeMethod matches the method. |
static BeanMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static BeanMethod |
which(EditorTypes types,
ExecutableElement method)
Determine which Action a method maps to.
|
public static final BeanMethod GET
public static final BeanMethod SET
public static final BeanMethod SET_BUILDER
public static final BeanMethod CALL
public static BeanMethod[] values()
for (BeanMethod c : BeanMethod.values()) System.out.println(c);
public static BeanMethod 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 BeanMethod which(EditorTypes types, ExecutableElement method)
public String inferName(ExecutableElement method)
public abstract boolean matches(EditorTypes types, ExecutableElement method)
true if the BeanLikeMethod matches the method.Copyright © 2018–2020 The GWT Authors. All rights reserved.