public static class InvokeDynamic.WithImplicitTarget extends InvokeDynamic.WithImplicitArguments
InvokeDynamic implementation where the bootstrapped
 method is passed a this reference, if available, and any arguments of the instrumented method and
 where the invocation target is implicit.InvokeDynamic.AbstractDelegator, InvokeDynamic.Appender, InvokeDynamic.InvocationProvider, InvokeDynamic.TerminationHandler, InvokeDynamic.WithImplicitArguments, InvokeDynamic.WithImplicitArgumentType, InvokeDynamic.WithImplicitFieldType, InvokeDynamic.WithImplicitTargetImplementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Targetassigner, bootstrapMethod, handleArguments, invocationProvider, terminationHandler, typing| Modifier | Constructor and Description | 
|---|---|
| protected  | WithImplicitTarget(MethodDescription.InDefinedShape bootstrapMethod,
                  List<?> handleArguments,
                  InvokeDynamic.InvocationProvider invocationProvider,
                  InvokeDynamic.TerminationHandler terminationHandler,
                  Assigner assigner,
                  Assigner.Typing typing)Creates a new dynamic method invocation with implicit arguments and an implicit invocation target. | 
| Modifier and Type | Method and Description | 
|---|---|
| InvokeDynamic.WithImplicitArguments | invoke(Class<?> returnType)Requests the bootstrap method to bind a method with the given return type. | 
| InvokeDynamic.WithImplicitArguments | invoke(String methodName)Requests the bootstrap method is passed the given method name. | 
| InvokeDynamic.WithImplicitArguments | invoke(String methodName,
      Class<?> returnType)Requests the bootstrap method to bind a method with the given return type. | 
| InvokeDynamic.WithImplicitArguments | invoke(String methodName,
      TypeDescription returnType)Requests the bootstrap method to bind a method with the given return type. | 
| InvokeDynamic.WithImplicitArguments | invoke(TypeDescription returnType)Requests the bootstrap method to bind a method with the given return type. | 
| String | toString() | 
materialize, withAssigner, withoutArgumentswithArgument, withArgument, withBooleanValue, withByteValue, withCharacterValue, withDoubleValue, withField, withFloatValue, withImplicitAndMethodArguments, withInstance, withInstanceField, withInstanceField, withIntegerValue, withLongValue, withMethodArguments, withNullValue, withNullValue, withReference, withReference, withShortValue, withThis, withThis, withType, withValueandThen, appender, bootstrap, bootstrap, bootstrap, bootstrap, bootstrap, bootstrap, equals, getInvocationProvider, hashCode, prepare, withEnumerationprotected WithImplicitTarget(MethodDescription.InDefinedShape bootstrapMethod, List<?> handleArguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
bootstrapMethod - The bootstrap method.handleArguments - The arguments that are provided to the bootstrap method.invocationProvider - The target provided that identifies the method to be bootstrapped.terminationHandler - A handler that handles the method return.assigner - The assigner to be used.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.public InvokeDynamic.WithImplicitArguments invoke(Class<?> returnType)
returnType - The return type to request from the bootstrapping method.public InvokeDynamic.WithImplicitArguments invoke(TypeDescription returnType)
returnType - The return type to request from the bootstrapping method.public InvokeDynamic.WithImplicitArguments invoke(String methodName)
methodName - The method name to pass to the bootstrapping method.public InvokeDynamic.WithImplicitArguments invoke(String methodName, Class<?> returnType)
methodName - The method name to pass to the bootstrapping method.returnType - The return type to request from the bootstrapping method.public InvokeDynamic.WithImplicitArguments invoke(String methodName, TypeDescription returnType)
methodName - The method name to pass to the bootstrapping method.returnType - The return type to request from the bootstrapping method.public String toString()
toString in class InvokeDynamic.WithImplicitArgumentsCopyright © 2014–2015. All rights reserved.