Class AbstractGenerator

java.lang.Object
io.quarkus.qute.generator.AbstractGenerator
Direct Known Subclasses:
ExtensionMethodGenerator, TemplateGlobalGenerator, ValueResolverGenerator

public abstract class AbstractGenerator extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final io.quarkus.gizmo.ClassOutput
     
    protected final Set<String>
     
    protected final org.jboss.jandex.IndexView
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo.ClassOutput classOutput)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    completeBoolean(io.quarkus.gizmo.BytecodeCreator bc, io.quarkus.gizmo.ResultHandle result)
     
    protected boolean
    completeEnum(org.jboss.jandex.ClassInfo enumClass, io.quarkus.gizmo.ClassCreator valueResolver, io.quarkus.gizmo.ResultHandle result, io.quarkus.gizmo.BytecodeCreator bc)
     
     
    protected boolean
    hasClassInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.DotName className, org.jboss.jandex.IndexView index)
     
    protected boolean
    hasCompletionStage(org.jboss.jandex.Type type)
     
    protected boolean
    hasCompletionStageInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.IndexView index)
     
    protected boolean
    isEnum(org.jboss.jandex.Type returnType)
     
    protected void
    processReturnVal(io.quarkus.gizmo.BytecodeCreator bc, org.jboss.jandex.Type type, io.quarkus.gizmo.ResultHandle ret, io.quarkus.gizmo.ClassCreator classCreator)
     
    protected boolean
    skipMemberType(org.jboss.jandex.Type type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • generatedTypes

      protected final Set<String> 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

      public Set<String> 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)