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.BaseNameResolver
A 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 class
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue
A base name resolver that simply returns a fixed value.static class
NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType
Uses a specific type's name as the resolved name.static class
NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
Uses 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.String
resolve(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.
-
-