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 |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
String |
toString() |
public ForFixedValue(String name)
name - The fixed namepublic String resolve(TypeDescription typeDescription)
NamingStrategy.SuffixingRandom.BaseNameResolverresolve in interface NamingStrategy.SuffixingRandom.BaseNameResolvertypeDescription - The type for which the base name is resolved.Copyright © 2014–2016. All rights reserved.