Package net.bytebuddy
Interface NamingStrategy.SuffixingRandom.BaseNameResolver
-
- All Known Implementing Classes:
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue,NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType,NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
- Enclosing class:
- NamingStrategy.SuffixingRandom
public static interface NamingStrategy.SuffixingRandom.BaseNameResolverA base name resolver is responsible for resolving a name onto which the suffix is appended.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValueA base name resolver that simply returns a fixed value.static classNamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenTypeUses a specific type's name as the resolved name.static classNamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedTypeUses the unnamed type's super type's name as the resolved name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringresolve(TypeDescription typeDescription)Resolves the base name for a given type description.
-
-
-
Method Detail
-
resolve
java.lang.String resolve(TypeDescription typeDescription)
Resolves the base name for a given type description.- Parameters:
typeDescription- The type for which the base name is resolved.- Returns:
- The base name for the given type.
-
-