Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.ForInlining.ContextRegistry
java.lang.Object
net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.ContextRegistry
- Enclosing class:
- TypeWriter.Default.ForInlining<U>
A context registry allows to extract auxiliary types from a lazily created implementation context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe implementation context that is used for creating a class ornull
if it was not registered. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the auxiliary types that were registered during class creation.void
setImplementationContext
(Implementation.Context.ExtractableView implementationContext) Registers the implementation context.
-
Field Details
-
implementationContext
The implementation context that is used for creating a class ornull
if it was not registered.
-
-
Constructor Details
-
ContextRegistry
protected ContextRegistry()
-
-
Method Details
-
setImplementationContext
Registers the implementation context.- Parameters:
implementationContext
- The implementation context.
-
getAuxiliaryTypes
Returns the auxiliary types that were registered during class creation. This method must only be called after a class was created.- Returns:
- The auxiliary types that were registered during class creation
-