public interface LoadedTypeInitializer
Modifier and Type | Interface and Description |
---|---|
static class |
LoadedTypeInitializer.Compound
A compound loaded type initializer that combines several type initializers.
|
static class |
LoadedTypeInitializer.ForStaticField
A type initializer for setting a value for a static field.
|
static class |
LoadedTypeInitializer.NoOp
A loaded type initializer that does not do anything.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAlive()
Indicates if this initializer is alive and needs to be invoked.
|
void |
onLoad(Class<?> type)
Callback that is invoked on the creation of an instrumented type.
|
void onLoad(Class<?> type)
type
- The manifestation of the instrumented type.boolean isAlive()
true
if this initializer is alive.Copyright © 2014–2025. All rights reserved.