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)
NamingStrategysubclass in interface NamingStrategysuperClass - 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)
NamingStrategyredefine in interface NamingStrategytypeDescription - The type being redefined.public String rebase(TypeDescription typeDescription)
NamingStrategyrebase in interface NamingStrategytypeDescription - The type being redefined.Copyright © 2014–2016. All rights reserved.