Class MethodCall.TargetHandler.ForValue.Factory

    • Field Detail

      • FIELD_PREFIX

        private static final java.lang.String FIELD_PREFIX
        The name prefix of the field to store the instance.
        See Also:
        Constant Field Values
      • target

        private final java.lang.Object target
        The target on which the method is to be invoked.
      • name

        @ValueHandling(IGNORE)
        private final java.lang.String name
        The name of the field to store the target.
    • Constructor Detail

      • Factory

        protected Factory​(java.lang.Object target,
                          TypeDescription.Generic fieldType)
        Creates a new target handler for a static field.
        Parameters:
        target - The target on which the method is to be invoked.
        fieldType - The type of the field.