public static class NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType extends Object implements NamingStrategy.SuffixingRandom.BaseNameResolver
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue, NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType, NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType| 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 |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
String |
toString() |
public ForGivenType(TypeDescription typeDescription)
typeDescription - The type description which represents the resolved name.public 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.