Class AnnotationHandler


  • public class AnnotationHandler
    extends Object
    Create beans to handle MP Metrics API annotations. It is ok to import and use classes that reference MP Metrics classes.
    • Constructor Detail

      • AnnotationHandler

        public AnnotationHandler()
    • Method Detail

      • transformAnnotations

        static AnnotationsTransformerBuildItem transformAnnotations​(org.jboss.jandex.IndexView index,
                                                                    org.jboss.jandex.DotName meterAnnotation)
      • transformAnnotations

        static AnnotationsTransformerBuildItem transformAnnotations​(org.jboss.jandex.IndexView index,
                                                                    org.jboss.jandex.DotName sourceAnnotationName,
                                                                    org.jboss.jandex.DotName targetAnnotationName)
      • removeCountedWhenTimed

        static boolean removeCountedWhenTimed​(org.jboss.jandex.DotName sourceAnnotation,
                                              org.jboss.jandex.AnnotationTarget target,
                                              org.jboss.jandex.ClassInfo classInfo,
                                              org.jboss.jandex.MethodInfo methodInfo)