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

public static class ByteBuddyUtils.InjectPackageStrategy extends NamingStrategy.AbstractBase
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.