Package io.micronaut.sourcegen.model
@NullMarked
package io.micronaut.sourcegen.model
The model.
-
ClassDescriptionAbstractElementBuilder<ThisType>The abstract element builder.The annotation definition.The annotation definition builder.The definition for an annotation class.A definition for annotation member (i.e.Builder for
AnnotationObjectDef.AnnotationMemberDef.The builder for annotation object.The class definition.The class definition builder.The class type definition.A combined type for representing a ClassTypeDef with annotations.The class def element type.The class element type.The class name type.The class type.The parameterized type definition.Whether a statement can complete normally, following JLS 14.22, which every backend asks: where control reaches the end of a method, of a branch, of a try block or of a switch case decides whether a return, a jump or a finally block is written after it, and whether a source compiler accepts what follows.The enum definition.A type defining an enum constant.Builder forEnumDef.EnumConstantDef.The enum definition builder.The expression definition.The and condition.The get array element expression.The cast expression.The condition operation.The operation type.The conditional expression.The constant expression.The referential equals expression.The structurally equals expression.The get property value expression.The if-else expression.The instance of expression.The get class expression.The get hashCode expression.The call an instance method expression.The call a static method expression.The IS FALSE condition.The IS NOT NULL condition.The IS NULL condition.The IS TRUE condition.A type that represents a lambda.The binary math operation.The operation type.The unary math operation.The operation type.The new array expression.The new array expression.The new instance expression.The referential non-equals expression.The structurally equals expression.The or condition.The string concatenation operation.The switch expression.The switch yield case expression.The field definition.The field builder definition.The interface definition.The interface definition builder.Resolves a call again where it is written, which the model cannot while the call is built: it knows neither the class the call is written in nor, for a variable named alone, the bounds that class and the method declare.A call resolved where it is written.Java language idioms.Definition holding information about a lambda interface that can be implemented.The method definition.The body builder.The method builder definition.A method reference used as an expression implementing a functional interface, e.g.The abstract class representing a type: class, enum, interface or record.ObjectDefBuilder<ThisType>The abstract builder that is used for specific types: interfaces, classes, records or enums.The parameter definition.The parameter definition builder.The property definition.The property builder definition.The class definition.The record definition builder.The statement definition.The assign statement.The local variable definition and assignment statement.The if statement.The if-else statement.Invoke the constructor statement.The multi statement.The put field expression.The set a static field expression.The return statement.The switch statement.The synchronized statement.The throw statement.The try statement.The catch.The while statement.The type definition.A combined type interface for representing a Type with annotations.A combined type for representing a TypeDef with annotations.The type for representing an array.The primitive type name.The type variable ref.The wildcard type definition.Walks the supertypes of a definition and the methods they declare, with the type arguments of each supertype substituted - from Sourcegen model, reflection, and annotation-processing types.A method declared by a supertype, as declared: the type variables of the supertype are not substituted.Visits an inherited method.A type of the hierarchy with the type arguments it is inherited with.Looks up what is known of a type the hierarchy names only by its name: the compiler's element, as a function of the binary name, and the definition of the model written with it - a member type naming its enclosing one, or a sibling by its simple name.The variables a generic method of an inherited type declares of its own, in the scope of the type: they shadow the type's variables of the same name, and are bound by nothing the type is inherited with.Finds a type by its binary name while a file is written: the compiler's element where a context of the round is given - the only thing that knows a type compiled or generated in the same round - and else the class, loaded by reflection without being initialized.The operations on the types of the model that the hierarchy walk, override resolution and the generators share: unwrapping annotations, raw types, erasure, substitution, walking the variables a type names, expanding chains of bounds, and a type as one of its supertypes.Rewrites the types a body of statements names: each statement and expression is rebuilt with every type it names mapped, and its nested statements and expressions rewritten in turn.The variable definition.The exception that is part of Try-Catch block.The variable of a field.The local variable.The variable of a method parameter.The variable of a static field.The variable of `super`.The variable of `this`.