Class RuleMemberValidator.MemberMustBeStatic

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MemberMustBeStatic()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(FrameworkMember<?> member, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.util.List<java.lang.Throwable> errors)
      Examine the given member and add any violations of the strategy's validation logic to the given list of errors
      • Methods inherited from class java.lang.Object

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

      • MemberMustBeStatic

        private MemberMustBeStatic()
    • Method Detail

      • validate

        public void validate​(FrameworkMember<?> member,
                             java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                             java.util.List<java.lang.Throwable> errors)
        Description copied from interface: RuleMemberValidator.RuleValidator
        Examine the given member and add any violations of the strategy's validation logic to the given list of errors
        Specified by:
        validate in interface RuleMemberValidator.RuleValidator
        Parameters:
        member - The member (field or member) to examine
        annotation - The type of rule annotation on the member
        errors - The list of errors to add validation violations to