T
- public class BytecodeGenProxyBuilder<T>
extends java.lang.Object
getVariables()
can be used to load local variables, 'this', and other junk.Variables
Modifier and Type | Class and Description |
---|---|
static interface |
BytecodeGenProxyBuilder.LoaderMarker
A marker interface.
|
class |
BytecodeGenProxyBuilder.VariableLoaderImpl |
Modifier and Type | Method and Description |
---|---|
BytecodeGenProxyBuilder<T> |
addLoader(org.objectweb.asm.Type t,
VariableLoader loader)
Adds a custom variable loader for the given type to extend the built in argument type support.
|
T |
build()
Returns a proxy implementation that generates bytecode instructions when its methods are invoked.
|
Variables |
getVariables() |
static <T> BytecodeGenProxyBuilder<T> |
newBuilder(java.lang.Class<T> target,
org.objectweb.asm.commons.GeneratorAdapter methodAdapter,
boolean loadArguments)
Returns a new api builder.
|
public static <T> BytecodeGenProxyBuilder<T> newBuilder(java.lang.Class<T> target, org.objectweb.asm.commons.GeneratorAdapter methodAdapter, boolean loadArguments)
loadArguments
is false, the arguments passed when invoking a generated
proxy class' methods will be ignored.public Variables getVariables()
public BytecodeGenProxyBuilder<T> addLoader(org.objectweb.asm.Type t, VariableLoader loader)
public T build()