Class TapirJUnitAnnotationProcessorUtil


  • public class TapirJUnitAnnotationProcessorUtil
    extends java.lang.Object
    Provides convenience methods which might be used by multiple annotation processors.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRunWithAnnotation​(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.TransformationContext context)
      Adds JUnit's RunWith annotation to the given annotatedClass.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TapirJUnitAnnotationProcessorUtil

        public TapirJUnitAnnotationProcessorUtil()
    • Method Detail

      • addRunWithAnnotation

        public void addRunWithAnnotation​(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass,
                                         @Extension
                                         org.eclipse.xtend.lib.macro.TransformationContext context)
        Adds JUnit's RunWith annotation to the given annotatedClass. RunWith.value() delegates to TapirJUnitBootstrapper.
        Parameters:
        annotatedClass - the class which should be annotated
        context - the transformation context
        Since:
        2.0.0