Class AssertJAssertionsWrapperProcessor

  • All Implemented Interfaces:
    org.eclipse.xtend.lib.macro.CodeGenerationParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>, org.eclipse.xtend.lib.macro.RegisterGlobalsParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>, org.eclipse.xtend.lib.macro.TransformationParticipant<org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration>, org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>

    public class AssertJAssertionsWrapperProcessor
    extends org.eclipse.xtend.lib.macro.AbstractClassProcessor
    Processes classes which are annotated with AssertJAssertionsWrapper. For further information consult the javadoc of AssertJAssertionsWrapper.
    Since:
    3.1.0
    Author:
    Oliver Libutzki <[email protected]>
    See Also:
    AssertJAssertionsWrapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doRegisterGlobals​(org.eclipse.xtend.lib.macro.declaration.ClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.RegisterGlobalsContext context)  
      void doTransform​(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.TransformationContext context)  
      protected java.lang.Iterable<org.eclipse.xtend.lib.macro.declaration.MethodDeclaration> getAssertThatMethods​(org.eclipse.xtend.lib.macro.declaration.AnnotationReference wrapperAnnotation)  
      protected org.eclipse.xtend.lib.macro.declaration.TypeReference getParameterTypeReference​(org.eclipse.xtend.lib.macro.declaration.TypeReference typeReference)  
      protected java.lang.String getSupplierNameByMethod​(org.eclipse.xtend.lib.macro.declaration.ClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.declaration.MethodDeclaration methodDeclaration)  
      • Methods inherited from class org.eclipse.xtend.lib.macro.AbstractClassProcessor

        doGenerateCode, doGenerateCode, doRegisterGlobals, doTransform, doValidate, doValidate
      • Methods inherited from class java.lang.Object

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

      • AssertJAssertionsWrapperProcessor

        public AssertJAssertionsWrapperProcessor()
    • Method Detail

      • doRegisterGlobals

        public void doRegisterGlobals​(org.eclipse.xtend.lib.macro.declaration.ClassDeclaration annotatedClass,
                                      @Extension
                                      org.eclipse.xtend.lib.macro.RegisterGlobalsContext context)
        Overrides:
        doRegisterGlobals in class org.eclipse.xtend.lib.macro.AbstractClassProcessor
      • doTransform

        public void doTransform​(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass,
                                @Extension
                                org.eclipse.xtend.lib.macro.TransformationContext context)
        Overrides:
        doTransform in class org.eclipse.xtend.lib.macro.AbstractClassProcessor
      • getAssertThatMethods

        protected java.lang.Iterable<org.eclipse.xtend.lib.macro.declaration.MethodDeclaration> getAssertThatMethods​(org.eclipse.xtend.lib.macro.declaration.AnnotationReference wrapperAnnotation)
      • getParameterTypeReference

        protected org.eclipse.xtend.lib.macro.declaration.TypeReference getParameterTypeReference​(org.eclipse.xtend.lib.macro.declaration.TypeReference typeReference)
      • getSupplierNameByMethod

        protected java.lang.String getSupplierNameByMethod​(org.eclipse.xtend.lib.macro.declaration.ClassDeclaration annotatedClass,
                                                           org.eclipse.xtend.lib.macro.declaration.MethodDeclaration methodDeclaration)