Class GenerateJakartaDataMetamodelVisitor

java.lang.Object
io.micronaut.data.processor.visitors.GenerateJakartaDataMetamodelVisitor
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.inject.visitor.PackageElementVisitor<GenerateJakartaDataMetamodel>, io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>

@Internal public class GenerateJakartaDataMetamodelVisitor extends Object implements io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>, io.micronaut.inject.visitor.PackageElementVisitor<GenerateJakartaDataMetamodel>
The Jakarta Data static metamodel generator.
Since:
5.0
Author:
Denis Stepanov
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor

    io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
    @NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
     
    io.micronaut.inject.visitor.TypeElementQuery
     
    void
    visitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context)
     
    void
    visitPackage(@NonNull io.micronaut.inject.ast.PackageElement element, @NonNull io.micronaut.inject.visitor.VisitorContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.inject.visitor.PackageElementVisitor

    getPackageAnnotationName

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled

    Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor

    finish, getClassType, getElementType, getSupportedOptions, start, visitConstructor, visitEnumConstant, visitField, visitMethod
  • Constructor Details

    • GenerateJakartaDataMetamodelVisitor

      public GenerateJakartaDataMetamodelVisitor()
  • Method Details

    • visitPackage

      public void visitPackage(@NonNull @NonNull io.micronaut.inject.ast.PackageElement element, @NonNull @NonNull io.micronaut.inject.visitor.VisitorContext context) throws io.micronaut.inject.processing.ProcessingException
      Specified by:
      visitPackage in interface io.micronaut.inject.visitor.PackageElementVisitor<GenerateJakartaDataMetamodel>
      Throws:
      io.micronaut.inject.processing.ProcessingException
    • getSupportedAnnotationNames

      public Set<String> getSupportedAnnotationNames()
      Specified by:
      getSupportedAnnotationNames in interface io.micronaut.inject.visitor.PackageElementVisitor<GenerateJakartaDataMetamodel>
      Specified by:
      getSupportedAnnotationNames in interface io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>
    • visitClass

      public void visitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context)
      Specified by:
      visitClass in interface io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered
    • query

      public io.micronaut.inject.visitor.TypeElementQuery query()
      Specified by:
      query in interface io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>
    • getVisitorKind

      @NonNull public @NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind getVisitorKind()
      Specified by:
      getVisitorKind in interface io.micronaut.inject.visitor.PackageElementVisitor<GenerateJakartaDataMetamodel>
      Specified by:
      getVisitorKind in interface io.micronaut.inject.visitor.TypeElementVisitor<GenerateJakartaDataMetamodel,Object>