@HashCodeAndEqualsPlugin.Enhance public static class NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue extends Object implements NamingStrategy.SuffixingRandom.BaseNameResolver
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue, NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType, NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType| Constructor and Description |
|---|
ForFixedValue(String name)
Creates a new base name resolver for a fixed name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
public ForFixedValue(String name)
name - The fixed namepublic String resolve(TypeDescription typeDescription)
resolve in interface NamingStrategy.SuffixingRandom.BaseNameResolvertypeDescription - The type for which the base name is resolved.Copyright © 2014–2019. All rights reserved.