public static class AgentBuilder.Default.NativeMethodStrategy.ForPrefix extends Object implements AgentBuilder.Default.NativeMethodStrategy
AgentBuilder.Default.NativeMethodStrategy.Disabled, AgentBuilder.Default.NativeMethodStrategy.ForPrefix| Modifier | Constructor and Description | 
|---|---|
| protected  | ForPrefix(String prefix)Creates a new name prefixing native method strategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| String | getPrefix()Returns the method prefix if the strategy is enabled. | 
| int | hashCode() | 
| boolean | isEnabled(Instrumentation instrumentation)Determines if this strategy enables name prefixing for native methods. | 
| protected static AgentBuilder.Default.NativeMethodStrategy | of(String prefix)Creates a new native method strategy for prefixing method names. | 
| MethodRebaseResolver.MethodNameTransformer | resolve()Resolves the method name transformer for this strategy. | 
| String | toString() | 
protected ForPrefix(String prefix)
prefix - The method name prefix.protected static AgentBuilder.Default.NativeMethodStrategy of(String prefix)
prefix - The method name prefix.public MethodRebaseResolver.MethodNameTransformer resolve()
AgentBuilder.Default.NativeMethodStrategyresolve in interface AgentBuilder.Default.NativeMethodStrategypublic boolean isEnabled(Instrumentation instrumentation)
AgentBuilder.Default.NativeMethodStrategyisEnabled in interface AgentBuilder.Default.NativeMethodStrategyinstrumentation - The instrumentation used.true if this strategy indicates that a native method prefix should be used.public String getPrefix()
AgentBuilder.Default.NativeMethodStrategygetPrefix in interface AgentBuilder.Default.NativeMethodStrategyCopyright © 2014–2015. All rights reserved.