@HashCodeAndEqualsPlugin.Enhance public static class NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue 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 java.lang.String |
name
The fixed base name.
|
| Constructor and Description |
|---|
ForFixedValue(java.lang.String name)
Creates a new base name resolver for a fixed name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
public ForFixedValue(java.lang.String name)
name - The fixed namepublic java.lang.String resolve(TypeDescription typeDescription)
resolve in interface NamingStrategy.SuffixingRandom.BaseNameResolvertypeDescription - The type for which the base name is resolved.