public abstract static class NamingStrategy.AbstractBase extends java.lang.Object implements NamingStrategy
NamingStrategy.AbstractBase, NamingStrategy.PrefixingRandom, NamingStrategy.SuffixingRandom| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
name(TypeDescription superClass)
Determines a new name when creating a new type that subclasses the provided type.
|
java.lang.String |
rebase(TypeDescription typeDescription)
Determines a name for the dynamic type when rebasing the provided type.
|
java.lang.String |
redefine(TypeDescription typeDescription)
Determines a name for the dynamic type when redefining the provided type.
|
java.lang.String |
subclass(TypeDescription.Generic superClass)
Determines a new name when creating a new type that subclasses the provided type.
|
public java.lang.String subclass(TypeDescription.Generic superClass)
subclass in interface NamingStrategysuperClass - The super type of the created type.protected abstract java.lang.String name(TypeDescription superClass)
superClass - The super type of the created type.public java.lang.String redefine(TypeDescription typeDescription)
redefine in interface NamingStrategytypeDescription - The type being redefined.public java.lang.String rebase(TypeDescription typeDescription)
rebase in interface NamingStrategytypeDescription - The type being redefined.