@HashCodeAndEqualsPlugin.Enhance public static class NamingStrategy.Suffixing.BaseNameResolver.ForGivenType extends Object implements NamingStrategy.Suffixing.BaseNameResolver
NamingStrategy.Suffixing.BaseNameResolver.ForFixedValue, NamingStrategy.Suffixing.BaseNameResolver.ForGivenType, NamingStrategy.Suffixing.BaseNameResolver.ForUnnamedType, NamingStrategy.Suffixing.BaseNameResolver.WithCallerSuffix
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 |
---|---|
String |
resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.
|
public ForGivenType(TypeDescription typeDescription)
typeDescription
- The type description which represents the resolved name.public String resolve(TypeDescription typeDescription)
resolve
in interface NamingStrategy.Suffixing.BaseNameResolver
typeDescription
- The type for which the base name is resolved.Copyright © 2014–2024. All rights reserved.