protected abstract static class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain extends TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending
TypeInitializer registrations.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain.WithActiveRecord
A code appending initialization handler with a drain that applies an explicit record.
|
protected static class |
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain.WithoutActiveRecord
A code appending initialization handler with a drain that does not apply an explicit record.
|
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrain, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithoutDrainTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.CreatingTypeInitializer.Drain.Default| Modifier and Type | Field and Description |
|---|---|
protected Label |
appended
A label marking the beginning of the appended code.
|
protected Label |
original
A label marking the beginning og the original type initializer's code.
|
annotationValueFilterFactory, frameWriter, instrumentedType, localVariableLength, record, stackSizeapi, mv| Modifier | Constructor and Description |
|---|---|
protected |
WithDrain(MethodVisitor methodVisitor,
TypeDescription instrumentedType,
TypeWriter.MethodPool.Record record,
AnnotationValueFilter.Factory annotationValueFilterFactory,
boolean requireFrames,
boolean expandFrames)
Creates a new appending initialization handler with a drain.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onAfterComplete(Implementation.Context implementationContext)
Invoked after completion of writing the type initializer.
|
protected void |
onComplete(Implementation.Context implementationContext)
Invoked upon completion of writing the type initializer.
|
protected void |
onStart()
Invoked after the user code was visited.
|
void |
visitEnd() |
apply, complete, of, visitCode, visitFrame, visitMaxsgetDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitFieldInsn, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsnprotected final Label appended
protected final Label original
protected WithDrain(MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames)
methodVisitor - The underlying method visitor.instrumentedType - The instrumented type.record - The method pool record for the type initializer.annotationValueFilterFactory - The used annotation value filter factory.requireFrames - true if the visitor is required to add frames.expandFrames - true if the visitor is required to expand any added frame.protected void onStart()
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.AppendingonStart in class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appendingpublic void visitEnd()
visitEnd in class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appendingprotected void onComplete(Implementation.Context implementationContext)
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.AppendingonComplete in class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.AppendingimplementationContext - The implementation context to use.protected abstract void onAfterComplete(Implementation.Context implementationContext)
implementationContext - The implementation context to use.Copyright © 2014–2025. All rights reserved.