public static enum AgentBuilder.Default.NativeMethodStrategy.Disabled extends Enum<AgentBuilder.Default.NativeMethodStrategy.Disabled> implements AgentBuilder.Default.NativeMethodStrategy
AgentBuilder.Default.NativeMethodStrategy.Disabled, AgentBuilder.Default.NativeMethodStrategy.ForPrefix
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(Instrumentation instrumentation,
ClassFileTransformer classFileTransformer)
Applies this native method strategy.
|
MethodNameTransformer |
resolve()
Resolves the method name transformer for this strategy.
|
static AgentBuilder.Default.NativeMethodStrategy.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.Default.NativeMethodStrategy.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.Default.NativeMethodStrategy.Disabled INSTANCE
public static AgentBuilder.Default.NativeMethodStrategy.Disabled[] values()
for (AgentBuilder.Default.NativeMethodStrategy.Disabled c : AgentBuilder.Default.NativeMethodStrategy.Disabled.values()) System.out.println(c);
public static AgentBuilder.Default.NativeMethodStrategy.Disabled 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 MethodNameTransformer resolve()
resolve
in interface AgentBuilder.Default.NativeMethodStrategy
public void apply(Instrumentation instrumentation, ClassFileTransformer classFileTransformer)
apply
in interface AgentBuilder.Default.NativeMethodStrategy
instrumentation
- The instrumentation to apply this strategy upon.classFileTransformer
- The class file transformer being registered.Copyright © 2014–2020. All rights reserved.