Class MethodCall.ArgumentLoader.ForInstance.Factory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String FIELD_PREFIX
      The name prefix of the field to store the argument.
      private java.lang.String name
      The name of the field.
      private java.lang.Object value
      The value to be stored in the field.
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(java.lang.Object value)
      Creates a factory that loads the value of a static field as an argument.
    • Field Detail

      • FIELD_PREFIX

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

        private final java.lang.Object value
        The value to be stored in the field.
    • Constructor Detail

      • Factory

        public Factory​(java.lang.Object value)
        Creates a factory that loads the value of a static field as an argument.
        Parameters:
        value - The value to supply as an argument.