protected static class InvokeDynamic.WithImplicitType.OfInstance extends InvokeDynamic.WithImplicitType
InvokeDynamic.WithImplicitType.OfArgument, InvokeDynamic.WithImplicitType.OfField, InvokeDynamic.WithImplicitType.OfInstanceInvokeDynamic.AbstractDelegator, InvokeDynamic.Appender, InvokeDynamic.InvocationProvider, InvokeDynamic.TerminationHandler, InvokeDynamic.WithImplicitArguments, InvokeDynamic.WithImplicitTarget, InvokeDynamic.WithImplicitTypeImplementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetInstrumentedType.Prepareable.NoOparguments, assigner, bootstrap, invocationProvider, terminationHandler, typing| Modifier | Constructor and Description | 
|---|---|
| protected  | OfInstance(MethodDescription.InDefinedShape bootstrap,
          List<? extends JavaConstant> arguments,
          InvokeDynamic.InvocationProvider invocationProvider,
          InvokeDynamic.TerminationHandler terminationHandler,
          Assigner assigner,
          Assigner.Typing typing,
          Object value)Creates a new invoke dynamic instance with an implicit field type for the provided value. | 
| Modifier and Type | Method and Description | 
|---|---|
| InvokeDynamic | as(TypeDescription typeDescription)Represents the last value as an instance of the given type. | 
| protected InvokeDynamic | materialize()Resolves the current configuration into a fully initialized invoke dynamic instance. | 
asandThen, appender, prepare, withArgument, withArgument, withAssigner, withBooleanValue, withByteValue, withCharacterValue, withDoubleValue, withEnumeration, withField, withField, withField, withField, withFloatValue, withImplicitAndMethodArguments, withInstance, withIntegerValue, withLongValue, withMethodArguments, withNullValue, withNullValue, withReference, withReference, withShortValue, withThis, withThis, withType, withValueprotected OfInstance(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, Object value)
bootstrap - The bootstrap method or constructor.arguments - The arguments that are provided to the bootstrap method or constructor.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.value - The value that is supplied as the next argument to the bootstrapped method.public InvokeDynamic as(TypeDescription typeDescription)
InvokeDynamic.WithImplicitTypeas in class InvokeDynamic.WithImplicitTypetypeDescription - The type to represent to the dynamic method invocation.protected InvokeDynamic materialize()
InvokeDynamic.AbstractDelegatormaterialize in class InvokeDynamic.AbstractDelegatorCopyright © 2014–2024. All rights reserved.