public static class TypeInitializer.Compound extends Object implements TypeInitializer, Serializable
TypeInitializer.Compound, TypeInitializer.NoOp
Constructor and Description |
---|
Compound(List<? extends TypeInitializer> typeInitializers)
Creates a new compound type initializer.
|
Compound(TypeInitializer... typeInitializer)
Creates a new compound type initializer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
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.
|
String |
toString() |
public Compound(TypeInitializer... typeInitializer)
typeInitializer
- A number of type initializers in their invocation order.public Compound(List<? extends TypeInitializer> typeInitializers)
typeInitializers
- A number of type initializers in their invocation order.public void onLoad(Class<?> type)
TypeInitializer
onLoad
in interface TypeInitializer
type
- The manifestation of the instrumented type.public boolean isAlive()
TypeInitializer
isAlive
in interface TypeInitializer
true
if this initializer is alive.Copyright © 2014. All rights reserved.