Class MethodCall.TargetHandler.ForField

    • Constructor Detail

      • ForField

        protected ForField​(java.lang.String name,
                           FieldLocator.Factory fieldLocatorFactory)
        Creates a new target handler for storing a method invocation target in an instance field.
        Parameters:
        name - The name of the field.
        fieldLocatorFactory - The field locator factory to use.