Class InnerClass.Builder
java.lang.Object
io.helidon.common.processor.classmodel.ClassBase.Builder<InnerClass.Builder,InnerClass>
io.helidon.common.processor.classmodel.InnerClass.Builder
- All Implemented Interfaces:
Builder<InnerClass.Builder,,InnerClass> Supplier<InnerClass>
- Enclosing class:
InnerClass
public static final class InnerClass.Builder
extends ClassBase.Builder<InnerClass.Builder,InnerClass>
Fluent API builder for
InnerClass.-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(Annotation annotation) Add new annotation to the component.addAnnotation(Annotation.Builder builder) Add new annotation to the component.addAnnotation(Consumer<Annotation.Builder> consumer) Add new annotation to the component.addDescriptionLine(String line) build()Build the instance from this builder.description(String description) description(List<String> description) includeImport(boolean includeImport) Whether to include import type information among the imports.isStatic(boolean isStatic) Methods inherited from class io.helidon.common.processor.classmodel.ClassBase.Builder
accessModifier, addConstructor, addField, addField, addField, addGenericArgument, addGenericArgument, addImport, addImport, addImport, addInnerClass, addInnerClass, addInnerClass, addInterface, addInterface, addInterface, addJavadocTag, addMethod, addMethod, addMethod, addStaticImport, classType, isAbstract, isFinal, javadoc, superType, superType, superType
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
-
isStatic
-
description
-
description
-
addDescriptionLine
-
addAnnotation
Add new annotation to the component.- Parameters:
consumer- annotation builder consumer- Returns:
- updated builder instance
-
addAnnotation
Add new annotation to the component.- Parameters:
builder- annotation builder- Returns:
- updated builder instance
-
addAnnotation
Add new annotation to the component.- Parameters:
annotation- annotation instance- Returns:
- updated builder instance
-
name
-
includeImport
Whether to include import type information among the imports.- Parameters:
includeImport-- Returns:
-