public static interface TypeInitializer.Drain
| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeInitializer.Drain.Default
A default implementation of a type initializer drain that creates a initializer method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
TypeInitializer typeInitializer,
Implementation.Context implementationContext)
Applies the drain.
|
void apply(ClassVisitor classVisitor, TypeInitializer typeInitializer, Implementation.Context implementationContext)
classVisitor - The class visitor to apply the initializer to.typeInitializer - The type initializer to write.implementationContext - The corresponding implementation context.Copyright © 2014–2025. All rights reserved.