public static enum NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType extends 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 |
|---|---|
String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
String |
toString() |
static NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType |
valueOf(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(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 String resolve(TypeDescription typeDescription)
NamingStrategy.SuffixingRandom.BaseNameResolverresolve in interface NamingStrategy.SuffixingRandom.BaseNameResolvertypeDescription - The type for which the base name is resolved.public String toString()
toString in class Enum<NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType>Copyright © 2014–2016. All rights reserved.