Class IsTestableMethod

  • All Implemented Interfaces:
    java.util.function.Predicate<java.lang.reflect.Method>
    Direct Known Subclasses:
    IsTestFactoryMethod, IsTestMethod, IsTestTemplateMethod

    abstract class IsTestableMethod
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.reflect.Method>
    Since:
    5.0
    • Field Detail

      • annotationType

        private final java.lang.Class<? extends java.lang.annotation.Annotation> annotationType
    • Method Detail

      • test

        public boolean test​(java.lang.reflect.Method candidate)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.reflect.Method>
      • createIssue

        protected static DiscoveryIssue createIssue​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
                                                    java.lang.reflect.Method method,
                                                    java.lang.String condition)