Class ParameterValidator

  • All Implemented Interfaces:
    org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>

    @Order(-10000)
    public class ParameterValidator
    extends java.lang.Object
    implements org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>
    The ParameterValidator is active for elements annotated with Parameter or IteratedParameter. It makes sure that methods, in which Parameter or IteratedParameter is used on parameters, are annotated with Step. It also makes sure that classes, in which Parameter or IteratedParameter is used on fields, are annotated with TestClass.
    Since:
    2.0.0
    Author:
    Nils Christian Ehmke <[email protected]>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doValidate​(java.util.List<? extends org.eclipse.xtend.lib.macro.declaration.NamedElement> annotatedTargetElements, org.eclipse.xtend.lib.macro.ValidationContext context)  
      • Methods inherited from class java.lang.Object

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

      • ParameterValidator

        public ParameterValidator()
    • Method Detail

      • doValidate

        public void doValidate​(java.util.List<? extends org.eclipse.xtend.lib.macro.declaration.NamedElement> annotatedTargetElements,
                               @Extension
                               org.eclipse.xtend.lib.macro.ValidationContext context)
        Specified by:
        doValidate in interface org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.NamedElement>
        Since:
        2.0.0