public static enum ToStringPlugin.Enhance.Prefix extends java.lang.Enum<ToStringPlugin.Enhance.Prefix>
Enum Constant and Description |
---|
CANONICAL
Determines the use of the canonical class name as a prefix.
|
FULLY_QUALIFIED
Determines the use of a fully qualified class name as a prefix.
|
SIMPLE
Determines the use of the simple class name as a prefix.
|
Modifier and Type | Field and Description |
---|---|
private ToStringMethod.PrefixResolver.Default |
prefixResolver
The prefix resolver to use.
|
Modifier and Type | Method and Description |
---|---|
protected ToStringMethod.PrefixResolver.Default |
getPrefixResolver()
Returns the prefix resolver to use.
|
static ToStringPlugin.Enhance.Prefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ToStringPlugin.Enhance.Prefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToStringPlugin.Enhance.Prefix FULLY_QUALIFIED
public static final ToStringPlugin.Enhance.Prefix CANONICAL
public static final ToStringPlugin.Enhance.Prefix SIMPLE
private final ToStringMethod.PrefixResolver.Default prefixResolver
public static ToStringPlugin.Enhance.Prefix[] values()
for (ToStringPlugin.Enhance.Prefix c : ToStringPlugin.Enhance.Prefix.values()) System.out.println(c);
public static ToStringPlugin.Enhance.Prefix 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 nullprotected ToStringMethod.PrefixResolver.Default getPrefixResolver()