@HashCodeAndEqualsPlugin.Enhance public static class AuxiliaryType.NamingStrategy.SuffixingRandom extends Object implements AuxiliaryType.NamingStrategy
AuxiliaryType.NamingStrategy.SuffixingRandom
Constructor and Description |
---|
SuffixingRandom(String suffix)
Creates a new suffixing random naming strategy.
|
Modifier and Type | Method and Description |
---|---|
String |
name(TypeDescription instrumentedType)
Names an auxiliary type.
|
public SuffixingRandom(String suffix)
suffix
- The suffix to extend to the instrumented type.public String name(TypeDescription instrumentedType)
name
in interface AuxiliaryType.NamingStrategy
instrumentedType
- The instrumented type for which an auxiliary type is registered.Copyright © 2014–2020. All rights reserved.