Module io.helidon.builder.codegen
Package io.helidon.builder.codegen
Class OptionInfo.BuilderBase<BUILDER extends OptionInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OptionInfo>
java.lang.Object
io.helidon.builder.codegen.OptionInfo.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:
OptionInfo.Builder
- Enclosing interface:
OptionInfo
public abstract static class OptionInfo.BuilderBase<BUILDER extends OptionInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OptionInfo>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
OptionInfo.-
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 TypeMethodDescriptionAccess modifier of generated setter methods on builder.accessModifier(AccessModifier accessModifier) Access modifier of generated setter methods on builder.addAllowedValue(OptionAllowedValue allowedValue) List of allowed values for this option.addAllowedValue(Consumer<OptionAllowedValue.Builder> consumer) List of allowed values for this option.addAllowedValues(List<? extends OptionAllowedValue> allowedValues) List of allowed values for this option.addAnnotation(Annotation annotation) Annotations option.addAnnotation(Consumer<Annotation.Builder> consumer) Annotations option.addAnnotations(List<? extends Annotation> annotations) Annotations option.addInheritedAnnotation(Annotation inheritedAnnotation) InheritedAnnotations option.addInheritedAnnotation(Consumer<Annotation.Builder> consumer) InheritedAnnotations option.addInheritedAnnotations(List<? extends Annotation> inheritedAnnotations) InheritedAnnotations option.addQualifier(Annotation qualifier) List of qualifiers for this option.addQualifier(Consumer<Annotation.Builder> consumer) List of qualifiers for this option.addQualifiers(List<? extends Annotation> qualifiers) List of qualifiers for this option.List of allowed values for this option.allowedValues(List<? extends OptionAllowedValue> allowedValues) List of allowed values for this option.Annotations option.annotations(List<? extends Annotation> annotations) Annotations option.If the option has a builder, return its information.builderInfo(OptionBuilder builderInfo) If the option has a builder, return its information.builderInfo(Consumer<OptionBuilder.Builder> consumer) If the option has a builder, return its information.builderInfo(Supplier<? extends OptionBuilder> supplier) If the option has a builder, return its information.booleanSet totrueif this option is only available on the builder.builderOptionOnly(boolean builderOptionOnly) Set totrueif this option is only available on the builder.Clear all allowedValues.Clear all annotations.Clear existing value of builderInfo.Clear existing value of configured.Clear existing value of declaringType.Clear existing value of decorator.Clear existing value of defaultValue.Clear existing value of deprecation.Clear existing value of description.Clear all inheritedAnnotations.Clear existing value of interfaceMethod.Clear existing value of paramDescription.Clear existing value of prototypedBy.Clear existing value of provider.Clear all qualifiers.Clear existing value of runtimeType.Clear existing value of singular.booleanWhether this option is confidential (i.e.confidential(boolean confidential) Whether this option is confidential (i.e.Details about configurability of this option.configured(OptionConfigured configured) Details about configurability of this option.configured(Consumer<OptionConfigured.Builder> consumer) Details about configurability of this option.configured(Supplier<? extends OptionConfigured> supplier) Details about configurability of this option.The return type of the blueprint method, or the type expected in getter of the option.declaredType(TypeName declaredType) The return type of the blueprint method, or the type expected in getter of the option.declaredType(Consumer<TypeName.Builder> consumer) The return type of the blueprint method, or the type expected in getter of the option.declaredType(Supplier<? extends TypeName> supplier) The return type of the blueprint method, or the type expected in getter of the option.Type that declares this option.declaringType(TypeInfo declaringType) Type that declares this option.declaringType(Consumer<TypeInfo.Builder> consumer) Type that declares this option.declaringType(Supplier<? extends TypeInfo> supplier) Type that declares this option.Option decorator type.Option decorator type.decorator(Consumer<TypeName.Builder> consumer) Option decorator type.Option decorator type.Default value for this option, a consumer of the field content builder.defaultValue(Consumer<ContentBuilder<?>> defaultValue) Default value for this option, a consumer of the field content builder.Deprecation details.deprecation(OptionDeprecation deprecation) Deprecation details.deprecation(Consumer<OptionDeprecation.Builder> consumer) Deprecation details.deprecation(Supplier<? extends OptionDeprecation> supplier) Deprecation details.Description of this option, used in Javadoc as the main text if defined.description(String description) Description of this option, used in Javadoc as the main text if defined.from(OptionInfo prototype) Update this builder from an existing prototype instance.from(OptionInfo.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Name of the getter methods.getterName(String getterName) Name of the getter methods.booleanWhether to include this option in generatedObject.equals(Object)andObject.hashCode()methods.includeInEqualsAndHashCode(boolean includeInEqualsAndHashCode) Whether to include this option in generatedObject.equals(Object)andObject.hashCode()methods.booleanWhether to include this option in generatedObject.toString()method.includeInToString(boolean includeInToString) Whether to include this option in generatedObject.toString()method.InheritedAnnotations option.inheritedAnnotations(List<? extends Annotation> inheritedAnnotations) InheritedAnnotations option.Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface.interfaceMethod(TypedElementInfo interfaceMethod) Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface.interfaceMethod(Consumer<TypedElementInfo.Builder> consumer) Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface.interfaceMethod(Supplier<? extends TypedElementInfo> supplier) Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface.name()Option name.Option name.Parameter/return type description, used in Javadoc as the param/return description.paramDescription(String paramDescription) Parameter/return type description, used in Javadoc as the param/return description.protected voidHandles providers and decorators.A prototype that can build this option type.prototypedBy(TypeName prototypedBy) A prototype that can build this option type.prototypedBy(Consumer<TypeName.Builder> consumer) A prototype that can build this option type.prototypedBy(Supplier<? extends TypeName> supplier) A prototype that can build this option type.provider()Provider details.provider(OptionProvider provider) Provider details.provider(Consumer<OptionProvider.Builder> consumer) Provider details.provider(Supplier<? extends OptionProvider> supplier) Provider details.List of qualifiers for this option.qualifiers(List<? extends Annotation> qualifiers) List of qualifiers for this option.booleanWhether this option should be loaded fromServiceRegistry.registryService(boolean registryService) Whether this option should be loaded fromServiceRegistry.booleanrequired()Whether this is a required option.required(boolean required) Whether this is a required option.Custom runtime type factory method.runtimeType(RuntimeTypeInfo runtimeType) Custom runtime type factory method.runtimeType(Consumer<RuntimeTypeInfo.Builder> consumer) Custom runtime type factory method.runtimeType(Supplier<? extends RuntimeTypeInfo> supplier) Custom runtime type factory method.booleanWhether thisMapoption is expected to have the same generic type for key and value.sameGeneric(boolean sameGeneric) Whether thisMapoption is expected to have the same generic type for key and value.Name of the setter method(s).setterName(String setterName) Name of the setter method(s).singular()Singular option details.singular(OptionSingular singular) Singular option details.singular(Consumer<OptionSingular.Builder> consumer) Singular option details.singular(Supplier<? extends OptionSingular> supplier) Singular option details.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
-
clearInterfaceMethod
Clear existing value of interfaceMethod.- Returns:
- updated builder instance
- See Also:
-
interfaceMethod
Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface. Empty in case this is a "synthetic" option.- Parameters:
interfaceMethod- interface method, if present- Returns:
- updated builder instance
- See Also:
-
interfaceMethod
Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface. Empty in case this is a "synthetic" option.- Parameters:
consumer- consumer of builder of interface method, if present- Returns:
- updated builder instance
- See Also:
-
interfaceMethod
Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface. Empty in case this is a "synthetic" option.- Parameters:
supplier- supplier of interface method, if present- Returns:
- updated builder instance
- See Also:
-
clearDeclaringType
Clear existing value of declaringType.- Returns:
- updated builder instance
- See Also:
-
declaringType
Type that declares this option. This may be the blueprint type, or an interface type. In case this is a "synthetic" option, there is not type to use.- Parameters:
declaringType- type that declares this option, if present- Returns:
- updated builder instance
- See Also:
-
declaringType
Type that declares this option. This may be the blueprint type, or an interface type. In case this is a "synthetic" option, there is not type to use.- Parameters:
consumer- consumer of builder of type that declares this option, if present- Returns:
- updated builder instance
- See Also:
-
declaringType
Type that declares this option. This may be the blueprint type, or an interface type. In case this is a "synthetic" option, there is not type to use.- Parameters:
supplier- supplier of type that declares this option, if present- Returns:
- updated builder instance
- See Also:
-
name
Option name.- Parameters:
name- name of this option- Returns:
- updated builder instance
- See Also:
-
getterName
Name of the getter methods.- Parameters:
getterName- getter method name- Returns:
- updated builder instance
- See Also:
-
setterName
Name of the setter method(s).- Parameters:
setterName- setter method name- Returns:
- updated builder instance
- See Also:
-
declaredType
The return type of the blueprint method, or the type expected in getter of the option.- Parameters:
declaredType- declared type- Returns:
- updated builder instance
- See Also:
-
declaredType
The return type of the blueprint method, or the type expected in getter of the option.- Parameters:
consumer- consumer of builder of declared type- Returns:
- updated builder instance
- See Also:
-
declaredType
The return type of the blueprint method, or the type expected in getter of the option.- Parameters:
supplier- supplier of declared type- Returns:
- updated builder instance
- See Also:
-
clearDecorator
Clear existing value of decorator.- Returns:
- updated builder instance
- See Also:
-
decorator
Option decorator type.- Parameters:
decorator- type of the option decorator, if present- Returns:
- updated builder instance
- See Also:
-
decorator
Option decorator type.- Parameters:
consumer- consumer of builder of type of the option decorator, if present- Returns:
- updated builder instance
- See Also:
-
decorator
Option decorator type.- Parameters:
supplier- supplier of type of the option decorator, if present- Returns:
- updated builder instance
- See Also:
-
includeInToString
Whether to include this option in generatedObject.toString()method.- Parameters:
includeInToString- whether to include in thetoStringmethod- Returns:
- updated builder instance
- See Also:
-
includeInEqualsAndHashCode
Whether to include this option in generatedObject.equals(Object)andObject.hashCode()methods.- Parameters:
includeInEqualsAndHashCode- whether to include in theequalsandhashCodemethods- Returns:
- updated builder instance
- See Also:
-
confidential
Whether this option is confidential (i.e. we should not print the value intoStringmethod).- Parameters:
confidential- whether this option is confidential- Returns:
- updated builder instance
- See Also:
-
registryService
Whether this option should be loaded fromServiceRegistry.- Parameters:
registryService- whether this option should be loaded fromServiceRegistry- Returns:
- updated builder instance
- See Also:
-
sameGeneric
Whether thisMapoption is expected to have the same generic type for key and value. For example, for aMap<Class<?>, Instance<?>>that hassameGenericset totrue, we would generate singular method with signature<T> put(Class<T>, Instance<T>.- Parameters:
sameGeneric- whether a map has the same generic in key and value for a single mapping- Returns:
- updated builder instance
- See Also:
-
required
Whether this is a required option. Will be true if:- an
Option.Requiredis present in blueprint - the return type on blueprint is not
Optionalor a collection, and we do not support null
- Parameters:
required- whether the option is required- Returns:
- updated builder instance
- See Also:
- an
-
builderOptionOnly
Set totrueif this option is only available on the builder. In such a case the prototype and implementation will not have this option.- Parameters:
builderOptionOnly- builder option only- Returns:
- updated builder instance
- See Also:
-
clearQualifiers
Clear all qualifiers.- Returns:
- updated builder instance
- See Also:
-
qualifiers
List of qualifiers for this option.- Parameters:
qualifiers- service registry qualifiers defined on this option (to be used when getting a service registry instance)- Returns:
- updated builder instance
- See Also:
-
addQualifiers
List of qualifiers for this option.- Parameters:
qualifiers- service registry qualifiers defined on this option (to be used when getting a service registry instance)- Returns:
- updated builder instance
- See Also:
-
addQualifier
List of qualifiers for this option.- Parameters:
qualifier- add single service registry qualifiers defined on this option (to be used when getting a service registry instance)- Returns:
- updated builder instance
- See Also:
-
addQualifier
List of qualifiers for this option.- Parameters:
consumer- consumer of builder for service registry qualifiers defined on this option (to be used when getting a service registry instance)- Returns:
- updated builder instance
- See Also:
-
clearAllowedValues
Clear all allowedValues.- Returns:
- updated builder instance
- See Also:
-
allowedValues
List of allowed values for this option.- Parameters:
allowedValues- allowed values- Returns:
- updated builder instance
- See Also:
-
addAllowedValues
List of allowed values for this option.- Parameters:
allowedValues- allowed values- Returns:
- updated builder instance
- See Also:
-
addAllowedValue
List of allowed values for this option.- Parameters:
allowedValue- add single allowed values- Returns:
- updated builder instance
- See Also:
-
addAllowedValue
List of allowed values for this option.- Parameters:
consumer- consumer of builder for allowed values- Returns:
- updated builder instance
- See Also:
-
clearDefaultValue
Clear existing value of defaultValue.- Returns:
- updated builder instance
- See Also:
-
defaultValue
Default value for this option, a consumer of the field content builder.- Parameters:
defaultValue- default value consumer- Returns:
- updated builder instance
- See Also:
-
clearConfigured
Clear existing value of configured.- Returns:
- updated builder instance
- See Also:
-
configured
Details about configurability of this option.- Parameters:
configured- configured setup if configured- Returns:
- updated builder instance
- See Also:
-
configured
Details about configurability of this option.- Parameters:
consumer- consumer of builder of configured setup if configured- Returns:
- updated builder instance
- See Also:
-
configured
Details about configurability of this option.- Parameters:
supplier- supplier of configured setup if configured- Returns:
- updated builder instance
- See Also:
-
clearDeprecation
Clear existing value of deprecation.- Returns:
- updated builder instance
- See Also:
-
deprecation
Deprecation details.- Parameters:
deprecation- deprecation details, if present- Returns:
- updated builder instance
- See Also:
-
deprecation
Deprecation details.- Parameters:
consumer- consumer of builder of deprecation details, if present- Returns:
- updated builder instance
- See Also:
-
deprecation
Deprecation details.- Parameters:
supplier- supplier of deprecation details, if present- Returns:
- updated builder instance
- See Also:
-
clearProvider
Clear existing value of provider.- Returns:
- updated builder instance
- See Also:
-
provider
Provider details.- Parameters:
provider- provider details, if present- Returns:
- updated builder instance
- See Also:
-
provider
Provider details.- Parameters:
consumer- consumer of builder of provider details, if present- Returns:
- updated builder instance
- See Also:
-
provider
Provider details.- Parameters:
supplier- supplier of provider details, if present- Returns:
- updated builder instance
- See Also:
-
clearSingular
Clear existing value of singular.- Returns:
- updated builder instance
- See Also:
-
singular
Singular option details.- Parameters:
singular- singular setter name and related information, if present- Returns:
- updated builder instance
- See Also:
-
singular
Singular option details.- Parameters:
consumer- consumer of builder of singular setter name and related information, if present- Returns:
- updated builder instance
- See Also:
-
singular
Singular option details.- Parameters:
supplier- supplier of singular setter name and related information, if present- Returns:
- updated builder instance
- See Also:
-
accessModifier
Access modifier of generated setter methods on builder. Note that prototype methods are declared in an interface, so these must always be public.- Parameters:
accessModifier- access modifier to use- Returns:
- updated builder instance
- See Also:
-
clearBuilderInfo
Clear existing value of builderInfo.- Returns:
- updated builder instance
- See Also:
-
builderInfo
If the option has a builder, return its information.- Parameters:
builderInfo- builder information, if present- Returns:
- updated builder instance
- See Also:
-
builderInfo
If the option has a builder, return its information.- Parameters:
consumer- consumer of builder of builder information, if present- Returns:
- updated builder instance
- See Also:
-
builderInfo
If the option has a builder, return its information.- Parameters:
supplier- supplier of builder information, if present- Returns:
- updated builder instance
- See Also:
-
clearRuntimeType
Clear existing value of runtimeType.- Returns:
- updated builder instance
- See Also:
-
runtimeType
Custom runtime type factory method.- Parameters:
runtimeType- runtime type factory method, if present- Returns:
- updated builder instance
- See Also:
-
runtimeType
Custom runtime type factory method.- Parameters:
consumer- consumer of builder of runtime type factory method, if present- Returns:
- updated builder instance
- See Also:
-
runtimeType
Custom runtime type factory method.- Parameters:
supplier- supplier of runtime type factory method, if present- Returns:
- updated builder instance
- See Also:
-
clearDescription
Clear existing value of description.- Returns:
- updated builder instance
- See Also:
-
description
Description of this option, used in Javadoc as the main text if defined.- Parameters:
description- description, if present- Returns:
- updated builder instance
- See Also:
-
clearParamDescription
Clear existing value of paramDescription.- Returns:
- updated builder instance
- See Also:
-
paramDescription
Parameter/return type description, used in Javadoc as the param/return description.- Parameters:
paramDescription- parameter description, if present- Returns:
- updated builder instance
- See Also:
-
clearPrototypedBy
Clear existing value of prototypedBy.- Returns:
- updated builder instance
- See Also:
-
prototypedBy
A prototype that can build this option type.- Parameters:
prototypedBy- prototyped by type, or empty if not annotated- Returns:
- updated builder instance
- See Also:
-
prototypedBy
A prototype that can build this option type.- Parameters:
consumer- consumer of builder of prototyped by type, or empty if not annotated- Returns:
- updated builder instance
- See Also:
-
prototypedBy
A prototype that can build this option type.- Parameters:
supplier- supplier of prototyped by type, or empty if not annotated- Returns:
- updated builder instance
- See Also:
-
clearAnnotations
Clear all annotations.- Returns:
- updated builder instance
- See Also:
-
annotations
Annotations option. Defined inAnnotated.annotations()- Parameters:
annotations- the annotations option- Returns:
- updated builder instance
- See Also:
-
addAnnotations
Annotations option. Defined inAnnotated.annotations()- Parameters:
annotations- the annotations option- Returns:
- updated builder instance
- See Also:
-
addAnnotation
Annotations option. Defined inAnnotated.annotations()- Parameters:
annotation- add single the annotations option- Returns:
- updated builder instance
- See Also:
-
addAnnotation
Annotations option. Defined inAnnotated.annotations()- Parameters:
consumer- consumer of builder for the annotations option- Returns:
- updated builder instance
- See Also:
-
clearInheritedAnnotations
Clear all inheritedAnnotations.- Returns:
- updated builder instance
- See Also:
-
inheritedAnnotations
InheritedAnnotations option. Defined inAnnotated.inheritedAnnotations()- Parameters:
inheritedAnnotations- the inheritedAnnotations option- Returns:
- updated builder instance
- See Also:
-
addInheritedAnnotations
InheritedAnnotations option. Defined inAnnotated.inheritedAnnotations()- Parameters:
inheritedAnnotations- the inheritedAnnotations option- Returns:
- updated builder instance
- See Also:
-
addInheritedAnnotation
InheritedAnnotations option. Defined inAnnotated.inheritedAnnotations()- Parameters:
inheritedAnnotation- add single the inheritedAnnotations option- Returns:
- updated builder instance
- See Also:
-
addInheritedAnnotation
InheritedAnnotations option. Defined inAnnotated.inheritedAnnotations()- Parameters:
consumer- consumer of builder for the inheritedAnnotations option- Returns:
- updated builder instance
- See Also:
-
interfaceMethod
Blueprint method if created from blueprint, or interface method if inherited from non-blueprint interface. Empty in case this is a "synthetic" option.- Returns:
- interface method, if present
-
declaringType
Type that declares this option. This may be the blueprint type, or an interface type. In case this is a "synthetic" option, there is not type to use.- Returns:
- type that declares this option, if present
-
name
Option name.- Returns:
- name of this option
-
getterName
Name of the getter methods.- Returns:
- getter method name
-
setterName
Name of the setter method(s).- Returns:
- setter method name
-
declaredType
The return type of the blueprint method, or the type expected in getter of the option.- Returns:
- declared type
-
decorator
Option decorator type.- Returns:
- type of the option decorator, if present
-
includeInToString
public boolean includeInToString()Whether to include this option in generatedObject.toString()method.- Returns:
- whether to include in the
toStringmethod
-
includeInEqualsAndHashCode
public boolean includeInEqualsAndHashCode()Whether to include this option in generatedObject.equals(Object)andObject.hashCode()methods.- Returns:
- whether to include in the
equalsandhashCodemethods
-
confidential
public boolean confidential()Whether this option is confidential (i.e. we should not print the value intoStringmethod).- Returns:
- whether this option is confidential
-
registryService
public boolean registryService()Whether this option should be loaded fromServiceRegistry.- Returns:
- whether this option should be loaded from
ServiceRegistry
-
sameGeneric
public boolean sameGeneric()Whether thisMapoption is expected to have the same generic type for key and value. For example, for aMap<Class<?>, Instance<?>>that hassameGenericset totrue, we would generate singular method with signature<T> put(Class<T>, Instance<T>.- Returns:
- whether a map has the same generic in key and value for a single mapping
-
required
public boolean required()Whether this is a required option. Will be true if:- an
Option.Requiredis present in blueprint - the return type on blueprint is not
Optionalor a collection, and we do not support null
- Returns:
- whether the option is required
- an
-
builderOptionOnly
public boolean builderOptionOnly()Set totrueif this option is only available on the builder. In such a case the prototype and implementation will not have this option.- Returns:
- builder option only
-
qualifiers
List of qualifiers for this option.- Returns:
- service registry qualifiers defined on this option (to be used when getting a service registry instance)
-
allowedValues
List of allowed values for this option.- Returns:
- allowed values
-
defaultValue
Default value for this option, a consumer of the field content builder.- Returns:
- default value consumer
-
configured
Details about configurability of this option.- Returns:
- configured setup if configured
-
deprecation
Deprecation details.- Returns:
- deprecation details, if present
-
provider
Provider details.- Returns:
- provider details, if present
-
singular
Singular option details.- Returns:
- singular setter name and related information, if present
-
accessModifier
Access modifier of generated setter methods on builder. Note that prototype methods are declared in an interface, so these must always be public.- Returns:
- access modifier to use
-
builderInfo
If the option has a builder, return its information.- Returns:
- builder information, if present
-
runtimeType
Custom runtime type factory method.- Returns:
- runtime type factory method, if present
-
description
Description of this option, used in Javadoc as the main text if defined.- Returns:
- description, if present
-
paramDescription
Parameter/return type description, used in Javadoc as the param/return description.- Returns:
- parameter description, if present
-
prototypedBy
A prototype that can build this option type.- Returns:
- prototyped by type, or empty if not annotated
-
annotations
Annotations option. Defined inAnnotated.annotations()- Returns:
- the annotations option
-
inheritedAnnotations
InheritedAnnotations option. Defined inAnnotated.inheritedAnnotations()- Returns:
- the inheritedAnnotations option
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-