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 |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
name(TypeDescription instrumentedType)
Names an auxiliary type.
|
String |
toString() |
public SuffixingRandom(String suffix)
suffix
- The suffix to extend to the instrumented type.public String name(TypeDescription instrumentedType)
AuxiliaryType.NamingStrategy
name
in interface AuxiliaryType.NamingStrategy
instrumentedType
- The instrumented type for which an auxiliary type is registered.Copyright © 2014–2016. All rights reserved.