public static enum ToStringPlugin.Enhance.Prefix extends 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 | Method and Description |
---|---|
protected ToStringMethod.PrefixResolver.Default |
getPrefixResolver()
Returns the prefix resolver to use.
|
static ToStringPlugin.Enhance.Prefix |
valueOf(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
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(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 nullprotected ToStringMethod.PrefixResolver.Default getPrefixResolver()
Copyright © 2014–2024. All rights reserved.