Class OpenApiGroupInfoVisitor

java.lang.Object
io.micronaut.openapi.visitor.OpenApiGroupInfoVisitor
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>

@Internal @SupportedOptions("micronaut.openapi.enabled") public class OpenApiGroupInfoVisitor extends Object implements io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
A TypeElementVisitor that read the @OpenAPIGroupInfo annotations at the compile time.
Since:
4.10.0
  • 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
     
    OpenApiGroupInfoVisitor(List<String> groups, List<String> groupsExcluded)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    @NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
     
    void
    visitClass(io.micronaut.inject.ast.ClassElement classEl, 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.core.util.Toggleable

    isEnabled

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

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

    • OpenApiGroupInfoVisitor

      public OpenApiGroupInfoVisitor()
    • OpenApiGroupInfoVisitor

      public OpenApiGroupInfoVisitor(List<String> groups, List<String> groupsExcluded)
  • Method Details

    • getVisitorKind

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

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

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