public interface Variables
BytecodeGenProxyBuilder proxy interfaces with arguments representing special values such as
'this' or a local variable.
The numeric load methods load(Number, Runnable) and loadLocal(int, Type, Number) take an
identifying value which should not collide with any other numeric values used when invoking a proxy method.BytecodeGenProxyBuilder.getVariables()| Modifier and Type | Method and Description |
|---|---|
<O> O |
load(java.lang.Class<O> clazz,
java.lang.Runnable runnable) |
<N extends java.lang.Number> |
load(N value,
java.lang.Runnable runnable)
Defers the loading of a numeric argument to runnable.
|
com.newrelic.agent.bridge.Transaction |
loadCurrentTransaction()
Returns a Transaction which loads the current transaction onto the stack.
|
<O> O |
loadLocal(int localId,
java.lang.Class<O> clazz)
Returns an object that will load the local variable represented by the given id.
|
<N extends java.lang.Number> |
loadLocal(int local,
org.objectweb.asm.Type type,
N value) |
java.lang.Object |
loadThis(int access)
Returns an object which represents 'this', which is null for a static method.
|
java.lang.Object loadThis(int access)
access - com.newrelic.agent.bridge.Transaction loadCurrentTransaction()
<N extends java.lang.Number> N loadLocal(int local,
org.objectweb.asm.Type type,
N value)
<N extends java.lang.Number> N load(N value,
java.lang.Runnable runnable)
value - runnable - <O> O load(java.lang.Class<O> clazz,
java.lang.Runnable runnable)
<O> O loadLocal(int localId,
java.lang.Class<O> clazz)
localId - clazz -