Interface DeprecatedFactoryMethod

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
DeprecatedFactoryMethod.BuilderBase.DeprecatedFactoryMethodImpl

public interface DeprecatedFactoryMethod extends Prototype.Api
Deprecated.
this is only present for backward compatibility and will be removed in a future version
Factory methods for the deprecated annotation.

The following method types can be hidden behind this method:

  • Factory method that creates an option type from Config
  • Factory method that creates an option type from a prototype (to handle third party types)
  • Factory method to be copied to the generated prototype interface
See Also:
  • Method Details

    • builder

      Deprecated.
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Deprecated.
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • method

      Deprecated.
      Referenced method.
      Returns:
      referenced method definition
    • declaringType

      TypeName declaringType()
      Deprecated.
      Type declaring the (static) factory method.
      Returns:
      declaring type