Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- allAttributeNames() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the list of all attributes names.
- allowNulls() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if nulls are allowed.
- allTypeInfos() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the list of all type elements.
- appendAnnotations(StringBuilder, List<AnnotationAndValue>, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Append
Annotatedannotations if any. - appendBasicGetters(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds the basic getters to the generated builder output.
- appendBuilderBuildPreSteps(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra builder build() method pre-steps prior to the builder being built into the target.
- appendCtorCodeBody(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends the constructor body.
- appendDirectNonOptionalSetter(StringBuilder, BodyContext, String, TypedElementName, String, TypeName) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Append the setters for the given bean attribute name.
- appendExtraBuilderFields(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra builder methods.
- appendExtraBuilderMethods(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra builder methods.
- appendExtraCtorCode(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra default ctor code.
- appendExtraFields(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra fields on the main generated class.
- appendExtraImports(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra imports to the generated builder.
- appendExtraInnerClasses(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra inner classes to write on the builder.
- appendExtraMethods(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra methods to the generated builder.
- appendExtraPostCtorCode(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra code following the ctor decl.
- appendExtraToBuilderBuilderFunctions(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra toBuilder() methods.
- appendFields(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds the fields part of the generated builder.
- appendFooter(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends the footer of the generated class.
- appendHeader(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds the header part of the generated builder.
- appendMetaAttributes(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends meta attribute related methods.
- appendMetaProps(StringBuilder, BodyContext, String, AtomicBoolean) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Adds extra meta properties to the generated code.
- appendRequiredVisitor(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends the simple
ConfiguredOption.required()validation inside the build() method. - appendSetter(StringBuilder, BodyContext, String, String, TypedElementName) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Append the setters for the given bean attribute name.
- appendToStringMethod(StringBuilder, BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Generated the toString method on the generated builder.
- appendVisitAttributes(StringBuilder, BodyContext, String, boolean) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends the visitAttributes() method on the generated class.
B
- baseExtendsBuilderTypeName(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns any extra 'extends' type name that should be on the main generated builder type at the base level.
- baseExtendsTypeName(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns any extra 'extends' type name that should be on the main generated type at the base level.
- beanStyleRequired() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if bean "getter" and "is" style is required.
- BeanUtils - Class in io.helidon.builder.processor.tools
-
Provides functions to aid with bean naming and parsing.
- BodyContext - Class in io.helidon.builder.processor.tools
-
Represents the context of the body being code generated.
- BUILDER_VERSION_1 - Static variable in class io.helidon.builder.processor.tools.Versions
-
Version 1 - the initial release of Builder.
- builderTriggerAnnotation() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the builder annotation that triggered things.
- BuilderTypeTools - Class in io.helidon.builder.processor.tools
-
The default implementation for
TypeInfoCreatorProvider. - BuilderTypeTools() - Constructor for class io.helidon.builder.processor.tools.BuilderTypeTools
-
Deprecated.needed for service loader
C
- canAccept(ExecutableElement, boolean) - Method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Returns true if the executable element passed is acceptable for processing.
- copyrightHeaderFor(String) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Produces the generated copy right header on code generated artifacts.
- create(TypeInfo, AnnotationAndValue) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
- createAnnotationAndValueFromMirror(AnnotationMirror, Elements) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Creates an instance from an annotation mirror during annotation processing.
- createAnnotationAndValueListFromElement(Element, Elements) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Creates an instance from a variable element during annotation processing.
- createBodyContext(boolean, TypeName, TypeInfo, AnnotationAndValue) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Creates the context for the class being built.
- createTypedElementNameFromElement(Element, Elements) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Creates an instance of a
TypedElementNamegiven its type and variable element from annotation processing. - createTypeInfo(TypeName, TypeName, TypeElement, ProcessingEnvironment, boolean) - Method in class io.helidon.builder.processor.tools.BuilderTypeTools
- createTypeNameFromDeclaredType(DeclaredType) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Creates a name from a declared type during annotation processing.
- createTypeNameFromElement(Element) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Creates a name from an element type during annotation processing.
- createTypeNameFromMirror(TypeMirror) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Converts a type mirror to a type name during annotation processing.
- ctorBuilderAcceptTypeName() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the streamable accept type of the builder and constructor.
- CURRENT_BUILDER_VERSION - Static variable in class io.helidon.builder.processor.tools.Versions
-
The current release is
Versions.BUILDER_VERSION_1.
D
- DefaultBuilderCreatorProvider - Class in io.helidon.builder.processor.tools
-
Default implementation for
BuilderCreatorProvider. - DefaultBuilderCreatorProvider() - Constructor for class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Deprecated.
- doingConcreteType() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if we are currently processing the concrete builder type.
E
- extractValue(AnnotationMirror, Elements) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Extracts the singular
value()value. - extractValues(Map<? extends ExecutableElement, ? extends AnnotationValue>) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Extracts values from the annotation element values.
- extractValues(AnnotationMirror, Elements) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Extracts values from the annotation mirror value.
- extraImplementedBuilderContracts(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns any extra 'implements' contract types that should be on the main generated builder type.
- extraImplementedTypeNames(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns any extra 'implements' contract types that should be on the main generated type.
F
- fieldModifier() - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns the "final" field modifier by default.
- findAnnotationMirror(String, Collection<? extends AnnotationMirror>) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Locate an annotation mirror by name.
G
- generatedCopyrightHeaderFor(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns the copyright level header comment.
- generatedStickerFor(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns the
Generatedsticker to be added. - generatedStickerFor(String, String) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Produces the generated sticker annotation attribute contents.
- generatedVersionFor(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns the
Generatedversion identifier. - genericBuilderAcceptAliasDecl() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the builder generics alias name for the builder itself.
- genericBuilderAliasDecl() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the builder generics alias name for the type being built.
- genericBuilderClassDecl() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the generic declaration for the builder class type.
H
- hasAnyBuilderClashingMethodNames() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if any getter methods from the target clash with any builder method name.
- hasOtherMethod(String, TypeInfo) - Method in class io.helidon.builder.processor.tools.BodyContext
-
Checks whether there is an "other" method that matches the signature.
- hasParent() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if the current type has a parent.
- hasStreamSupportOnBuilder() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if there is stream support included on the builder generated class.
- hasStreamSupportOnImpl() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if there is stream support included on the generated class.
I
- implTypeName() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the impl type name.
- includeGeneratedAnnotation() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if
jakarta.annotations.Generatedannotation should be generated. - includeMetaAttributes() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if meta attributes should be generated.
- instanceIdRef(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
The nuanced instance id for the
DefaultBuilderCreatorProvider.appendToStringMethod(StringBuilder, BodyContext). - interceptorCreateMethod() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the interceptor create method name.
- interceptorTypeName() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the interceptor implementation type name.
- io.helidon.builder.processor.tools - module io.helidon.builder.processor.tools
-
The Builder Processor Tools module.
- io.helidon.builder.processor.tools - package io.helidon.builder.processor.tools
-
The Helidon Builder Processor Tools package.
- isBooleanType(Class<?>) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Returns true if the provided type is a boolean type.
- isBooleanType(String) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Returns true if the provided type name is a boolean type.
- isBuiltInJavaType(TypeName) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Returns true if the given type is known to be a built-in java type (e.g., package name starts with "java").
- isExtendingAnAbstractClass() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if this builder is extending an abstract class as a target.
- isReservedWord(String) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Returns true if the word provided is considered to be a reserved word and should otherwise be avoided from generation.
- isValidMethodType(String) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Returns true if the return type is valid for a bean (e.g., not void, etc.).
L
- listType() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the list type generated.
M
- map() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the map of all type elements in the entire hierarchy.
- mapType() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the map type generated.
- maybeAppendInterceptor(StringBuilder, BodyContext, String) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends any interceptor on the builder.
- maybeAppendSingularSetter(StringBuilder, BodyContext, TypedElementName, String, boolean, boolean, boolean) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Appends the singular setter methods on the builder.
- maybeSingularFormOf(String) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
If the provided name ends in an "s" then this will return the base name with the s stripped off.
N
- nameOf(TypedElementName) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Attempts to use the singular name of the element, defaulting to the element name if no singular annotation exists.
- normalizeConfiguredOptionKey(String, String, boolean) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Normalize the configured option key.
O
- overridesVisitAttributes(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Return true if the visitAttributes() methods is being overridden.
P
- parentAnnotationTypeName() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the parent annotation type name.
- parentTypeName() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the parent type name of the builder.
- postValidate(List<TypeAndBody>) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Can be overridden to validate the result before it is returned to the framework.
- preValidate(TypeName, TypeInfo, AnnotationAndValue) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Validates the integrity of the provided arguments in the context of what is being code generated.
- publicOrPackagePrivateDecl() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns "public" or "" for public or package private declaration, accordingly.
R
- requireLibraryDependencies() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns true if Helidon library dependencies should be expected.
S
- setType() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the set type generated.
- supportedAnnotationTypes() - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
T
- toAbstractImplTypeName(TypeName, AnnotationAndValue) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Constructs the abstract implementation type name for what is code generated.
- toBeanAttributeName(TypedElementName, boolean) - Static method in class io.helidon.builder.processor.tools.BodyContext
-
returns the bean attribute name of a particular method.
- toBody(BodyContext) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Generates the body of the generated builder class.
- toBuilderImplTypeName(TypeName, AnnotationAndValue) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Returns the default implementation Builder's class name for what is code generated.
- toConfigKey(String, boolean) - Method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Applicable if this builder is intended for config beans.
- toConfiguredOptionValue(TypedElementName, boolean, boolean) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Extracts the value from the method, ignoring
ConfiguredOption.UNCONFIGURED. - toElementInfo(TypeElement, ProcessingEnvironment, boolean, boolean) - Method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Translation the arguments to a collection of
TypedElementName's. - toGenerics(TypedElementName, boolean) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Produces the generic descriptor decl for the method.
- toGenerics(TypeName, boolean) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Produces the generic descriptor decl for the method.
- toString() - Method in class io.helidon.builder.processor.tools.BodyContext
- toString(Collection<?>) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Walk the collection to build a separator-delimited string value.
- toString(Collection<T>, Optional<Function<T, String>>, Optional<String>) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Walk the collection to build a separator-delimited string value.
- toTypeElement(TypeMirror) - Static method in class io.helidon.builder.processor.tools.BuilderTypeTools
-
Translates a
TypeMirrorinto aTypeElement. - toValue(Class<? extends Annotation>, TypedElementName, boolean, boolean) - Static method in class io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider
-
Retrieves the default value of the method to a string value.
- typeInfo() - Method in class io.helidon.builder.processor.tools.BodyContext
-
Returns the type info.
V
- validateAndParseMethodName(String, String, boolean, AtomicReference<Optional<List<String>>>) - Static method in class io.helidon.builder.processor.tools.BeanUtils
-
Validates the method, and will optionally throw if the throw message supplier is passed.
- Versions - Class in io.helidon.builder.processor.tools
-
Keeps track of the Builder Interop Versions.
All Classes and Interfaces|All Packages|Constant Field Values