protected static interface AgentBuilder.Default.NativeMethodStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.Default.NativeMethodStrategy.Disabled
A native method strategy that suffixes method names with a random suffix and disables native method rebasement.
|
static class |
AgentBuilder.Default.NativeMethodStrategy.ForPrefix
A native method strategy that prefixes method names with a fixed value for supporting rebasing of native methods.
|
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.
|
MethodNameTransformer resolve()
void apply(Instrumentation instrumentation, ClassFileTransformer classFileTransformer)
instrumentation
- The instrumentation to apply this strategy upon.classFileTransformer
- The class file transformer being registered.Copyright © 2014–2024. All rights reserved.