Module io.helidon.builder.codegen
Package io.helidon.builder.codegen
Interface DeprecatedFactoryMethod
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
DeprecatedFactoryMethod.BuilderBase.DeprecatedFactoryMethodImpl
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.Fluent API builder forDeprecatedFactoryMethod.static classDeprecatedFactoryMethod.BuilderBase<BUILDER extends DeprecatedFactoryMethod.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends DeprecatedFactoryMethod> Deprecated.Fluent API builder base forDeprecatedFactoryMethod. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Create a new fluent API builder to customize configuration.builder(DeprecatedFactoryMethod instance) Deprecated.Create a new fluent API builder from an existing instance.Deprecated.Type declaring the (static) factory method.method()Deprecated.Referenced method.
-
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
TypedElementInfo method()Deprecated.Referenced method.- Returns:
- referenced method definition
-
declaringType
TypeName declaringType()Deprecated.Type declaring the (static) factory method.- Returns:
- declaring type
-