Class MethodValidatedAnnotationsTransformer

java.lang.Object
io.quarkus.hibernate.validator.deployment.MethodValidatedAnnotationsTransformer
All Implemented Interfaces:
io.quarkus.arc.processor.AnnotationsTransformer, io.quarkus.arc.processor.BuildExtension, org.jboss.jandex.AnnotationTransformation

public class MethodValidatedAnnotationsTransformer extends Object implements io.quarkus.arc.processor.AnnotationsTransformer
Add MethodValidated annotations to the methods requiring validation.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.arc.processor.AnnotationsTransformer

    io.quarkus.arc.processor.AnnotationsTransformer.AbstractBuilder<THIS extends io.quarkus.arc.processor.AnnotationsTransformer.AbstractBuilder<THIS>>, io.quarkus.arc.processor.AnnotationsTransformer.Builder, io.quarkus.arc.processor.AnnotationsTransformer.ClassTransformerBuilder, io.quarkus.arc.processor.AnnotationsTransformer.FieldTransformerBuilder, io.quarkus.arc.processor.AnnotationsTransformer.MethodTransformerBuilder, io.quarkus.arc.processor.AnnotationsTransformer.TransformationContext

    Nested classes/interfaces inherited from interface org.jboss.jandex.AnnotationTransformation

    org.jboss.jandex.AnnotationTransformation.ClassBuilder, org.jboss.jandex.AnnotationTransformation.DeclarationBuilder, org.jboss.jandex.AnnotationTransformation.FieldBuilder, org.jboss.jandex.AnnotationTransformation.MethodBuilder, org.jboss.jandex.AnnotationTransformation.MethodParameterBuilder, org.jboss.jandex.AnnotationTransformation.RecordComponentBuilder

    Nested classes/interfaces inherited from interface io.quarkus.arc.processor.BuildExtension

    io.quarkus.arc.processor.BuildExtension.BuildContext, io.quarkus.arc.processor.BuildExtension.Key<T>, io.quarkus.arc.processor.BuildExtension.SimpleKey<V>
  • Field Summary

    Fields inherited from interface org.jboss.jandex.AnnotationTransformation

    DEFAULT_PRIORITY_VALUE

    Fields inherited from interface io.quarkus.arc.processor.BuildExtension

    DEFAULT_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    MethodValidatedAnnotationsTransformer(Set<org.jboss.jandex.DotName> consideredAnnotations, Map<org.jboss.jandex.DotName,Set<SimpleMethodSignatureKey>> jaxRsMethods, Map<org.jboss.jandex.DotName,Set<SimpleMethodSignatureKey>> methodsWithInheritedValidation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    appliesTo(org.jboss.jandex.AnnotationTarget.Kind kind)
     
    void
    transform(io.quarkus.arc.processor.AnnotationsTransformer.TransformationContext transformationContext)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.quarkus.arc.processor.AnnotationsTransformer

    apply, priority, requiresCompatibleMode, supports

    Methods inherited from interface io.quarkus.arc.processor.BuildExtension

    getPriority, initialize
  • Constructor Details

  • Method Details

    • appliesTo

      public boolean appliesTo(org.jboss.jandex.AnnotationTarget.Kind kind)
      Specified by:
      appliesTo in interface io.quarkus.arc.processor.AnnotationsTransformer
    • transform

      public void transform(io.quarkus.arc.processor.AnnotationsTransformer.TransformationContext transformationContext)
      Specified by:
      transform in interface io.quarkus.arc.processor.AnnotationsTransformer