Record Class RPCGenerationContext.AdditionalInstanceFactoryField

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.network.rpc.defaults.generation.RPCGenerationContext.AdditionalInstanceFactoryField
Record Components:
name - the name of the field.
targetType - the target type that is being constructed by the factory.
instanceFactory - the instance factory.
Enclosing class:
RPCGenerationContext

private static record RPCGenerationContext.AdditionalInstanceFactoryField(@NonNull String name, @NonNull Class<?> targetType, @NonNull RPCInternalInstanceFactory instanceFactory) extends Record
AdditionalInstanceFactoryField relies on preview features of the Java platform:
Programs can only use AdditionalInstanceFactoryField when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A field that holds an additional instance factory that is accessed to allocate instances of chain classes.
Since:
4.0