Package io.quarkus.qute.generator
Class AbstractGenerator
java.lang.Object
io.quarkus.qute.generator.AbstractGenerator
- Direct Known Subclasses:
ExtensionMethodGenerator,TemplateGlobalGenerator,ValueResolverGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final io.quarkus.gizmo.ClassOutputprotected final org.jboss.jandex.IndexView -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo.ClassOutput classOutput) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompleteBoolean(io.quarkus.gizmo.BytecodeCreator bc, io.quarkus.gizmo.ResultHandle result) protected booleancompleteEnum(org.jboss.jandex.ClassInfo enumClass, io.quarkus.gizmo.ClassCreator valueResolver, io.quarkus.gizmo.ResultHandle result, io.quarkus.gizmo.BytecodeCreator bc) protected booleanhasClassInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.DotName className, org.jboss.jandex.IndexView index) protected booleanhasCompletionStage(org.jboss.jandex.Type type) protected booleanhasCompletionStageInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.IndexView index) protected booleanisEnum(org.jboss.jandex.Type returnType) protected voidprocessReturnVal(io.quarkus.gizmo.BytecodeCreator bc, org.jboss.jandex.Type type, io.quarkus.gizmo.ResultHandle ret, io.quarkus.gizmo.ClassCreator classCreator) protected booleanskipMemberType(org.jboss.jandex.Type type)
-
Field Details
-
generatedTypes
-
index
protected final org.jboss.jandex.IndexView index -
classOutput
protected final io.quarkus.gizmo.ClassOutput classOutput
-
-
Constructor Details
-
AbstractGenerator
protected AbstractGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo.ClassOutput classOutput)
-
-
Method Details
-
getGeneratedTypes
-
completeBoolean
protected void completeBoolean(io.quarkus.gizmo.BytecodeCreator bc, io.quarkus.gizmo.ResultHandle result) -
isEnum
protected boolean isEnum(org.jboss.jandex.Type returnType) -
hasCompletionStage
protected boolean hasCompletionStage(org.jboss.jandex.Type type) -
hasCompletionStageInTypeClosure
protected boolean hasCompletionStageInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.IndexView index) -
hasClassInTypeClosure
protected boolean hasClassInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.DotName className, org.jboss.jandex.IndexView index) -
processReturnVal
protected void processReturnVal(io.quarkus.gizmo.BytecodeCreator bc, org.jboss.jandex.Type type, io.quarkus.gizmo.ResultHandle ret, io.quarkus.gizmo.ClassCreator classCreator) -
completeEnum
protected boolean completeEnum(org.jboss.jandex.ClassInfo enumClass, io.quarkus.gizmo.ClassCreator valueResolver, io.quarkus.gizmo.ResultHandle result, io.quarkus.gizmo.BytecodeCreator bc) -
skipMemberType
protected boolean skipMemberType(org.jboss.jandex.Type type)
-