Class ByteBuddyUtils.InjectPackageStrategy
java.lang.Object
net.bytebuddy.NamingStrategy.AbstractBase
org.apache.beam.sdk.schemas.utils.ByteBuddyUtils.InjectPackageStrategy
- All Implemented Interfaces:
NamingStrategy
- Enclosing class:
ByteBuddyUtils
A naming strategy for ByteBuddy classes.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.NamingStrategy
NamingStrategy.AbstractBase, NamingStrategy.PrefixingRandom, NamingStrategy.Suffixing, NamingStrategy.SuffixingRandom
-
Field Summary
Fields inherited from interface net.bytebuddy.NamingStrategy
BYTE_BUDDY_RENAME_PACKAGE, NO_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.bytebuddy.NamingStrategy.AbstractBase
rebase, redefine, subclass
-
Constructor Details
-
InjectPackageStrategy
-
-
Method Details
-
name
- Specified by:
name
in classNamingStrategy.AbstractBase
-