public static enum TypeInitializer.NoOp extends Enum<TypeInitializer.NoOp> implements TypeInitializer, Serializable
TypeInitializer.Compound, TypeInitializer.NoOp
Enum Constant and Description |
---|
INSTANCE |
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.
|
static TypeInitializer.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeInitializer.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeInitializer.NoOp INSTANCE
public static TypeInitializer.NoOp[] values()
for (TypeInitializer.NoOp c : TypeInitializer.NoOp.values()) System.out.println(c);
public static TypeInitializer.NoOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.