Class InvokeDynamic.WithImplicitType.OfField

All Implemented Interfaces:
InstrumentedType.Prepareable, Implementation, Implementation.Composable
Enclosing class:
InvokeDynamic.WithImplicitType

protected static class InvokeDynamic.WithImplicitType.OfField extends InvokeDynamic.WithImplicitType
An invoke dynamic implementation where the last argument is an implicitly typed field value.
  • Field Details

    • fieldName

      private final String fieldName
      The field name.
    • fieldLocatorFactory

      private final FieldLocator.Factory fieldLocatorFactory
      The field locator factory to use.
  • Constructor Details

    • OfField

      protected OfField(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, String fieldName, FieldLocator.Factory fieldLocatorFactory)
      Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.
      Parameters:
      bootstrap - The bootstrap method or constructor.
      arguments - 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.
      fieldName - The field name.
      fieldLocatorFactory - The field locator factory to use.
  • Method Details