public enum VisitorConfig extends java.lang.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 |
valueOf(java.lang.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(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 nullpublic static VisitorConfig get(boolean fields, boolean methods)
public boolean visitConstructors()
public boolean visitFieldProperties()
public boolean visitMethodProperties()
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.