Class FieldProxy.Builder

    • Method Detail

      • setParent

        public FieldProxy.Builder setParent​(java.lang.String parentFQN,
                                            int modifiers)
        Sets the parent class of this field to the one described by the fully qualified name and with the given modifiers.
        Parameters:
        parentFQN - the fully qualified name of the parent
        modifiers - the modifiers of the parent
        Returns:
        the builder's state after the change
      • setParent

        public FieldProxy.Builder setParent​(java.lang.String parentFQN)
        Sets the parent class of this field to the one described by the fully qualified name.
        Parameters:
        parentFQN - the fully qualified name of the parent
        Returns:
        the builder's state after the change
      • setType

        public FieldProxy.Builder setType​(java.lang.Class<?> clazz)
        Sets the type of the field to the given Class object.
        Parameters:
        clazz - the Class corresponding to the element
        Returns:
        the current state of the builder
      • setType

        public FieldProxy.Builder setType​(java.lang.String fqn,
                                          int arrayLevel)
        Sets the type of the field to the given type.
        Parameters:
        fqn - the fully qualified name of the parameter type
        arrayLevel - the array level
        Returns:
        the builder's state after the change