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