Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractConditionalWriter - Class in io.micronaut.sourcegen.bytecode
-
The common condition writer methods.
- AbstractConditionalWriter() - Constructor for class io.micronaut.sourcegen.bytecode.AbstractConditionalWriter
- AbstractElementBuilder<ThisType> - Class in io.micronaut.sourcegen.model
-
The abstract element builder.
- AbstractElementBuilder(String) - Constructor for class io.micronaut.sourcegen.model.AbstractElementBuilder
- AbstractStatementAwareExpressionWriter - Class in io.micronaut.sourcegen.bytecode.expression
-
The variation of
ExpressionWriter
that is aware that the expression is written as a statement. - AbstractStatementAwareExpressionWriter() - Constructor for class io.micronaut.sourcegen.bytecode.expression.AbstractStatementAwareExpressionWriter
- AbstractSwitchWriter - Class in io.micronaut.sourcegen.bytecode
-
The abstract switch writer.
- AbstractSwitchWriter() - Constructor for class io.micronaut.sourcegen.bytecode.AbstractSwitchWriter
- 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.
- addAllFieldsConstructor(Modifier...) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
-
Add a constructor for all fields.
- addAllFieldsConstructor(Modifier...) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
-
Add a constructor for all fields and property.
- 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(AnnotationDef...) - 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
- addAnnotations(List<AnnotationDef>) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
- 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
- addConstructor(Collection<ParameterDef>, Modifier...) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
-
Add a constructor.
- addConstructor(Collection<ParameterDef>, Modifier...) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
-
Add a constructor.
- 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
- addEnumConstant(String, ExpressionDef...) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
- 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(FieldDef) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
- 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
- addFields(Collection<FieldDef>) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
-
Adds fields.
- addFileComment(String, Object...) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
- addInitializerBlock(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- addInnerType(ObjectDef) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add an inner type.
- addInnerType(Collection<ObjectDef>) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add an inner types.
- 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(MethodDef) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add a method.
- addMethod(MethodSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- addMethods(Collection<MethodDef>) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add methods.
- 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(Collection<Modifier>) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
- 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
- addNoFieldsConstructor(Modifier...) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
-
Add a constructor with no arguments.
- addNoFieldsConstructor(Modifier...) - Method in class io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
-
Add a constructor with no arguments.
- addOriginatingElement(Element) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- addParameter(ParameterDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameter.
- addParameter(TypeDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameter.
- addParameter(Class<?>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameter.
- addParameter(String, TypeDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameter.
- addParameter(String, Class<?>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameter.
- 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(Type, String, Modifier...) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
- addParameters(TypeDef...) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add parameters.
- addParameters(Class<?>...) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a parameters.
- addParameters(Collection<ParameterDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add parameters.
- addParameters(List<TypeDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add parameters.
- 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.ObjectDefBuilder
-
Add a property.
- addRecordComponent(ParameterSpec) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- addRecordComponents(Iterable<ParameterSpec>) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- addStatement(StatementDef) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a statement to the method body.
- addStatement(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
- addStatement(CodeBlock) - Method in class io.micronaut.sourcegen.javapoet.MethodSpec.Builder
- addStatement(MethodDef.MethodBodyBuilder) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a statement to the method body.
- 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
-
Add statements to the method body.
- 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
- addStaticInitializer(StatementDef) - Method in class io.micronaut.sourcegen.model.ClassDef.ClassDefBuilder
- addStaticStatement(Function<List<VariableDef.MethodParameter>, StatementDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Add a statement to the static method body.
- addSuperinterface(TypeDef) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add a super interface.
- addSuperinterface(TypeName) - Method in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- 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(Collection<TypeDef>) - Method in class io.micronaut.sourcegen.model.ObjectDefBuilder
-
Add super interfaces.
- 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
- addWithoutFormat(String) - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.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
- and(ExpressionDef.ConditionExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
-
The and condition of this variable.
- And(ExpressionDef.ConditionExpressionDef, ExpressionDef.ConditionExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.And
-
Creates an instance of a
And
record class. - annotated(AnnotationSpec...) - Method in class io.micronaut.sourcegen.javapoet.TypeName
- annotated(AnnotationDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Define a ClassTypeDef with annotations.
- annotated(AnnotationDef...) - Method in interface io.micronaut.sourcegen.model.TypeDef
-
Define a type with annotations.
- 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
- annotated(List<AnnotationDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Define a ClassTypeDef with annotations.
- annotated(List<AnnotationDef>) - Method in interface io.micronaut.sourcegen.model.TypeDef
-
Define a type with annotations.
- AnnotatedClassTypeDef(ClassTypeDef, List<AnnotationDef>) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.AnnotatedClassTypeDef
-
Creates an instance of a
AnnotatedClassTypeDef
record class. - AnnotatedTypeDef(TypeDef, List<AnnotationDef>) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.AnnotatedTypeDef
-
Creates an instance of a
AnnotatedTypeDef
record class. - 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.PropertyDef
- annotations - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
- annotations() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.AnnotatedClassTypeDef
-
Returns the value of the
annotations
record component. - annotations() - Method in record class io.micronaut.sourcegen.model.TypeDef.AnnotatedTypeDef
-
Returns the value of the
annotations
record component. - 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() - Method in interface io.micronaut.sourcegen.model.TypeDef
-
Create an array type.
- array() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
- array(int) - Method in interface io.micronaut.sourcegen.model.TypeDef
-
Create an array type.
- array(int) - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
- 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. - arrayElement(int) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Check an array element.
- ArrayElement(ExpressionDef, int) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
- ArrayElement(ExpressionDef, TypeDef, int) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Creates an instance of a
ArrayElement
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.
- asExpression() - Method in class io.micronaut.sourcegen.model.ParameterDef
- asExpressionSwitch(TypeDef, Map<ExpressionDef.Constant, ? extends ExpressionDef>, 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(ExpressionDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
- assign(ExpressionDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.Local
- assign(ParameterDef) - Method in interface io.micronaut.sourcegen.model.VariableDef
-
Assign this variable a parameter value.
- Assign(VariableDef.Local, 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.
- asStatementSwitch(TypeDef, Map<ExpressionDef.Constant, StatementDef>, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Turn this expression into a statement switch.
- asTypeDef() - Method in class io.micronaut.sourcegen.model.ClassDef
- asTypeDef() - Method in class io.micronaut.sourcegen.model.InterfaceDef
- asTypeDef() - Method in class io.micronaut.sourcegen.model.ObjectDef
-
Get the type definition for this type.
- 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 record class io.micronaut.sourcegen.model.TypeDef.Primitive
- 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
forint
) orvoid
. - 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(MethodDef.MethodBodyBuilder) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Build a method with a body builder.
- builder() - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
- builder(String) - Static method in class io.micronaut.sourcegen.model.FieldDef
-
Creates a new field builder with a name.
- builder(String, TypeDef) - Static method in class io.micronaut.sourcegen.model.FieldDef
-
Creates a new field builder with a name and type.
- builder(String, Class<?>) - Static method in class io.micronaut.sourcegen.model.FieldDef
-
Creates a new field builder with a name and type.
- 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.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.
- 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
- buildStatic(Function<List<VariableDef.MethodParameter>, StatementDef>) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Build a static method with a body builder.
- BYTE - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
- BYTE - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- ByteCodeGenerator - Class in io.micronaut.sourcegen.generator.bytecode
-
Generates the classes directly by writing the bytecode.
- ByteCodeGenerator() - Constructor for class io.micronaut.sourcegen.generator.bytecode.ByteCodeGenerator
- ByteCodeWriter - Class in io.micronaut.sourcegen.bytecode
-
Generates the classes directly by writing the bytecode.
- ByteCodeWriter() - Constructor for class io.micronaut.sourcegen.bytecode.ByteCodeWriter
- ByteCodeWriter(boolean, boolean) - Constructor for class io.micronaut.sourcegen.bytecode.ByteCodeWriter
C
- 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. - cast(TypeDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Cast expression to a different type.
- cast(Class<?>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Cast expression to a different type.
- Cast(TypeDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Cast
-
Creates an instance of a
Cast
record class. - Catch(ClassTypeDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Try.Catch
-
Creates an instance of a
Catch
record class. - catches() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
Returns the value of the
catches
record component. - CHAR - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
- CHAR - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- characterLiteralWithoutSingleQuotes(char) - Static method in class io.micronaut.sourcegen.javapoet.Util
- CLASS - Enum constant in enum class io.micronaut.sourcegen.javapoet.TypeSpec.Kind
- CLASS - Static variable in interface io.micronaut.sourcegen.model.TypeDef
- 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.ExpressionDef.InvokeStaticMethod
-
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(ObjectDef, 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 - Variable in class io.micronaut.sourcegen.model.ObjectDef
- ClassName - Class in io.micronaut.sourcegen.javapoet
-
A fully-qualified class name for top-level and member classes.
- ClassName(String) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
- ClassName(String, boolean) - Constructor for record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
- ClassName(String, boolean, 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.AnnotatedClassTypeDef - Record Class in io.micronaut.sourcegen.model
-
A combined type for representing a ClassTypeDef with annotations.
- 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.
- clazz() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
-
Returns the value of the
clazz
record component. - 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 singleCodeBlock
. - 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(boolean) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(char) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(double) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(float) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(int) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(long) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(Object) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
A new constant.
- constant(ClassElement, TypeDef, Object) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Resolve a constant for the given type from the string.
- constant(Object) - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
-
A primitive constant expression.
- 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(Collection<ParameterDef>, Modifier...) - 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
- CONSTRUCTOR - Static variable in class io.micronaut.sourcegen.model.MethodDef
- constructorBuilder() - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
D
- defaultCase() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Switch
-
Returns the value of the
defaultCase
record component. - defaultCase() - Method in record class io.micronaut.sourcegen.model.StatementDef.Switch
-
Returns the value of the
defaultCase
record component. - 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. - Delegate - Annotation Interface in io.micronaut.sourcegen.annotations
-
The delegate annotation on a bean should create a delegate base class.
- DelegateAnnotationVisitor - Class in io.micronaut.sourcegen.generator.visitors
-
The visitor that is generation a delegate.
- DelegateAnnotationVisitor() - Constructor for class io.micronaut.sourcegen.generator.visitors.DelegateAnnotationVisitor
- dimensions() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
-
Returns the value of the
dimensions
record component. - doCatch(ClassTypeDef, Function<VariableDef.ExceptionVar, StatementDef>) - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
- doCatch(Class<?>, Function<VariableDef.ExceptionVar, StatementDef>) - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
- doFinally(StatementDef) - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
- doIf(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
-
The conditional statement based on this expression.
- doIfElse(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
-
The conditional if else expression.
- doIfElse(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
-
The conditional statement based on this expression.
- doThrow() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Throw an exception.
- doTry() - Method in interface io.micronaut.sourcegen.model.StatementDef
-
Try statement.
- doTry(StatementDef) - Static method in interface io.micronaut.sourcegen.model.StatementDef
-
Try statement.
- DOUBLE - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
- DOUBLE - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
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
forMap.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.
- EnumGenUtils - Class in io.micronaut.sourcegen.bytecode
-
The enum generator utils.
- EnumGenUtils() - Constructor for class io.micronaut.sourcegen.bytecode.EnumGenUtils
- equals(Object) - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Indicates whether some other object is "equal to" this one.
- 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.AnnotatedClassTypeDef
-
Indicates whether some other object is "equal to" this one.
- 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.And
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Cast
-
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.EqualsReferentially
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
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.InstanceOf
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsFalse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNotNull
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNull
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsTrue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
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.Or
-
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.PutField
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
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.Synchronized
-
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.Try.Catch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
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.AnnotatedTypeDef
-
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.ExceptionVar
-
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.Super
-
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.
- EqualsAndHashCode - Annotation Interface in io.micronaut.sourcegen.annotations
-
The EqualsAndHashCode annotation on a bean should generate an equals and a hashCode methods.
- EqualsAndHashCode.Exclude - Annotation Interface in io.micronaut.sourcegen.annotations
-
The annotation to be used with
EqualsAndHashCode
on a property to hide the value from being processed. - equalsReferentially(ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The referentially equals (==) of this expression and the other expression.
- EqualsReferentially(ExpressionDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.EqualsReferentially
-
Creates an instance of a
EqualsReferentially
record class. - equalsStructurally(ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The structurally equals
Object.equals(Object)
of this expression and the other expression. - equalsStructurally(ExpressionDef.EqualsStructurally) - Static method in class io.micronaut.sourcegen.model.JavaIdioms
-
The equals structurally idiom.
- EqualsStructurally(ExpressionDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Creates an instance of a
EqualsStructurally
record class. - erasure(TypedElement) - Static method in interface io.micronaut.sourcegen.model.TypeDef
-
Creates a new type erasure.
- exception() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try.Catch
-
Returns the value of the
exception
record component. - EXCEPTION_NAME - Static variable in class io.micronaut.sourcegen.bytecode.statement.TryCatchStatementWriter
- exceptions - Variable in class io.micronaut.sourcegen.javapoet.MethodSpec
- ExceptionVar(ClassTypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.ExceptionVar
-
Creates an instance of a
ExceptionVar
record class. - expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Returns the value of the
expression
record component. - 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.InstanceOf
-
Returns the value of the
expression
record component. - expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsFalse
-
Returns the value of the
expression
record component. - expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNotNull
-
Returns the value of the
expression
record component. - expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNull
-
Returns the value of the
expression
record component. - expression() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsTrue
-
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.PutField
-
Returns the value of the
expression
record component. - expression() - Method in record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
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.Throw
-
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.Cast
-
Returns the value of the
expressionDef
record component. - ExpressionDef - Interface in io.micronaut.sourcegen.model
-
The expression definition.
- ExpressionDef.And - Record Class in io.micronaut.sourcegen.model
-
The and condition.
- ExpressionDef.ArrayElement - Record Class in io.micronaut.sourcegen.model
-
The get array element expression.
- ExpressionDef.Cast - Record Class in io.micronaut.sourcegen.model
-
The cast expression.
- ExpressionDef.Condition - Record Class in io.micronaut.sourcegen.model
-
The condition operator.
- ExpressionDef.ConditionExpressionDef - Interface in io.micronaut.sourcegen.model
-
The conditional expression.
- ExpressionDef.Constant - Record Class in io.micronaut.sourcegen.model
-
The constant expression.
- ExpressionDef.EqualsReferentially - Record Class in io.micronaut.sourcegen.model
-
The referential equals expression.
- ExpressionDef.EqualsStructurally - Record Class in io.micronaut.sourcegen.model
-
The structurally equals expression.
- ExpressionDef.GetPropertyValue - Record Class in io.micronaut.sourcegen.model
-
The get property value expression.
- ExpressionDef.IfElse - Record Class in io.micronaut.sourcegen.model
-
The if-else expression.
- ExpressionDef.InstanceOf - Record Class in io.micronaut.sourcegen.model
-
The instance of expression.
- ExpressionDef.InvokeGetClassMethod - Record Class in io.micronaut.sourcegen.model
-
The get class expression.
- ExpressionDef.InvokeHashCodeMethod - Record Class in io.micronaut.sourcegen.model
-
The get hashCode expression.
- ExpressionDef.InvokeInstanceMethod - Record Class in io.micronaut.sourcegen.model
-
The call an instance method expression.
- ExpressionDef.InvokeStaticMethod - Record Class in io.micronaut.sourcegen.model
-
The call a static method expression.
- ExpressionDef.IsFalse - Record Class in io.micronaut.sourcegen.model
-
The IS FALSE condition.
- ExpressionDef.IsNotNull - Record Class in io.micronaut.sourcegen.model
-
The IS NOT NULL condition.
- ExpressionDef.IsNull - Record Class in io.micronaut.sourcegen.model
-
The IS NULL condition.
- ExpressionDef.IsTrue - Record Class in io.micronaut.sourcegen.model
-
The IS TRUE condition.
- ExpressionDef.MathOp - Record Class in io.micronaut.sourcegen.model
-
The math operator.
- 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.Or - Record Class in io.micronaut.sourcegen.model
-
The or condition.
- 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. - ExpressionWriter - Interface in io.micronaut.sourcegen.bytecode.expression
-
The expression writer.
F
- FALSE - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- falseValue() - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
- field() - Method in record class io.micronaut.sourcegen.model.StatementDef.PutField
-
Returns the value of the
field
record component. - field() - Method in record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
Returns the value of the
field
record component. - field(FieldElement) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Reference the field of this variable.
- 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
- finallyStatement() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
Returns the value of the
finallyStatement
record component. - findByLanguage(VisitorContext.Language) - Static method in class io.micronaut.sourcegen.generator.SourceGenerators
- findField(String) - Method in class io.micronaut.sourcegen.model.ClassDef
- findField(String) - Method in class io.micronaut.sourcegen.model.EnumDef
- 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
- FLOAT - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
G
- get(ClassName, TypeName...) - Static method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
-
Returns a parameterized type, applying
typeArguments
torawType
. - 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
torawType
. - 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
withbounds
. - get(String, Type...) - Static method in class io.micronaut.sourcegen.javapoet.TypeVariableName
-
Returns type variable named
name
withbounds
. - 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
- getCanonicalName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
- getCanonicalName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
- getCanonicalName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
- getCanonicalName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
- getClass(ExpressionDef.InvokeGetClassMethod) - Static method in class io.micronaut.sourcegen.model.JavaIdioms
-
The get class idiom.
- getContextualType(TypeDef) - Method in class io.micronaut.sourcegen.model.ObjectDef
-
Get the actual contextual type.
- getContextualType(ObjectDef, TypeDef) - Static method in class io.micronaut.sourcegen.model.ObjectDef
-
Get a contextual type (converts this or super type to appropriate one).
- getEnumConstants() - Method in class io.micronaut.sourcegen.model.EnumDef
- getField(String) - Method in class io.micronaut.sourcegen.model.ClassDef
- getField(String) - Method in class io.micronaut.sourcegen.model.EnumDef
- getFields() - Method in class io.micronaut.sourcegen.model.ClassDef
- getFields() - Method in class io.micronaut.sourcegen.model.EnumDef
- getInitializer() - Method in class io.micronaut.sourcegen.model.FieldDef
- getInnerTypes() - Method in class io.micronaut.sourcegen.model.ObjectDef
- getJavadoc() - Method in class io.micronaut.sourcegen.model.PropertyDef
- getLanguage() - Method in class io.micronaut.sourcegen.generator.bytecode.ByteCodeGenerator
- 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
- getMethodDescriptor(ObjectDef, MethodDef) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- getMethods() - Method in class io.micronaut.sourcegen.model.ObjectDef
- 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
- getPackageName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
- getPackageName() - Method in class 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.ObjectDef
- getPropertyValue(PropertyElement) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The get property value expression.
- getPropertyValue(ExpressionDef.GetPropertyValue) - Static method in class io.micronaut.sourcegen.model.JavaIdioms
-
The get property value idiom.
- GetPropertyValue(ExpressionDef, PropertyElement) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
Creates an instance of a
GetPropertyValue
record class. - getReturnType() - Method in class io.micronaut.sourcegen.model.MethodDef
- getSimpleName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
- getSimpleName() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
- getSimpleName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
- getSimpleName() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
- getSimpleName() - Method in class io.micronaut.sourcegen.model.ObjectDef
- getStatements() - Method in class io.micronaut.sourcegen.model.MethodDef
- getStaticField(FieldDef) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Get static field.
- getStaticField(Field) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Get static field.
- getStaticField(String, TypeDef) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Get static field.
- getStaticInitializer() - Method in class io.micronaut.sourcegen.model.ClassDef
- getSuperclass() - Method in class io.micronaut.sourcegen.model.ClassDef
- getSuperinterfaces() - Method in class io.micronaut.sourcegen.model.ObjectDef
- getSupportedAnnotationNames() - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
- getSupportedAnnotationNames() - Method in class io.micronaut.sourcegen.generator.visitors.DelegateAnnotationVisitor
- getSupportedAnnotationNames() - Method in class io.micronaut.sourcegen.generator.visitors.ObjectAnnotationVisitor
- 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
- getType(ClassTypeDef) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- getType(TypeDef.Primitive) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- getType(TypeDef, ObjectDef) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- getType(String) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- getType(String, Type...) - Static method in class io.micronaut.sourcegen.bytecode.TypeUtils
- 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.DelegateAnnotationVisitor
- getVisitorKind() - Method in class io.micronaut.sourcegen.generator.visitors.ObjectAnnotationVisitor
- 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
- hasField(String) - Method in class io.micronaut.sourcegen.model.EnumDef
- hashCode() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Returns a hash code value for this object.
- 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.AnnotatedClassTypeDef
-
Returns a hash code value for this object.
- 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.And
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Cast
-
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.EqualsReferentially
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
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.InstanceOf
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsFalse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNotNull
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNull
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsTrue
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
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.Or
-
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.PutField
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
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.Synchronized
-
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.Try.Catch
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
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.AnnotatedTypeDef
-
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.ExceptionVar
-
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.Super
-
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.
- hashCode(ExpressionDef.InvokeHashCodeMethod) - Static method in class io.micronaut.sourcegen.model.JavaIdioms
-
The hashCode idiom.
- 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. - ifFalse(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is false - if / else expression.
- ifFalse(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is false - if statement.
- ifFalse(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is false - if / else statement.
- ifNonNull(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is not null - if / else expression.
- ifNonNull(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is not null - if statement.
- ifNonNull(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is not null - if / else statement.
- ifNull(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is null - if / else expression.
- ifNull(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is null - if statement.
- ifNull(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is null - if / else statement.
- ifTrue(ExpressionDef, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is true - if / else expression.
- ifTrue(StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is true - if statement.
- ifTrue(StatementDef, StatementDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Is true - if / else statement.
- indent() - Method in class io.micronaut.sourcegen.javapoet.CodeBlock.Builder
- indent(String) - Method in class io.micronaut.sourcegen.javapoet.JavaFile.Builder
- index() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Returns the value of the
index
record component. - index() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Returns the value of the
index
record component. - 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
- innerTypes - Variable in class io.micronaut.sourcegen.model.ObjectDef
- innerTypes - Variable in class io.micronaut.sourcegen.model.ObjectDefBuilder
- instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsReferentially
-
Returns the value of the
instance
record component. - instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Returns the value of the
instance
record component. - instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
Returns the value of the
instance
record component. - instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
-
Returns the value of the
instance
record component. - instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
-
Returns the value of the
instance
record component. - instance() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
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. - instanceOf(ClassTypeDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Check if the instance is of the type.
- InstanceOf(ExpressionDef, ClassTypeDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InstanceOf
-
Creates an instance of a
InstanceOf
record class. - instanceType() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InstanceOf
-
Returns the value of the
instanceType
record component. - instantiate(int) - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
-
Instantiate an array of this class.
- instantiate(MethodElement, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(ExpressionDef...) - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
-
Instantiate an array of this class.
- instantiate(Constructor<?>, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(Constructor<?>, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(List<? extends ExpressionDef>) - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
-
Instantiate an array of this class.
- instantiate(List<TypeDef>, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- instantiate(List<TypeDef>, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
The new instance expression.
- INT - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
- INT - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- 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<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invoke(MethodDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invoke(MethodDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invoke(Method, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke the method defined by the reflection.
- invoke(Method, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke the method defined by the reflection.
- invoke(String, TypeDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invoke(String, TypeDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invoke(String, List<TypeDef>, TypeDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The call the instance method expression.
- invokeConstructor(ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke constructor expression.
- invokeConstructor(MethodDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The new instance expression.
- invokeConstructor(MethodDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The new instance expression.
- invokeConstructor(Constructor<?>, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The new instance expression.
- invokeConstructor(Constructor<?>, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The new instance expression.
- invokeConstructor(List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke constructor expression.
- invokeConstructor(List<TypeDef>, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke constructor expression.
- invokeConstructor(List<TypeDef>, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invoke constructor expression.
- invokeGetClass() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invocation of the
Object.getClass()
} or equivalent method for the expression. - InvokeGetClassMethod(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
-
Creates an instance of a
InvokeGetClassMethod
record class. - invokeHashCode() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The invocation of the
Object.hashCode()
or equivalent method for the expression. - InvokeHashCodeMethod(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
-
Creates an instance of a
InvokeHashCodeMethod
record class. - InvokeInstanceMethod(ExpressionDef, MethodDef, boolean, List<? extends ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Creates an instance of a
InvokeInstanceMethod
record class. - InvokeInstanceMethod(ExpressionDef, MethodDef, List<? extends ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
- invokeStatic(MethodElement, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(MethodElement, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(MethodDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(MethodDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(Method, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(Method, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(String, TypeDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(String, TypeDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(String, List<TypeDef>, TypeDef, ExpressionDef...) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- invokeStatic(String, List<TypeDef>, TypeDef, List<? extends ExpressionDef>) - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Invoke static method.
- InvokeStaticMethod(ClassTypeDef, MethodDef, List<? extends ExpressionDef>) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Creates an instance of a
InvokeStaticMethod
record class. - io.micronaut.sourcegen - package io.micronaut.sourcegen
- io.micronaut.sourcegen.annotations - package io.micronaut.sourcegen.annotations
- io.micronaut.sourcegen.bytecode - package io.micronaut.sourcegen.bytecode
- io.micronaut.sourcegen.bytecode.expression - package io.micronaut.sourcegen.bytecode.expression
- io.micronaut.sourcegen.bytecode.statement - package io.micronaut.sourcegen.bytecode.statement
- io.micronaut.sourcegen.generator - package io.micronaut.sourcegen.generator
- io.micronaut.sourcegen.generator.bytecode - package io.micronaut.sourcegen.generator.bytecode
- 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
- isArray() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
- isArray() - Method in interface io.micronaut.sourcegen.model.TypeDef
- isArray() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- isArray() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
- 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
- isConstructor() - Method in class io.micronaut.sourcegen.model.MethodDef
- isDefault() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Returns the value of the
isDefault
record component. - 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
- isEnum(ClassDef) - Static method in class io.micronaut.sourcegen.bytecode.EnumGenUtils
-
Is enum class.
- isEnumField(ObjectDef, FieldDef) - Static method in class io.micronaut.sourcegen.bytecode.EnumGenUtils
-
Is enum field.
- isFalse() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
- IsFalse(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.IsFalse
-
Creates an instance of a
IsFalse
record class. - isInner() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
- isInner() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
- isInner() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
-
Returns the value of the
isInner
record component. - isInner() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
- isInner() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
- isInner() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
- isInterface() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
- isInterface() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassElementType
- isInterface() - Method in interface io.micronaut.sourcegen.model.ClassTypeDef
- isInterface() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.JavaClass
- isInterface() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.Parameterized
- isNonNull() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
- IsNotNull(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.IsNotNull
-
Creates an instance of a
IsNotNull
record class. - isNull() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
- IsNull(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.IsNull
-
Creates an instance of a
IsNull
record class. - 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
- isOverride() - Method in class io.micronaut.sourcegen.model.MethodDef
- isPrimitive() - Method in class io.micronaut.sourcegen.javapoet.TypeName
-
Returns true if this is a primitive type like
int
. - isPrimitive() - Method in record class io.micronaut.sourcegen.model.TypeDef.Array
- isPrimitive() - Method in interface io.micronaut.sourcegen.model.TypeDef
- isPrimitive() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- isPrimitive() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
- isTrue() - Method in interface io.micronaut.sourcegen.model.ExpressionDef
- IsTrue(ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.IsTrue
-
Creates an instance of a
IsTrue
record class.
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.PropertyDef
- 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
- JavaIdioms - Class in io.micronaut.sourcegen.model
-
Java language idioms.
- JavaIdioms() - Constructor for class io.micronaut.sourcegen.model.JavaIdioms
- 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
- joining(String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
- joining(String, String, String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
K
L
- left() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.And
-
Returns the value of the
left
record component. - left() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
-
Returns the value of the
left
record component. - left() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
Returns the value of the
left
record component. - left() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Or
-
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. - LocalData(String, Type, Label, int) - Constructor for record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Creates an instance of a
LocalData
record class. - locals() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Returns the value of the
locals
record component. - LONG - Static variable in class io.micronaut.sourcegen.javapoet.TypeName
- LONG - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- 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
- makeNullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
- makeNullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.Wildcard
- markAsStatement() - Method in class io.micronaut.sourcegen.bytecode.expression.AbstractStatementAwareExpressionWriter
-
Marks the expression as being written as a statement.
- math(String, ExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef
-
The math operation of this variable.
- MathOp(String, ExpressionDef, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
Creates an instance of a
MathOp
record class. - members - Variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec.Builder
- members - Variable in class io.micronaut.sourcegen.javapoet.AnnotationSpec
- method() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Returns the value of the
method
record component. - method() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Returns the value of the
method
record component. - methodBuilder(String) - Static method in class io.micronaut.sourcegen.javapoet.MethodSpec
- MethodContext - Record Class in io.micronaut.sourcegen.bytecode
-
The statement context.
- MethodContext(ObjectDef, MethodDef) - Constructor for record class io.micronaut.sourcegen.bytecode.MethodContext
- MethodContext(ObjectDef, MethodDef, Map<String, MethodContext.LocalData>) - Constructor for record class io.micronaut.sourcegen.bytecode.MethodContext
-
Creates an instance of a
MethodContext
record class. - MethodContext.LocalData - Record Class in io.micronaut.sourcegen.bytecode
-
The local data.
- methodDef() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Returns the value of the
methodDef
record component. - MethodDef - Class in io.micronaut.sourcegen.model
-
The method definition.
- MethodDef.MethodBodyBuilder - Interface in io.micronaut.sourcegen.model
-
The body builder.
- 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. - methods - Variable in class io.micronaut.sourcegen.model.ObjectDef
- methods - Variable in class io.micronaut.sourcegen.model.ObjectDefBuilder
- 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
- monitor() - Method in record class io.micronaut.sourcegen.model.StatementDef.Synchronized
-
Returns the value of the
monitor
record component. - 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.bytecode.MethodContext.LocalData
-
Returns the value of the
name
record component. - name() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassName
-
Returns the value of the
name
record component. - name() - Method in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- 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 specifiedname
as nested inside this class. - nestedClass(String) - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
-
Returns a new
ParameterizedTypeName
instance for the specifiedname
as nested inside this class. - nestedClass(String, List<TypeName>) - Method in class io.micronaut.sourcegen.javapoet.ParameterizedTypeName
-
Returns a new
ParameterizedTypeName
instance for the specifiedname
as nested inside this class, with the specifiedtypeArguments
. - NewArrayInitialized(TypeDef.Array, List<? extends 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<TypeDef>, List<? extends 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. - nullable() - Method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
-
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
- OBJECT_TYPE - Static variable in class io.micronaut.sourcegen.bytecode.TypeUtils
- ObjectAnnotationVisitor - Class in io.micronaut.sourcegen.generator.visitors
-
The visitor that generates the Object class of a bean.
- ObjectAnnotationVisitor() - Constructor for class io.micronaut.sourcegen.generator.visitors.ObjectAnnotationVisitor
- objectDef() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Returns the value of the
objectDef
record component. - objectDef() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.ClassDefType
-
Returns the value of the
objectDef
record component. - ObjectDef - Class in io.micronaut.sourcegen.model
-
The abstract class representing a type: class, enum, interface or record.
- ObjectDefBuilder<ThisType> - Class in io.micronaut.sourcegen.model
-
The abstract builder that is used for specific types: interfaces, classes, records or enums.
- ObjectDefBuilder(String) - Constructor for class io.micronaut.sourcegen.model.ObjectDefBuilder
- of(MethodElement) - Static method in class io.micronaut.sourcegen.model.MethodDef
-
Creates a method definition from
MethodElement
. - of(Method) - Static method in class io.micronaut.sourcegen.model.MethodDef
-
Creates a method definition from
Method
. - 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(TypedElement) - 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(ExpressionDef) - Static method in interface io.micronaut.sourcegen.bytecode.expression.ExpressionWriter
-
Create a writer from an expression.
- of(ObjectDef) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Create a new type definition.
- of(StatementDef) - Static method in interface io.micronaut.sourcegen.bytecode.statement.StatementWriter
-
Create a writer from the statement.
- 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) - Static method in interface io.micronaut.sourcegen.model.TypeDef
-
Create a new type definition.
- of(String, boolean) - Static method in interface io.micronaut.sourcegen.model.ClassTypeDef
-
Create a new type definition.
- of(String, ClassElement) - Static method in record class io.micronaut.sourcegen.model.TypeDef.TypeVariable
- 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
- ofWithoutFormat(String) - Static method in class io.micronaut.sourcegen.javapoet.CodeBlock
- operator() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
-
Returns the value of the
operator
record component. - operator() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
Returns the value of the
operator
record component. - or(ExpressionDef.ConditionExpressionDef) - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
-
The or condition of this variable.
- Or(ExpressionDef.ConditionExpressionDef, ExpressionDef.ConditionExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.ExpressionDef.Or
-
Creates an instance of a
Or
record class. - originatingElements - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec.Builder
- originatingElements - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
- other() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsReferentially
-
Returns the value of the
other
record component. - other() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Returns the value of the
other
record component. - override(MethodElement) - Static method in class io.micronaut.sourcegen.model.MethodDef
-
Creates a method definition builder from
MethodElement
. - override(Constructor<?>) - Static method in class io.micronaut.sourcegen.model.MethodDef
-
Creates a constructor definition builder from
Method
. - override(Method) - Static method in class io.micronaut.sourcegen.model.MethodDef
-
Creates a method definition builder from
Method
. - overrideModifiers(Modifier...) - Method in class io.micronaut.sourcegen.model.AbstractElementBuilder
-
Overrides the modifiers.
- overrides() - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Mark the method as an override.
- overrides(boolean) - Method in class io.micronaut.sourcegen.model.MethodDef.MethodDefBuilder
-
Mark the method as an override.
- 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 ofenclosing
. - 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"
forMap.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, Class<?>...) - 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
- ParameterSpec - Class in io.micronaut.sourcegen.javapoet
-
A generated parameter declaration.
- ParameterSpec.Builder - Class in io.micronaut.sourcegen.javapoet
- parameterTypes() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.NewInstance
-
Returns the value of the
parameterTypes
record component. - 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
- popValueIfNeeded(GeneratorAdapter, TypeDef) - Method in class io.micronaut.sourcegen.bytecode.expression.AbstractStatementAwareExpressionWriter
- 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(Class<?>) - Constructor for record class io.micronaut.sourcegen.model.TypeDef.Primitive
-
Creates an instance of a
Primitive
record class. - primitiveConstant(Object) - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
-
Resolve a constant for the given type from the string.
- properties - Variable in class io.micronaut.sourcegen.model.ObjectDef
- properties - Variable in class io.micronaut.sourcegen.model.ObjectDefBuilder
- PropertyDef - Class in io.micronaut.sourcegen.model
-
The property definition.
- PropertyDef.PropertyDefBuilder - Class in io.micronaut.sourcegen.model
-
The property builder definition.
- propertyElement() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
Returns the value of the
propertyElement
record component. - pushElseConditionalExpression(GeneratorAdapter, MethodContext, ExpressionDef, Label) - Static method in class io.micronaut.sourcegen.bytecode.AbstractConditionalWriter
- pushSwitchExpression(GeneratorAdapter, MethodContext, ExpressionDef) - Static method in class io.micronaut.sourcegen.bytecode.AbstractSwitchWriter
- put(ExpressionDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.Field
- put(ExpressionDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.StaticField
- PutField(VariableDef.Field, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.PutField
-
Creates an instance of a
PutField
record class. - PutStaticField(VariableDef.StaticField, ExpressionDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
Creates an instance of a
PutStaticField
record class.
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.
- 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.And
-
Returns the value of the
right
record component. - right() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Condition
-
Returns the value of the
right
record component. - right() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
Returns the value of the
right
record component. - right() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Or
-
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
- SHORT - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- simpleName() - Method in class io.micronaut.sourcegen.javapoet.ClassName
-
Returns the simple name of this class, like
"Entry"
forMap.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
orSuperBuilder
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 asjava.lang.String
. - SourceGenerator - Interface in io.micronaut.sourcegen.generator
-
Source code generator.
- SourceGenerators - Class in io.micronaut.sourcegen.generator
-
The source generators.
- start() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Returns the value of the
start
record component. - start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.BuilderAnnotationVisitor
- start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.DelegateAnnotationVisitor
- start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.ObjectAnnotationVisitor
- start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.SuperBuilderAnnotationVisitor
- start(VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.WitherAnnotationVisitor
- statement - Variable in class io.micronaut.sourcegen.bytecode.expression.AbstractStatementAwareExpressionWriter
- 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.Synchronized
-
Returns the value of the
statement
record component. - statement() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try.Catch
-
Returns the value of the
statement
record component. - statement() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
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 assignment 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.PutField - Record Class in io.micronaut.sourcegen.model
-
The put field expression.
- StatementDef.PutStaticField - Record Class in io.micronaut.sourcegen.model
-
The set a static field expression.
- 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.Synchronized - Record Class in io.micronaut.sourcegen.model
-
The synchronized statement.
- StatementDef.Throw - Record Class in io.micronaut.sourcegen.model
-
The throw statement.
- StatementDef.Try - Record Class in io.micronaut.sourcegen.model
-
The try statement.
- StatementDef.Try.Catch - Record Class in io.micronaut.sourcegen.model
-
The catch.
- 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. - StatementWriter - Interface in io.micronaut.sourcegen.bytecode.statement
-
The statement writer.
- staticBlock - Variable in class io.micronaut.sourcegen.javapoet.TypeSpec
- StaticField(ClassTypeDef, 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
- STRING - Static variable in interface io.micronaut.sourcegen.model.TypeDef
- 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
- Super(ClassTypeDef) - Constructor for record class io.micronaut.sourcegen.model.VariableDef.Super
-
Creates an instance of a
Super
record class. - SUPER - Static variable in interface io.micronaut.sourcegen.model.TypeDef
-
A simple type representing a special super-type, in context of a class def, method or field the type will be replaced by the current super type.
- 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
- superinterfaces - Variable in class io.micronaut.sourcegen.model.ObjectDef
- superinterfaces - Variable in class io.micronaut.sourcegen.model.ObjectDefBuilder
- superRef() - Method in record class io.micronaut.sourcegen.model.VariableDef.This
- superRef(ClassTypeDef) - Method in record class io.micronaut.sourcegen.model.VariableDef.This
- 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, ? extends ExpressionDef>, 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>, 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. - Synchronized(ExpressionDef, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Synchronized
-
Creates an instance of a
Synchronized
record class.
T
- This() - 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.
- thisInstance - Variable in class io.micronaut.sourcegen.model.AbstractElementBuilder
- 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
- toClassDef(EnumDef) - Static method in class io.micronaut.sourcegen.bytecode.EnumGenUtils
- 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.bytecode.MethodContext.LocalData
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext
-
Returns a string representation of this record class.
- 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.AnnotatedClassTypeDef
-
Returns a string representation of this record class.
- 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.And
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.ArrayElement
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Cast
-
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.EqualsReferentially
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.EqualsStructurally
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.GetPropertyValue
-
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.InstanceOf
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsFalse
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNotNull
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsNull
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IsTrue
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
-
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.Or
-
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 class io.micronaut.sourcegen.model.MethodDef
- 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.PutField
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.PutStaticField
-
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.Synchronized
-
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.Try.Catch
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.sourcegen.model.StatementDef.Try
-
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.AnnotatedTypeDef
-
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.ExceptionVar
-
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.Super
-
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.
- ToString - Annotation Interface in io.micronaut.sourcegen.annotations
-
The ToString annotation on a bean should generate a toString method.
- ToString.Exclude - Annotation Interface in io.micronaut.sourcegen.annotations
-
If present, do not include this field in the generated toString.
- toSwitchKey(ExpressionDef.Constant) - Static method in class io.micronaut.sourcegen.bytecode.AbstractSwitchWriter
- TRUE - Static variable in record class io.micronaut.sourcegen.model.TypeDef.Primitive
- trueValue() - Static method in interface io.micronaut.sourcegen.model.ExpressionDef
- Try(StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Try
- Try(StatementDef, List<StatementDef.Try.Catch>, StatementDef) - Constructor for record class io.micronaut.sourcegen.model.StatementDef.Try
-
Creates an instance of a
Try
record class. - TryCatchStatementWriter - Class in io.micronaut.sourcegen.bytecode.statement
-
The try-catch statement.
- TryCatchStatementWriter(StatementDef.Try) - Constructor for class io.micronaut.sourcegen.bytecode.statement.TryCatchStatementWriter
- 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() - Element in annotation interface io.micronaut.sourcegen.annotations.Delegate
-
Define what the class that delegate should be created for.
- type() - Method in record class io.micronaut.sourcegen.bytecode.MethodContext.LocalData
-
Returns the value of the
type
record component. - 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.ArrayElement
-
Returns the value of the
type
record component. - type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.Cast
-
Returns the value of the
type
record component. - type() - Method in interface io.micronaut.sourcegen.model.ExpressionDef.ConditionExpressionDef
- 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.GetPropertyValue
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.IfElse
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeGetClassMethod
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeHashCodeMethod
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeInstanceMethod
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
- type() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.MathOp
- 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.ExceptionVar
-
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.Super
-
Returns the value of the
type
record component. - type() - Method in record class io.micronaut.sourcegen.model.VariableDef.This
- 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() - Method in record class io.micronaut.sourcegen.model.ClassTypeDef.AnnotatedClassTypeDef
-
Returns the value of the
typeDef
record component. - typeDef() - Method in record class io.micronaut.sourcegen.model.TypeDef.AnnotatedTypeDef
-
Returns the value of the
typeDef
record component. - TypeDef - Interface in io.micronaut.sourcegen.model
-
The type definition.
- TypeDef.Annotated - Interface in io.micronaut.sourcegen.model
-
A combined type interface for representing a Type with annotations.
- TypeDef.AnnotatedTypeDef - Record Class in io.micronaut.sourcegen.model
-
A combined type for representing a TypeDef with annotations.
- 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
- TypeUtils - Class in io.micronaut.sourcegen.bytecode
-
Internal bytecode type utils.
- TypeUtils() - Constructor for class io.micronaut.sourcegen.bytecode.TypeUtils
- 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
- TypeVariable(String, List<TypeDef>, boolean) - 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
forInteger
) orVoid
. - 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
- validate(MethodDef) - Method in record class io.micronaut.sourcegen.model.StatementDef.Return
-
Validate the return of the method.
- 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.InvokeInstanceMethod
-
Returns the value of the
values
record component. - values() - Method in record class io.micronaut.sourcegen.model.ExpressionDef.InvokeStaticMethod
-
Returns the value of the
values
record component. - 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. - variable(String, TypeDef...) - Static method in interface io.micronaut.sourcegen.model.TypeDef
-
Creates a new type variable.
- variable(String, List<TypeDef>) - Static method in interface io.micronaut.sourcegen.model.TypeDef
-
Creates a new type variable.
- VariableDef - Interface in io.micronaut.sourcegen.model
-
The variable definition.
- VariableDef.ExceptionVar - Record Class in io.micronaut.sourcegen.model
-
The exception that is part of Try-Catch block.
- 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.Super - Record Class in io.micronaut.sourcegen.model
-
The variable of `super`.
- 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.DelegateAnnotationVisitor
- visitClass(ClassElement, VisitorContext) - Method in class io.micronaut.sourcegen.generator.visitors.ObjectAnnotationVisitor
- 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
- withClassName(ClassTypeDef.ClassName) - Method in class io.micronaut.sourcegen.model.ClassDef
- withClassName(ClassTypeDef.ClassName) - Method in class io.micronaut.sourcegen.model.EnumDef
- withClassName(ClassTypeDef.ClassName) - Method in class io.micronaut.sourcegen.model.InterfaceDef
- withClassName(ClassTypeDef.ClassName) - Method in class io.micronaut.sourcegen.model.ObjectDef
-
Creates a copy of this definition with a new class name.
- withClassName(ClassTypeDef.ClassName) - Method in class io.micronaut.sourcegen.model.RecordDef
- 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) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Writes the bytecode of generated class.
- write(ObjectDef, ClassTypeDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Writes the bytecode of generated class.
- write(ObjectDef, VisitorContext, Element...) - Method in class io.micronaut.sourcegen.generator.bytecode.ByteCodeGenerator
- write(ObjectDef, VisitorContext, Element...) - Method in interface io.micronaut.sourcegen.generator.SourceGenerator
-
Write the file using the context.
- write(ObjectDef, Writer) - Method in class io.micronaut.sourcegen.generator.bytecode.ByteCodeGenerator
- 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
- write(GeneratorAdapter, MethodContext) - Method in interface io.micronaut.sourcegen.bytecode.expression.ExpressionWriter
-
Write the expression.
- write(GeneratorAdapter, MethodContext, Runnable) - Method in interface io.micronaut.sourcegen.bytecode.statement.StatementWriter
-
Write the statement.
- write(GeneratorAdapter, MethodContext, Runnable) - Method in class io.micronaut.sourcegen.bytecode.statement.TryCatchStatementWriter
- writeClass(ClassVisitor, ClassDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeClass(ClassVisitor, ClassDef, ClassTypeDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeExpression(GeneratorAdapter, MethodContext, ExpressionDef) - Static method in interface io.micronaut.sourcegen.bytecode.expression.ExpressionWriter
- writeExpressionCheckCast(GeneratorAdapter, MethodContext, ExpressionDef, TypeDef) - Static method in interface io.micronaut.sourcegen.bytecode.expression.ExpressionWriter
- writeField(ClassVisitor, ObjectDef, FieldDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an enum.
- writeInterface(ClassVisitor, InterfaceDef, ClassTypeDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeMethod(ClassVisitor, ObjectDef, MethodDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeObject(ClassVisitor, ObjectDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an object.
- writeObject(ClassVisitor, ObjectDef, ClassTypeDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an object.
- writeRecord(ClassVisitor, RecordDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeRecord(ClassVisitor, RecordDef, ClassTypeDef) - Method in class io.micronaut.sourcegen.bytecode.ByteCodeWriter
-
Write an interface.
- writeScoped(GeneratorAdapter, MethodContext, Runnable) - Method in interface io.micronaut.sourcegen.bytecode.statement.StatementWriter
-
Write the statement with scoped locals.
- 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 providedcharset
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 providedcharset
using the standard directory structure.
All Classes and Interfaces|All Packages|Constant Field Values