protected static interface InvokeDynamic.InvocationProvider
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | InvokeDynamic.InvocationProvider.ArgumentProviderAn argument provider is responsible for loading arguments to a bootstrapped method onto the operand
 stack and providing the types of these arguments. | 
| static class  | InvokeDynamic.InvocationProvider.DefaultAn invocation provider that requests a synthetic dynamic invocation where all arguments are explicitly
 provided by the user. | 
| static interface  | InvokeDynamic.InvocationProvider.NameProviderProvides the name of the method that is to be bound by a dynamic method call. | 
| static interface  | InvokeDynamic.InvocationProvider.ReturnTypeProviderProvides the return type that is requested from the bootstrap method. | 
| static interface  | InvokeDynamic.InvocationProvider.TargetA target for a dynamic method invocation. | 
| Modifier and Type | Method and Description | 
|---|---|
| InvokeDynamic.InvocationProvider | appendArgument(InvokeDynamic.InvocationProvider.ArgumentProvider argumentProvider)Appends the given argument to the invocation to be loaded onto the operand stack. | 
| InvokeDynamic.InvocationProvider | appendArguments(List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders)Appends the given arguments to the invocation to be loaded onto the operand stack. | 
| InvokeDynamic.InvocationProvider.Target | make(MethodDescription methodDescription)Creates a target for the invocation. | 
| InstrumentedType | prepare(InstrumentedType instrumentedType)Prepares the instrumented type. | 
| InvokeDynamic.InvocationProvider | withNameProvider(InvokeDynamic.InvocationProvider.NameProvider nameProvider)Returns a copy of this invocation provider that applies the given name provider. | 
| InvokeDynamic.InvocationProvider | withoutArguments()Returns a copy of this invocation provider that does not add any arguments. | 
| InvokeDynamic.InvocationProvider | withReturnTypeProvider(InvokeDynamic.InvocationProvider.ReturnTypeProvider returnTypeProvider)Returns a copy of this invocation provider that applies the given return type provider. | 
InvokeDynamic.InvocationProvider.Target make(MethodDescription methodDescription)
methodDescription - The method that is being intercepted.InvokeDynamic.InvocationProvider appendArguments(List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders)
argumentProviders - The next arguments to be loaded onto the operand stack.InvokeDynamic.InvocationProvider appendArgument(InvokeDynamic.InvocationProvider.ArgumentProvider argumentProvider)
argumentProvider - The next argument to be loaded onto the operand stack.InvokeDynamic.InvocationProvider withoutArguments()
InvokeDynamic.InvocationProvider withNameProvider(InvokeDynamic.InvocationProvider.NameProvider nameProvider)
nameProvider - The name provider to be used.InvokeDynamic.InvocationProvider withReturnTypeProvider(InvokeDynamic.InvocationProvider.ReturnTypeProvider returnTypeProvider)
returnTypeProvider - The return type provider to be used.InstrumentedType prepare(InstrumentedType instrumentedType)
instrumentedType - The instrumented type to prepare.Copyright © 2014–2015. All rights reserved.