public static enum NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType extends java.lang.Enum<NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType> implements NamingStrategy.SuffixingRandom.BaseNameResolver
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue, NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType, NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
static NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType INSTANCE
public static NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType[] values()
for (NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType c : NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType.values()) System.out.println(c);
public static NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType 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 java.lang.String resolve(TypeDescription typeDescription)
resolve
in interface NamingStrategy.SuffixingRandom.BaseNameResolver
typeDescription
- The type for which the base name is resolved.