@HashCodeAndEqualsPlugin.Enhance public static class NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType extends java.lang.Object implements NamingStrategy.SuffixingRandom.BaseNameResolver
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue, NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType, NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
Modifier and Type | Field and Description |
---|---|
private TypeDescription |
typeDescription
The type description which represents the resolved name.
|
Constructor and Description |
---|
ForGivenType(TypeDescription typeDescription)
Creates a new base name resolver that resolves a using the name of a given type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
private final TypeDescription typeDescription
public ForGivenType(TypeDescription typeDescription)
typeDescription
- The type description which represents the resolved name.public java.lang.String resolve(TypeDescription typeDescription)
resolve
in interface NamingStrategy.SuffixingRandom.BaseNameResolver
typeDescription
- The type for which the base name is resolved.