public enum VisitorConfig extends Enum<VisitorConfig>
Enum Constant and Description |
---|
ALL
visit both fields and getters
|
FIELDS_ONLY
visit fields only
|
METHODS_ONLY
visit methods only
|
NONE
visit none
|
Modifier and Type | Method and Description |
---|---|
static VisitorConfig |
get(boolean fields,
boolean methods) |
static VisitorConfig |
get(boolean fields,
boolean methods,
VisitorConfig defaultConfig) |
static VisitorConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitorConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
visitConstructors() |
boolean |
visitFieldProperties() |
boolean |
visitMethodProperties() |
public static final VisitorConfig ALL
public static final VisitorConfig FIELDS_ONLY
public static final VisitorConfig METHODS_ONLY
public static final VisitorConfig NONE
public static VisitorConfig[] values()
for (VisitorConfig c : VisitorConfig.values()) System.out.println(c);
public static VisitorConfig 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 VisitorConfig get(boolean fields, boolean methods)
public static VisitorConfig get(boolean fields, boolean methods, VisitorConfig defaultConfig)
public boolean visitConstructors()
public boolean visitFieldProperties()
public boolean visitMethodProperties()
Copyright © 2007–2015 Mysema Ltd. All rights reserved.