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.
|
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)
resolve
in interface NamingStrategy.SuffixingRandom.BaseNameResolver
typeDescription
- The type for which the base name is resolved.Copyright © 2014–2019. All rights reserved.