Class AssertJAssertionsWrapperProcessor
- java.lang.Object
-
- org.eclipse.xtend.lib.macro.AbstractClassProcessor
-
- de.bmiag.tapir.assertion.annotation.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 withAssertJAssertionsWrapper
. For further information consult the javadoc ofAssertJAssertionsWrapper
.- Since:
- 3.1.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
AssertJAssertionsWrapper
-
-
Constructor Summary
Constructors Constructor Description AssertJAssertionsWrapperProcessor()
-
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)
-
-
-
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 classorg.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 classorg.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)
-
-