Package net.bytebuddy.dynamic.scaffold
Interface TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler
- All Known Implementing Classes:
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain.WithActiveRecord,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain.WithoutActiveRecord,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithoutDrain,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithoutDrain.WithActiveRecord,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithoutDrain.WithoutActiveRecord,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Creating
- Enclosing class:
TypeWriter.Default.ForInlining.WithFullProcessing<V>
protected static interface TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler
An initialization handler is responsible for handling the creation of the type initializer.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn initialization handler that appends code to a previously visited type initializer.static classAn initialization handler that creates a new type initializer. -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context.ExtractableView implementationContext) Invoked upon completion of writing the instrumented type.
-
Method Details
-
complete
void complete(org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context.ExtractableView implementationContext) Invoked upon completion of writing the instrumented type.- Parameters:
classVisitor- The class visitor to write any methods to.implementationContext- The implementation context to use.
-