public static class ByteBuddyUtils.InjectPackageStrategy
extends net.bytebuddy.NamingStrategy.AbstractBase
We always inject the generator classes in the same same package as the user's target class. This way, if the class fields or methods are package private, our generated class can still access them.
Constructor and Description |
---|
InjectPackageStrategy(java.lang.Class<?> baseType) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
name(net.bytebuddy.description.type.TypeDescription superClass) |