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 Set<String>
     
    protected final io.quarkus.gizmo2.Gizmo
     
    protected final org.jboss.jandex.IndexView
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected void
    completeBoolean(io.quarkus.gizmo2.creator.BlockCreator bc, io.quarkus.gizmo2.Expr result)
     
     
    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.gizmo2.creator.BlockCreator bc, org.jboss.jandex.Type type, io.quarkus.gizmo2.Expr val, io.quarkus.gizmo2.creator.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
    • gizmo

      protected final io.quarkus.gizmo2.Gizmo gizmo
  • Constructor Details

    • AbstractGenerator

      protected AbstractGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo2.ClassOutput classOutput)
  • Method Details

    • getGeneratedTypes

      public Set<String> getGeneratedTypes()
    • completeBoolean

      protected void completeBoolean(io.quarkus.gizmo2.creator.BlockCreator bc, io.quarkus.gizmo2.Expr 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.gizmo2.creator.BlockCreator bc, org.jboss.jandex.Type type, io.quarkus.gizmo2.Expr val, io.quarkus.gizmo2.creator.ClassCreator classCreator)
    • skipMemberType

      protected boolean skipMemberType(org.jboss.jandex.Type type)