Module io.helidon.builder.codegen
Package io.helidon.builder.codegen
Class DeprecatedFactoryMethod.BuilderBase<BUILDER extends DeprecatedFactoryMethod.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends DeprecatedFactoryMethod>
java.lang.Object
io.helidon.builder.codegen.DeprecatedFactoryMethod.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
DeprecatedFactoryMethod.Builder
- Enclosing interface:
DeprecatedFactoryMethod
public abstract static class DeprecatedFactoryMethod.BuilderBase<BUILDER extends DeprecatedFactoryMethod.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends DeprecatedFactoryMethod>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
DeprecatedFactoryMethod.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionType declaring the (static) factory method.declaringType(TypeName declaringType) Type declaring the (static) factory method.declaringType(Consumer<TypeName.Builder> consumer) Type declaring the (static) factory method.declaringType(Supplier<? extends TypeName> supplier) Type declaring the (static) factory method.from(DeprecatedFactoryMethod prototype) Update this builder from an existing prototype instance.from(DeprecatedFactoryMethod.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.method()Referenced method.method(TypedElementInfo method) Referenced method.method(Consumer<TypedElementInfo.Builder> consumer) Referenced method.method(Supplier<? extends TypedElementInfo> supplier) Referenced method.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
method
Referenced method.- Parameters:
method- referenced method definition- Returns:
- updated builder instance
- See Also:
-
method
Referenced method.- Parameters:
consumer- consumer of builder of referenced method definition- Returns:
- updated builder instance
- See Also:
-
method
Referenced method.- Parameters:
supplier- supplier of referenced method definition- Returns:
- updated builder instance
- See Also:
-
declaringType
Type declaring the (static) factory method.- Parameters:
declaringType- declaring type- Returns:
- updated builder instance
- See Also:
-
declaringType
Type declaring the (static) factory method.- Parameters:
consumer- consumer of builder of declaring type- Returns:
- updated builder instance
- See Also:
-
declaringType
Type declaring the (static) factory method.- Parameters:
supplier- supplier of declaring type- Returns:
- updated builder instance
- See Also:
-
method
Referenced method.- Returns:
- referenced method definition
-
declaringType
Type declaring the (static) factory method.- Returns:
- declaring type
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-