Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractElementBuilder<ThisType> - Class in io.micronaut.sourcegen.model
The abstract element builder.
AbstractElementBuilder(String) - Constructor for class io.micronaut.sourcegen.model.AbstractElementBuilder
 
add(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
add(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
Add code with positional or relative arguments.
addAnnotation(AnnotationSpec) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addAnnotation(AnnotationSpec) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addAnnotation(AnnotationSpec) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addAnnotation(AnnotationSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addAnnotation(ClassName) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addAnnotation(ClassName) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addAnnotation(ClassName) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addAnnotation(ClassName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addAnnotation(AnnotationDef) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addAnnotation(ClassTypeDef) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addAnnotation(Class<?>) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addAnnotation(Class<?>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addAnnotation(Class<?>) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addAnnotation(Class<?>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addAnnotation(Class<? extends Annotation>) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addAnnotation(String) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addAnnotations(Iterable<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addAnnotations(Iterable<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addAnnotations(Iterable<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addAnnotations(Iterable<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addCode(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addCode(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addComment(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addEnumConstant(String) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addEnumConstant(String) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
 
addEnumConstant(String, TypeSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addException(TypeName) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addException(Type) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addExceptions(Iterable<? extends TypeName>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addField(FieldSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addField(TypeName, String, Modifier...) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addField(FieldDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
addField(Type, String, Modifier...) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addFields(Iterable<FieldSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addFileComment(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
addInitializerBlock(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addJavadoc(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addJavadoc(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addJavadoc(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addJavadoc(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addJavadoc(String) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addJavadoc(String) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addJavadoc(String) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addJavadoc(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addJavadoc(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addJavadoc(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addJavadoc(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addMember(String, AnnotationSpec) - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
 
addMember(String, CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
 
addMember(String, AnnotationDef) - Method in class io.micronaut.sourcegen.model.AnnotationDef.AnnotationDefBuilder
 
addMember(String, Object) - Method in class io.micronaut.sourcegen.model.AnnotationDef.AnnotationDefBuilder
 
addMember(String, String, Object...) - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
 
addMember(String, Collection<Object>) - Method in class io.micronaut.sourcegen.model.AnnotationDef.AnnotationDefBuilder
 
addMethod(MethodSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addMethod(MethodDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
addMethod(MethodDef) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
 
addMethod(MethodDef) - Method in class io.micronaut.sourcegen.model.InterfaceDef.InterfaceDefBuilder
 
addMethod(MethodDef) - Method in class io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
 
addMethods(Iterable<MethodSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addModifiers(Iterable<Modifier>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addModifiers(Iterable<Modifier>) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addModifiers(Modifier...) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
addModifiers(Modifier...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addModifiers(Modifier...) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
addModifiers(Modifier...) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addModifiers(Modifier...) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
addNamed(String, Map<String, ?>) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
Adds code using named arguments.
addNamedCode(String, Map<String, ?>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addOriginatingElement(Element) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addParameter(ParameterSpec) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addParameter(TypeName, String, Modifier...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addParameter(ParameterDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
addParameter(Type, String, Modifier...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addParameter(String, TypeDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
addParameter(String, Class<?>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
addParameters(Iterable<ParameterSpec>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addPermittedSubclass(TypeName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addPermittedSubclasses(Iterable<? extends TypeName>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addProperty(PropertyDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
addProperty(PropertyDef) - Method in class io.micronaut.sourcegen.model.InterfaceDef.InterfaceDefBuilder
 
addProperty(PropertyDef) - Method in class io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
 
addRecordComponent(ParameterSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addRecordComponents(Iterable<ParameterSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addStatement(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
addStatement(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addStatement(StatementDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
addStatement(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
addStatement(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addStatements(Collection<StatementDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
addStaticBlock(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addStaticImport(ClassName, String...) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
addStaticImport(Class<?>, String...) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
addStaticImport(Enum<?>) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
addSuperinterface(TypeName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addSuperinterface(TypeDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
addSuperinterface(TypeDef) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
 
addSuperinterface(TypeDef) - Method in class io.micronaut.sourcegen.model.InterfaceDef.InterfaceDefBuilder
 
addSuperinterface(TypeDef) - Method in class io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
 
addSuperinterface(Type) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addSuperinterface(Type, boolean) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addSuperinterface(TypeMirror) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addSuperinterface(TypeMirror, boolean) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addSuperinterfaces(Iterable<? extends TypeName>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addType(TypeSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addTypes(Iterable<TypeSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addTypeVariable(TypeVariableName) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addTypeVariable(TypeVariableName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
addTypeVariable(TypeDef.TypeVariable) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
addTypeVariable(TypeDef.TypeVariable) - Method in class io.micronaut.sourcegen.model.InterfaceDef.InterfaceDefBuilder
 
addTypeVariable(TypeDef.TypeVariable) - Method in class io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
 
addTypeVariables(Iterable<TypeVariableName>) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
addTypeVariables(Iterable<TypeVariableName>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
after(StatementDef) - Method in interface io.micronaut.sourcegen.model.StatementDef
The helper method to turn this statement into a multi statement.
alwaysQualifiedNames - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
alwaysQualifiedNames - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
alwaysQualify(String...) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
annotated(AnnotationSpec...) - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.ClassName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
annotated(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
annotatedWith() - Element in annotation interface io.micronaut.sourcegen.annotations.Builder
Define what annotations should be added to the generated builder.
annotatedWith() - Element in annotation interface io.micronaut.sourcegen.annotations.SuperBuilder
Define what annotations should be added to the generated builder.
annotation() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.AnnotationSpecValue
Returns the value of the annotation record component.
ANNOTATION - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
 
annotationBuilder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
annotationBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
AnnotationDef - Class in io.micronaut.sourcegen.model
The annotation definition.
AnnotationDef.AnnotationDefBuilder - Class in io.micronaut.sourcegen.model
The annotation definition builder.
AnnotationDefBuilder(ClassTypeDef) - Constructor for class io.micronaut.sourcegen.model.AnnotationDef.AnnotationDefBuilder
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.TypeName
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
annotations - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
annotations - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
AnnotationSpec - Class in io.micronaut.sourcegen.javapoet
A generated annotation on a declaration.
AnnotationSpec.AnnotationSpecValue - Record Class in io.micronaut.sourcegen.javapoet
 
AnnotationSpec.AnnotationValueSpec - Interface in io.micronaut.sourcegen.javapoet
 
AnnotationSpec.Builder - Class in io.micronaut.sourcegen.javapoet
 
AnnotationSpec.CodeAnnotationValue - Record Class in io.micronaut.sourcegen.javapoet
 
AnnotationSpecValue(AnnotationSpec) - Constructor for record class io.micronaut.sourcegen.javapoet.AnnotationSpec.AnnotationSpecValue
Creates an instance of a AnnotationSpecValue record class.
anonymousClassBuilder(CodeBlock) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
anonymousClassBuilder(String, Object...) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
anonymousTypeArguments - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
array(TypeDef) - Static method in interface io.micronaut.sourcegen.model.TypeDef
 
array(TypeDef, int) - Static method in interface io.micronaut.sourcegen.model.TypeDef
 
Array(TypeDef, int, boolean) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.Array
Creates an instance of a Array record class.
ArrayTypeName - Class in io.micronaut.sourcegen.javapoet
 
asCondition(String, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The condition of this variable.
asConditionIf(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The conditional statement based on this expression.
asConditionIfElse(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The conditional if else expression.
asConditionIfElse(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The conditional statement based on this expression.
asExpression() - Method in class io.micronaut.sourcegen.model.ParameterDef
 
asExpressionSwitch(TypeDef, Map<ExpressionDef.Constant, ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Turn this expression into an expression switch.
assign(ExpressionDef) - Method in interface io.micronaut.sourcegen.model.VariableDef
Assign this variable an expression.
assign(ParameterDef) - Method in interface io.micronaut.sourcegen.model.VariableDef
Assign this variable a parameter value.
Assign(VariableDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Assign
Creates an instance of a Assign record class.
asStatementSwitch(TypeDef, Map<ExpressionDef.Constant, StatementDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Turn this expression into a statement switch.
asTypeDef() - Method in interface io.micronaut.sourcegen.model.ObjectDef
 
asVariable() - Method in class io.micronaut.sourcegen.model.ParameterDef
 
avoidClashesWithNestedClasses(Class<?>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
Call this to always fully qualify any types that would conflict with possibly nested types of this typeElement.
avoidClashesWithNestedClasses(TypeElement) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
Call this to always fully qualify any types that would conflict with possibly nested types of this typeElement.

B

beginControlFlow(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
beginControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
beginControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
bestGuess(String) - Static method in class io.micronaut.sourcegen.javapoet.ClassName
Returns a new ClassName instance for the given fully-qualified class name string.
BOOLEAN - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
BOOLEAN - Static variable in interface io.micronaut.sourcegen.model.TypeDef
 
bounds - Variable in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
bounds() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Returns the value of the bounds record component.
box() - Method in class io.micronaut.sourcegen.javapoet.TypeName
Returns a boxed type if this is a primitive type (like Integer for int) or void.
build() - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
build() - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
build() - Method in class io.micronaut.sourcegen.model.AnnotationDef.AnnotationDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.FieldDef.FieldDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.InterfaceDef.InterfaceDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.ParameterDef.ParameterDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.PropertyDef.PropertyDefBuilder
 
build() - Method in class io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
 
build(BiFunction<VariableDef.This, List<ParameterDef>, StatementDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
builder() - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
builder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
builder(TypeName, String, Modifier...) - Static method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
builder(TypeName, String, Modifier...) - Static method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
builder(ClassTypeDef) - Static method in class io.micronaut.sourcegen.model.AnnotationDef
 
builder(Class<?>) - Static method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
builder(Class<? extends Annotation>) - Static method in class io.micronaut.sourcegen.model.AnnotationDef
 
builder(Type, String, Modifier...) - Static method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
builder(Type, String, Modifier...) - Static method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
builder(String) - Static method in class io.micronaut.sourcegen.model.ClassDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.EnumDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.FieldDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.InterfaceDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.MethodDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.PropertyDef
 
builder(String) - Static method in class io.micronaut.sourcegen.model.RecordDef
 
builder(String, TypeSpec) - Static method in class io.micronaut.sourcegen.javapoet.JavaFile
 
builder(String, TypeDef) - Static method in class io.micronaut.sourcegen.model.ParameterDef
 
Builder - Annotation Interface in io.micronaut.sourcegen.annotations
The builder annotation on a bean should create a builder.
BUILDER_ANNOTATED_WITH_MEMBER - Static variable in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
BuilderAnnotationVisitor - Class in io.micronaut.sourcegen.generator.visitors
The visitor that is generation a builder.
BuilderAnnotationVisitor() - Constructor for class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
BYTE - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 

C

CallInstanceMethod(ExpressionDef, MethodDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
 
CallInstanceMethod(ExpressionDef, String, List<ExpressionDef>, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Creates an instance of a CallInstanceMethod record class.
CallStaticMethod(ClassTypeDef, String, List<ExpressionDef>, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Creates an instance of a CallStaticMethod record class.
canonicalName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the full class name of this class.
cases() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Returns the value of the cases record component.
cases() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Returns the value of the cases record component.
CHAR - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
characterLiteralWithoutSingleQuotes(char) - Static method in class io.micronaut.sourcegen.javapoet.Util
 
CLASS - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
 
classBuilder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
classBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
classDef() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Returns the value of the classDef record component.
classDef() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns the value of the classDef record component.
ClassDef - Class in io.micronaut.sourcegen.model
The class definition.
ClassDef.ClassDefBuilder - Class in io.micronaut.sourcegen.model
The class definition builder.
ClassDefType(ClassDef, boolean) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Creates an instance of a ClassDefType record class.
classElement() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Returns the value of the classElement record component.
ClassElementType(ClassElement, boolean) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Creates an instance of a ClassElementType record class.
className() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Returns the value of the className record component.
ClassName - Class in io.micronaut.sourcegen.javapoet
A fully-qualified class name for top-level and member classes.
ClassName(String, boolean) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Creates an instance of a ClassName record class.
ClassTypeDef - Interface in io.micronaut.sourcegen.model
The class type definition.
ClassTypeDef.ClassDefType - Record Class in io.micronaut.sourcegen.model
The class def element type.
ClassTypeDef.ClassElementType - Record Class in io.micronaut.sourcegen.model
The class element type.
ClassTypeDef.ClassName - Record Class in io.micronaut.sourcegen.model
The class name type.
ClassTypeDef.JavaClass - Record Class in io.micronaut.sourcegen.model
The class type.
ClassTypeDef.Parameterized - Record Class in io.micronaut.sourcegen.model
The parameterized type definition.
clear() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
clone() - Method in class io.micronaut.sourcegen.javapoet.NameAllocator
Create a deep copy of this NameAllocator.
code - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
CodeAnnotationValue(CodeBlock) - Constructor for record class io.micronaut.sourcegen.javapoet.AnnotationSpec.CodeAnnotationValue
Creates an instance of a CodeAnnotationValue record class.
codeBlock() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.CodeAnnotationValue
Returns the value of the codeBlock record component.
CodeBlock - Class in io.micronaut.sourcegen.javapoet
A fragment of a .java file, potentially containing declarations, statements, and documentation.
CodeBlock.Builder - Class in io.micronaut.sourcegen.javapoet
 
compactConstructor - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
compactConstructor(MethodSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
Sets the compact constructor for this builder.
compareTo(ClassName) - Method in class io.micronaut.sourcegen.javapoet.ClassName
 
componentType - Variable in class io.micronaut.sourcegen.javapoet.ArrayTypeName
 
componentType() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Returns the value of the componentType record component.
concat(CodeBlock...) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
Concatenates codeBlocks into a single CodeBlock.
concatAnnotations(List<AnnotationSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
condition() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Returns the value of the condition record component.
condition() - Method in record class io.micronaut.sourcegen.model.StatementDef.If
Returns the value of the condition record component.
condition() - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Returns the value of the condition record component.
Condition(String, ExpressionDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Creates an instance of a Condition record class.
constant(Object) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
Resolve a constant for the given type from the string.
constant(ClassElement, TypeDef, Object) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
Resolve a constant for the given type from the string.
Constant(TypeDef, Object) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Creates an instance of a Constant record class.
constructor() - Static method in class io.micronaut.sourcegen.model.MethodDef
 
constructor(ClassTypeDef, Collection<ParameterDef>) - Static method in class io.micronaut.sourcegen.model.MethodDef
Create a new constructor with parameters assigned to fields with the same name.
CONSTRUCTOR - Static variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
constructorBuilder() - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
convert(TypeDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Convert this variable to a different type.
Convert(TypeDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Creates an instance of a Convert record class.

D

defaultValue - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
defaultValue(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
defaultValue(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
defineAndAssign(ExpressionDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Define and assign the variable.
DefineAndAssign(VariableDef.Local, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Creates an instance of a DefineAndAssign record class.
dimensions() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Returns the value of the dimensions record component.
doThrow(ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Throw an exception.
doThrow(List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Throw an exception.
DOUBLE - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 

E

elseExpression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Returns the value of the elseExpression record component.
elseStatement() - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Returns the value of the elseStatement record component.
enclosingClassName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the enclosing class, like Map for Map.Entry.
endControlFlow() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
endControlFlow() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
endControlFlow(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
endControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
endControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
ENUM - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
 
enumBuilder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
enumBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
enumConstants - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
enumConstants - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
EnumDef - Class in io.micronaut.sourcegen.model
The enum definition.
EnumDef.EnumDefBuilder - Class in io.micronaut.sourcegen.model
The enum definition builder.
equals(Object) - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.AnnotationSpecValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.CodeAnnotationValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
equals(Object) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
equals(Object) - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Assign
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.If
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Multi
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Return
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Throw
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.While
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.sourcegen.model.VariableDef.This
Indicates whether some other object is "equal to" this one.
exceptions - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.Assign
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.Return
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Returns the value of the expression record component.
expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.While
Returns the value of the expression record component.
expressionDef() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Returns the value of the expressionDef record component.
ExpressionDef - Interface in io.micronaut.sourcegen.model
The expression definition.
ExpressionDef.CallInstanceMethod - Record Class in io.micronaut.sourcegen.model
The call an instance method expression.
ExpressionDef.CallStaticMethod - Record Class in io.micronaut.sourcegen.model
The call a static method expression.
ExpressionDef.Condition - Record Class in io.micronaut.sourcegen.model
The condition operator.
ExpressionDef.Constant - Record Class in io.micronaut.sourcegen.model
The constant expression.
ExpressionDef.Convert - Record Class in io.micronaut.sourcegen.model
The convert variable expression.
ExpressionDef.IfElse - Record Class in io.micronaut.sourcegen.model
The if-else expression.
ExpressionDef.NewArrayInitialized - Record Class in io.micronaut.sourcegen.model
The new array expression.
ExpressionDef.NewArrayOfSize - Record Class in io.micronaut.sourcegen.model
The new array expression.
ExpressionDef.NewInstance - Record Class in io.micronaut.sourcegen.model
The new instance expression.
ExpressionDef.Switch - Record Class in io.micronaut.sourcegen.model
The switch expression.
ExpressionDef.SwitchYieldCase - Record Class in io.micronaut.sourcegen.model
The switch yield case expression.
expressions() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Returns the value of the expressions record component.

F

falseValue() - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
 
field(FieldDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Reference the field of this variable.
field(String, TypeDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Reference the field of this variable.
Field(ExpressionDef, String, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.Field
Creates an instance of a Field record class.
FieldDef - Class in io.micronaut.sourcegen.model
The field definition.
FieldDef.FieldDefBuilder - Class in io.micronaut.sourcegen.model
The field builder definition.
FieldSpec - Class in io.micronaut.sourcegen.javapoet
A generated field declaration.
FieldSpec.Builder - Class in io.micronaut.sourcegen.javapoet
 
fieldSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
fieldSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
fileComment - Variable in class io.micronaut.sourcegen.javapoet.JavaFile
 
findByLanguage(VisitorContext.Language) - Static method in class io.micronaut.sourcegen.generator.SourceGenerators
 
findField(String) - Method in class io.micronaut.sourcegen.model.ClassDef
 
findParameter(String) - Method in class io.micronaut.sourcegen.model.MethodDef
 
flatten() - Method in interface io.micronaut.sourcegen.model.StatementDef
Flatten the collection.
flatten() - Method in record class io.micronaut.sourcegen.model.StatementDef.Multi
 
FLOAT - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 

G

get(ClassName, TypeName...) - Static method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
Returns a parameterized type, applying typeArguments to rawType.
get(Annotation) - Static method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
get(Annotation, boolean) - Static method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
get(Class<?>) - Static method in class io.micronaut.sourcegen.javapoet.ClassName
 
get(Class<?>, Type...) - Static method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
Returns a parameterized type, applying typeArguments to rawType.
get(Object) - Method in class io.micronaut.sourcegen.javapoet.NameAllocator
Retrieve a name created with NameAllocator.newName(String, Object).
get(GenericArrayType) - Static method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
Returns an array type equivalent to type.
get(ParameterizedType) - Static method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
Returns a parameterized type equivalent to type.
get(Type) - Static method in class io.micronaut.sourcegen.javapoet.TypeName
Returns a type name equivalent to type.
get(TypeVariable<?>) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable equivalent to type.
get(WildcardType) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
get(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable named name without bounds.
get(String, TypeName...) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable named name with bounds.
get(String, Type...) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable named name with bounds.
get(String, String, String...) - Static method in class io.micronaut.sourcegen.javapoet.ClassName
Returns a class name created from the given parts.
get(AnnotationMirror) - Static method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
get(TypeElement) - Static method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the class name for element.
get(TypeParameterElement) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable equivalent to element.
get(VariableElement) - Static method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
get(ArrayType) - Static method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
Returns an array type equivalent to mirror.
get(TypeMirror) - Static method in class io.micronaut.sourcegen.javapoet.TypeName
Returns a type name equivalent to mirror.
get(TypeVariable) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
Returns type variable equivalent to mirror.
get(WildcardType) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
getAll() - Static method in class io.micronaut.sourcegen.generator.SourceGenerators
 
getAnnotations() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getEnumConstants() - Method in class io.micronaut.sourcegen.model.EnumDef
 
getField(String) - Method in class io.micronaut.sourcegen.model.ClassDef
 
getFields() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getInitializer() - Method in class io.micronaut.sourcegen.model.FieldDef
 
getJavadoc() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getLanguage() - Method in interface io.micronaut.sourcegen.generator.SourceGenerator
 
getLanguage() - Method in class io.micronaut.sourcegen.GroovyPoetSourceGenerator
 
getLanguage() - Method in class io.micronaut.sourcegen.JavaPoetSourceGenerator
 
getMethods() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getMethods() - Method in class io.micronaut.sourcegen.model.EnumDef
 
getMethods() - Method in class io.micronaut.sourcegen.model.InterfaceDef
 
getMethods() - Method in class io.micronaut.sourcegen.model.RecordDef
 
getModifiers() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getModifiersArray() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getName() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
 
getName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
 
getName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
 
getName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
 
getName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
 
getName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
 
getName() - Method in interface io.micronaut.sourcegen.model.ObjectDef
 
getPackageName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
 
getPackageName() - Method in interface io.micronaut.sourcegen.model.ObjectDef
 
getParameter(String) - Method in class io.micronaut.sourcegen.model.MethodDef
 
getParameters() - Method in class io.micronaut.sourcegen.model.MethodDef
 
getProperties() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getProperties() - Method in class io.micronaut.sourcegen.model.InterfaceDef
 
getProperties() - Method in class io.micronaut.sourcegen.model.RecordDef
 
getReturnType() - Method in class io.micronaut.sourcegen.model.MethodDef
 
getSimpleName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
 
getSimpleName() - Method in interface io.micronaut.sourcegen.model.ObjectDef
 
getStatements() - Method in class io.micronaut.sourcegen.model.MethodDef
 
getSuperclass() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getSuperinterfaces() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getSuperinterfaces() - Method in class io.micronaut.sourcegen.model.EnumDef
 
getSuperinterfaces() - Method in class io.micronaut.sourcegen.model.InterfaceDef
 
getSuperinterfaces() - Method in class io.micronaut.sourcegen.model.RecordDef
 
getSupportedAnnotationNames() - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
getType() - Method in class io.micronaut.sourcegen.model.AnnotationDef
 
getType() - Method in class io.micronaut.sourcegen.model.FieldDef
 
getType() - Method in class io.micronaut.sourcegen.model.ParameterDef
 
getType() - Method in class io.micronaut.sourcegen.model.PropertyDef
 
getTypeVariables() - Method in class io.micronaut.sourcegen.model.ClassDef
 
getTypeVariables() - Method in class io.micronaut.sourcegen.model.InterfaceDef
 
getTypeVariables() - Method in class io.micronaut.sourcegen.model.RecordDef
 
getValues() - Method in class io.micronaut.sourcegen.model.AnnotationDef
 
getVisitorKind() - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
getVisitorKind() - Method in class io.micronaut.sourcegen.generator.visitors.SuperBuilderAnnotationVisitor
 
getVisitorKind() - Method in class io.micronaut.sourcegen.generator.visitors.WitherAnnotationVisitor
 
GroovyPoetSourceGenerator - Class in io.micronaut.sourcegen
Reuse the Java source generator for Groovy.
GroovyPoetSourceGenerator() - Constructor for class io.micronaut.sourcegen.GroovyPoetSourceGenerator
 

H

handleFatalException(Element, Class<? extends Annotation>, Exception, Consumer<RuntimeException>) - Static method in class io.micronaut.sourcegen.generator.SourceGenerators
Utility method for handling exceptions.
hasField(String) - Method in class io.micronaut.sourcegen.model.ClassDef
 
hashCode() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.AnnotationSpecValue
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.CodeAnnotationValue
Returns a hash code value for this object.
hashCode() - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
hashCode() - Method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
hashCode() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Assign
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.If
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Multi
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Return
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Throw
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.While
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.sourcegen.model.VariableDef.This
Returns a hash code value for this object.
hasModifier(Modifier) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
hasModifier(Modifier) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
hasModifier(Modifier) - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
hasModifier(Modifier) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec
 

I

If(ExpressionDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.If
Creates an instance of a If record class.
IfElse(ExpressionDef, ExpressionDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Creates an instance of a IfElse record class.
IfElse(ExpressionDef, StatementDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.IfElse
Creates an instance of a IfElse record class.
indent() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
indent(String) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
initializer - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
initializer(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
initializer(ExpressionDef) - Method in class io.micronaut.sourcegen.model.FieldDef.FieldDefBuilder
 
initializer(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
initializerBlock - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns the value of the instance record component.
instance() - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Returns the value of the instance record component.
instantiate() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Instantiate this class.
instantiate(ClassTypeDef) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
The new instance expression.
instantiate(ClassTypeDef, List<ExpressionDef>) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
The new instance expression.
instantiate(ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Instantiate this class.
instantiate(List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Instantiate this class.
instantiateArray(int) - Method in interface io.micronaut.sourcegen.model.TypeDef
Instantiate an array of this class.
instantiateArray(ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.TypeDef
Instantiate an array of this class.
instantiateArray(List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.TypeDef
Instantiate an array of this class.
INT - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
INTERFACE - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
 
interfaceBuilder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
interfaceBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
InterfaceDef - Class in io.micronaut.sourcegen.model
The interface definition.
InterfaceDef.InterfaceDefBuilder - Class in io.micronaut.sourcegen.model
The interface definition builder.
invoke(MethodElement, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invoke(MethodElement, List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invoke(MethodDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invoke(VariableDef, String, List<ExpressionDef>, TypeDef) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invoke(String, TypeDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invoke(String, TypeDef, List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invokeStatic(ClassTypeDef, String, List<ExpressionDef>, TypeDef) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
The call the instance method expression.
invokeStatic(String, TypeDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Invoke static method.
invokeStatic(String, TypeDef, List<ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
Invoke static method.
io.micronaut.sourcegen - package io.micronaut.sourcegen
 
io.micronaut.sourcegen.annotations - package io.micronaut.sourcegen.annotations
 
io.micronaut.sourcegen.generator - package io.micronaut.sourcegen.generator
 
io.micronaut.sourcegen.generator.visitors - package io.micronaut.sourcegen.generator.visitors
 
io.micronaut.sourcegen.javapoet - package io.micronaut.sourcegen.javapoet
 
io.micronaut.sourcegen.model - package io.micronaut.sourcegen.model
 
isAnnotated() - Method in class io.micronaut.sourcegen.javapoet.ClassName
 
isAnnotated() - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
isBoxedPrimitive() - Method in class io.micronaut.sourcegen.javapoet.TypeName
Returns true if this is a boxed primitive type like Integer.
isConstructor() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
isEmpty() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
isEmpty() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
isEnum() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
 
isEnum() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
 
isEnum() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
 
isNonNull() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
 
isNull() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
 
isNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
 
isNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
 
isNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
 
isNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
 
isNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
 
isNullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
 
isNullable() - Method in interface io.micronaut.sourcegen.model.TypeDef
 
isPrimitive() - Method in class io.micronaut.sourcegen.javapoet.TypeName
Returns true if this is a primitive type like int.

J

JavaClass(Class<?>, boolean) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Creates an instance of a JavaClass record class.
javadoc - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
javadoc - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
javadoc - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
javadoc - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
javadoc - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
JavaFile - Class in io.micronaut.sourcegen.javapoet
A Java file containing a single top level class.
JavaFile.Builder - Class in io.micronaut.sourcegen.javapoet
 
JavaPoetSourceGenerator - Class in io.micronaut.sourcegen
The Java source generator.
JavaPoetSourceGenerator() - Constructor for class io.micronaut.sourcegen.JavaPoetSourceGenerator
 
join(Iterable<CodeBlock>, String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
Joins codeBlocks into a single CodeBlock, each separated by separator.
joining(String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
A Collector implementation that joins CodeBlock instances together into one separated by separator.
joining(String, String, String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
A Collector implementation that joins CodeBlock instances together into one separated by separator.

K

kind - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 

L

left() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Returns the value of the left record component.
Local(String, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.Local
Creates an instance of a Local record class.
LONG - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
lowerBounds - Variable in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
lowerBounds() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Returns the value of the lowerBounds record component.

M

makeNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
 
makeNullable() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
 
makeNullable() - Method in interface io.micronaut.sourcegen.model.TypeDef
 
makeNullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
 
members - Variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
 
members - Variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
methodBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
MethodDef - Class in io.micronaut.sourcegen.model
The method definition.
MethodDef.MethodDefBuilder - Class in io.micronaut.sourcegen.model
The method builder definition.
MethodParameter(ParameterDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
 
MethodParameter(String, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Creates an instance of a MethodParameter record class.
MethodSpec - Class in io.micronaut.sourcegen.javapoet
A generated constructor or method declaration.
MethodSpec.Builder - Class in io.micronaut.sourcegen.javapoet
 
methodSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
methodSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec.Builder
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec.Builder
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
modifiers - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
modifiers - Variable in class io.micronaut.sourcegen.model.PropertyDef
 
modifiers - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
multi(StatementDef...) - Static method in interface io.micronaut.sourcegen.model.StatementDef
The multi line statement.
multi(List<StatementDef>) - Static method in interface io.micronaut.sourcegen.model.StatementDef
The multi line statement.
Multi(List<StatementDef>) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Multi
Creates an instance of a Multi record class.

N

name - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
name - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
name - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
name - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
name - Variable in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
name - Variable in class io.micronaut.sourcegen.model.PropertyDef
 
name - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
 
name() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Returns the value of the name record component.
name() - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Returns the value of the name record component.
NameAllocator - Class in io.micronaut.sourcegen.javapoet
Assigns Java identifier names to avoid collisions, keywords, and invalid characters.
NameAllocator() - Constructor for class io.micronaut.sourcegen.javapoet.NameAllocator
 
nestedClass(String) - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns a new ClassName instance for the specified name as nested inside this class.
nestedClass(String) - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
Returns a new ParameterizedTypeName instance for the specified name as nested inside this class.
nestedClass(String, List<TypeName>) - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
Returns a new ParameterizedTypeName instance for the specified name as nested inside this class, with the specified typeArguments.
NewArrayInitialized(TypeDef.Array, List<ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Creates an instance of a NewArrayInitialized record class.
NewArrayOfSize(TypeDef.Array, int) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Creates an instance of a NewArrayOfSize record class.
NewInstance(ClassTypeDef, List<ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Creates an instance of a NewInstance record class.
newLocal(String) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Turn this expression into a new local variable.
newLocal(String, Function<VariableDef, StatementDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Turn this expression into a new local variable.
newName(String) - Method in class io.micronaut.sourcegen.javapoet.NameAllocator
Return a new name using suggestion that will not be a Java identifier or clash with other names.
newName(String, Object) - Method in class io.micronaut.sourcegen.javapoet.NameAllocator
Return a new name using suggestion that will not be a Java identifier or clash with other names.
nextControlFlow(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
nextControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
nextControlFlow(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
nullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Returns the value of the nullable record component.
nullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Returns the value of the nullable record component.
nullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Returns the value of the nullable record component.
nullable() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Returns the value of the nullable record component.
nullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Returns the value of the nullable record component.
nullValue() - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
 

O

OBJECT - Static variable in class io.micronaut.sourcegen.javapoet.ClassName
 
OBJECT - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
OBJECT - Static variable in interface io.micronaut.sourcegen.model.ClassTypeDef
 
OBJECT - Static variable in interface io.micronaut.sourcegen.model.TypeDef
 
ObjectDef - Interface in io.micronaut.sourcegen.model
The interface defining the object type.
of(AnnotationValue<?>, VisitorContext) - Static method in class io.micronaut.sourcegen.model.AnnotationDef
Create an annotation definition from an AnnotationValue annotation.
of(ClassElement) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
Create a new type definition.
of(ClassElement) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type.
of(TypeName) - Static method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
Returns an array type whose elements are all instances of componentType.
of(ClassDef) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
Create a new type definition.
of(Class<?>) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
Create a new type definition.
of(Class<?>) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type.
of(Type) - Static method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
Returns an array type whose elements are all instances of componentType.
of(String) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
Create a new type definition.
of(String, TypeDef) - Static method in class io.micronaut.sourcegen.model.ParameterDef
 
of(String, Object...) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
ofType(TypeDef) - Method in class io.micronaut.sourcegen.model.FieldDef.FieldDefBuilder
 
ofType(TypeDef) - Method in class io.micronaut.sourcegen.model.PropertyDef.PropertyDefBuilder
 
ofType(Class<?>) - Method in class io.micronaut.sourcegen.model.PropertyDef.PropertyDefBuilder
 
operator() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Returns the value of the operator record component.
originatingElements - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
originatingElements - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
overriding(ExecutableElement) - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
Returns a new method spec builder that overrides method.
overriding(ExecutableElement, DeclaredType, Types) - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
Returns a new method spec builder that overrides method as a member of enclosing.
ownerType() - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Returns the value of the ownerType record component.

P

packageName - Variable in class io.micronaut.sourcegen.javapoet.JavaFile
 
packageName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the package name, like "java.util" for Map.Entry.
ParameterDef - Class in io.micronaut.sourcegen.model
The parameter definition.
ParameterDef.ParameterDefBuilder - Class in io.micronaut.sourcegen.model
The parameter definition builder.
parameterized(ClassTypeDef, TypeDef...) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type with generic parameters.
parameterized(ClassTypeDef, List<TypeDef>) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type with generic parameters.
parameterized(Class<?>, TypeDef...) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type with generic parameters.
parameterized(Class<?>, Class<?>...) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates a new type with generic parameters.
Parameterized(ClassTypeDef, List<TypeDef>) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Creates an instance of a Parameterized record class.
ParameterizedTypeName - Class in io.micronaut.sourcegen.javapoet
 
parameters - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
parameters - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
parameters() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns the value of the parameters record component.
parameters() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns the value of the parameters record component.
ParameterSpec - Class in io.micronaut.sourcegen.javapoet
A generated parameter declaration.
ParameterSpec.Builder - Class in io.micronaut.sourcegen.javapoet
 
peerClass(String) - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns a class that shares the same enclosing package or class.
permittedSubclasses - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
permittedSubclasses - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
primitive(Class<?>) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates new primitive type.
primitive(String) - Static method in interface io.micronaut.sourcegen.model.TypeDef
Creates new primitive type.
Primitive(String) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.Primitive
Creates an instance of a Primitive record class.
PropertyDef - Class in io.micronaut.sourcegen.model
The property definition.
PropertyDef.PropertyDefBuilder - Class in io.micronaut.sourcegen.model
The property builder definition.

R

rawType - Variable in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
 
rawType() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Returns the value of the rawType record component.
RECORD - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
 
recordBuilder(ClassName) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
recordBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
recordComponents - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
recordComponents - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
RecordDef - Class in io.micronaut.sourcegen.model
The class definition.
RecordDef.RecordDefBuilder - Class in io.micronaut.sourcegen.model
The record definition builder.
reflectionName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Return the binary name of a class.
Return(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Return
Creates an instance of a Return record class.
returning() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The statement returning this expression.
returningType() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns the value of the returningType record component.
returningType() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns the value of the returningType record component.
returns(TypeName) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
returns(TypeDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
The return type of the method.
returns(Class<?>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
 
returns(Type) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
returnType - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
right() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Returns the value of the right record component.

S

setName(String) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
SHORT - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
simpleName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the simple name of this class, like "Entry" for Map.Entry.
simpleNames() - Method in class io.micronaut.sourcegen.javapoet.ClassName
 
Singular - Annotation Interface in io.micronaut.sourcegen.annotations
The annotation to be used with Builder or SuperBuilder on a property to create a single element method for filling a collection.
size() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Returns the value of the size record component.
skipJavaLangImports - Variable in class io.micronaut.sourcegen.javapoet.JavaFile
 
skipJavaLangImports(boolean) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
Call this to omit imports for classes in java.lang, such as java.lang.String.
SourceGenerator - Interface in io.micronaut.sourcegen.generator
Source code generator.
SourceGenerators - Class in io.micronaut.sourcegen.generator
The source generators.
start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.SuperBuilderAnnotationVisitor
 
start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.WitherAnnotationVisitor
 
statement() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Returns the value of the statement record component.
statement() - Method in record class io.micronaut.sourcegen.model.StatementDef.If
Returns the value of the statement record component.
statement() - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Returns the value of the statement record component.
statement() - Method in record class io.micronaut.sourcegen.model.StatementDef.While
Returns the value of the statement record component.
StatementDef - Interface in io.micronaut.sourcegen.model
The statement definition.
StatementDef.Assign - Record Class in io.micronaut.sourcegen.model
The assign statement.
StatementDef.DefineAndAssign - Record Class in io.micronaut.sourcegen.model
The local variable definition and assigment statement.
StatementDef.If - Record Class in io.micronaut.sourcegen.model
The if statement.
StatementDef.IfElse - Record Class in io.micronaut.sourcegen.model
The if-else statement.
StatementDef.Multi - Record Class in io.micronaut.sourcegen.model
The multi statement.
StatementDef.Return - Record Class in io.micronaut.sourcegen.model
The return statement.
StatementDef.Switch - Record Class in io.micronaut.sourcegen.model
The switch statement.
StatementDef.Throw - Record Class in io.micronaut.sourcegen.model
The throw statement.
StatementDef.While - Record Class in io.micronaut.sourcegen.model
The while statement.
statements() - Method in record class io.micronaut.sourcegen.model.StatementDef.Multi
Returns the value of the statements record component.
staticBlock - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
StaticField(TypeDef, String, TypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.StaticField
Creates an instance of a StaticField record class.
staticImports - Variable in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
 
subtypeOf(TypeName) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
Returns a type that represents an unknown type that extends bound.
subtypeOf(Type) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
SuperBuilder - Annotation Interface in io.micronaut.sourcegen.annotations
The builder annotation on a bean should create a builder with a support of inheritance.
SuperBuilderAnnotationVisitor - Class in io.micronaut.sourcegen.generator.visitors
The visitor that is generation a builder.
SuperBuilderAnnotationVisitor() - Constructor for class io.micronaut.sourcegen.generator.visitors.SuperBuilderAnnotationVisitor
 
superclass - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
superclass(TypeName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superclass(ClassTypeDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
 
superclass(Type) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superclass(Type, boolean) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superclass(TypeMirror) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superclass(TypeMirror, boolean) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superinterfaces - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
superinterfaces - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
supertypeOf(TypeName) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
Returns a type that represents an unknown supertype of bound.
supertypeOf(Type) - Static method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
Switch(ExpressionDef, TypeDef, Map<ExpressionDef.Constant, ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Creates an instance of a Switch record class.
Switch(ExpressionDef, TypeDef, Map<ExpressionDef.Constant, StatementDef>) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Switch
Creates an instance of a Switch record class.
SwitchYieldCase(TypeDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Creates an instance of a SwitchYieldCase record class.

T

This(TypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.This
Creates an instance of a This record class.
THIS - Static variable in interface io.micronaut.sourcegen.model.TypeDef
A simple type representing a special this-type, in context of a class def, method or field the type will be replaced by the current type.
Throw(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Throw
Creates an instance of a Throw record class.
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
toBuilder() - Method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
toJavaFileObject() - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
toJavaIdentifier(String) - Static method in class io.micronaut.sourcegen.javapoet.NameAllocator
 
topLevelClassName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
Returns the top class in this nesting group.
toString() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.AnnotationSpecValue
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.javapoet.AnnotationSpec.CodeAnnotationValue
Returns a string representation of this record class.
toString() - Method in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
toString() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock
 
toString() - Method in class io.micronaut.sourcegen.javapoet.FieldSpec
 
toString() - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
toString() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec
 
toString() - Method in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
toString() - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
toString() - Method in class io.micronaut.sourcegen.javapoet.TypeSpec
 
toString() - Method in class io.micronaut.sourcegen.model.ClassDef
 
toString() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Assign
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.If
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.IfElse
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Multi
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Return
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Throw
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.While
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.sourcegen.model.VariableDef.This
Returns a string representation of this record class.
trueValue() - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
 
type - Variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
type - Variable in class io.micronaut.sourcegen.javapoet.FieldSpec
 
type - Variable in class io.micronaut.sourcegen.javapoet.ParameterSpec
 
type() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallInstanceMethod
 
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.CallStaticMethod
 
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
 
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Convert
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
 
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayInitialized
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewArrayOfSize
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.SwitchYieldCase
Returns the value of the type record component.
type() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
The type of the expression.
type() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.VariableDef.MethodParameter
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
Returns the value of the type record component.
type() - Method in record class io.micronaut.sourcegen.model.VariableDef.This
Returns the value of the type record component.
typeArguments - Variable in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
 
typeArguments() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
Returns the value of the typeArguments record component.
TypeDef - Interface in io.micronaut.sourcegen.model
The type definition.
TypeDef.Array - Record Class in io.micronaut.sourcegen.model
The type for representing an array.
TypeDef.Primitive - Record Class in io.micronaut.sourcegen.model
The primitive type name.
TypeDef.TypeVariable - Record Class in io.micronaut.sourcegen.model
The type variable ref.
TypeDef.Wildcard - Record Class in io.micronaut.sourcegen.model
The wildcard type definition.
TypeName - Class in io.micronaut.sourcegen.javapoet
Any type in Java's type system, plus void.
typeSpec - Variable in class io.micronaut.sourcegen.javapoet.JavaFile
 
TypeSpec - Class in io.micronaut.sourcegen.javapoet
A generated class, interface, or enum declaration.
TypeSpec.Builder - Class in io.micronaut.sourcegen.javapoet
 
TypeSpec.Kind - Enum Class in io.micronaut.sourcegen.javapoet
 
typeSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
typeSpecs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
TypeVariable(String) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
 
TypeVariable(String, List<TypeDef>) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
Creates an instance of a TypeVariable record class.
TypeVariableName - Class in io.micronaut.sourcegen.javapoet
 
typeVariables - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
typeVariables - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
typeVariables - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
typeVariables - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 

U

unbox() - Method in class io.micronaut.sourcegen.javapoet.TypeName
Returns an unboxed type if this is a boxed primitive type (like int for Integer) or Void.
unindent() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
 
upperBounds - Variable in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
upperBounds() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Returns the value of the upperBounds record component.
Util - Class in io.micronaut.sourcegen.javapoet
Like Guava, but worse and standalone.

V

value() - Element in annotation interface io.micronaut.sourcegen.annotations.Singular
 
value() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Constant
Returns the value of the value record component.
VALUE - Static variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec
 
valueOf(String) - Static method in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
Returns the value of the values record component.
varargs - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
 
varargs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
varargs - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
 
varargs() - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
varargs() - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
varargs(boolean) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
 
varargs(boolean) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
 
variable() - Method in record class io.micronaut.sourcegen.model.StatementDef.Assign
Returns the value of the variable record component.
variable() - Method in record class io.micronaut.sourcegen.model.StatementDef.DefineAndAssign
Returns the value of the variable record component.
variableDef() - Method in record class io.micronaut.sourcegen.model.StatementDef.Throw
Returns the value of the variableDef record component.
VariableDef - Interface in io.micronaut.sourcegen.model
The variable definition.
VariableDef.Field - Record Class in io.micronaut.sourcegen.model
The variable of a field.
VariableDef.Local - Record Class in io.micronaut.sourcegen.model
The local variable.
VariableDef.MethodParameter - Record Class in io.micronaut.sourcegen.model
The variable of a method parameter.
VariableDef.StaticField - Record Class in io.micronaut.sourcegen.model
The variable of a static field.
VariableDef.This - Record Class in io.micronaut.sourcegen.model
The variable of `this`.
visitClass(ClassElement, VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
 
visitClass(ClassElement, VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.SuperBuilderAnnotationVisitor
 
visitClass(ClassElement, VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.WitherAnnotationVisitor
 
VOID - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
 
VOID - Static variable in interface io.micronaut.sourcegen.model.TypeDef
 

W

While(ExpressionDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.While
Creates an instance of a While record class.
whileLoop(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
Turn this expression into a while statement.
wildcard() - Static method in interface io.micronaut.sourcegen.model.TypeDef
 
Wildcard(List<TypeDef>, List<TypeDef>) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.Wildcard
Creates an instance of a Wildcard record class.
wildcardSubtypeOf(TypeDef) - Static method in interface io.micronaut.sourcegen.model.TypeDef
 
wildcardSupertypeOf(TypeDef) - Static method in interface io.micronaut.sourcegen.model.TypeDef
 
WildcardTypeName - Class in io.micronaut.sourcegen.javapoet
 
withBounds(TypeName...) - Method in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
withBounds(Type...) - Method in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
withBounds(List<? extends TypeName>) - Method in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
Wither - Annotation Interface in io.micronaut.sourcegen.annotations
The annotation to generate an interface implementing `with` copy method for records - `MyRecord withMyProperty(MyProperty)`.
WitherAnnotationVisitor - Class in io.micronaut.sourcegen.generator.visitors
The visitor that is generation a builder.
WitherAnnotationVisitor() - Constructor for class io.micronaut.sourcegen.generator.visitors.WitherAnnotationVisitor
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.ArrayTypeName
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.ClassName
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.TypeName
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.TypeVariableName
 
withoutAnnotations() - Method in class io.micronaut.sourcegen.javapoet.WildcardTypeName
 
wrapperType() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
 
write(ObjectDef, Writer) - Method in interface io.micronaut.sourcegen.generator.SourceGenerator
Write the source code.
write(ObjectDef, Writer) - Method in class io.micronaut.sourcegen.JavaPoetSourceGenerator
 
writeTo(File) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory as UTF-8 using the standard directory structure.
writeTo(Appendable) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
 
writeTo(Path) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory as UTF-8 using the standard directory structure.
writeTo(Path, Charset) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory with the provided charset using the standard directory structure.
writeTo(Filer) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to filer.
writeToFile(File) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory as UTF-8 using the standard directory structure.
writeToPath(Path) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory as UTF-8 using the standard directory structure.
writeToPath(Path, Charset) - Method in class io.micronaut.sourcegen.javapoet.JavaFile
Writes this to directory with the provided charset using the standard directory structure.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values