public static enum LoadedTypeInitializer.NoOp extends Enum<LoadedTypeInitializer.NoOp> implements LoadedTypeInitializer
LoadedTypeInitializer.Compound, LoadedTypeInitializer.ForStaticField, LoadedTypeInitializer.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton 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 LoadedTypeInitializer.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadedTypeInitializer.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadedTypeInitializer.NoOp INSTANCE
public static LoadedTypeInitializer.NoOp[] values()
for (LoadedTypeInitializer.NoOp c : LoadedTypeInitializer.NoOp.values()) System.out.println(c);
public static LoadedTypeInitializer.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)
onLoad
in interface LoadedTypeInitializer
type
- The manifestation of the instrumented type.public boolean isAlive()
isAlive
in interface LoadedTypeInitializer
true
if this initializer is alive.Copyright © 2014–2022. All rights reserved.