private void validateListenMethodsStatic()

in src/main/java/org/apache/sling/junit/performance/runner/PerformanceRunner.java [119:127]


    private void validateListenMethodsStatic(List<Throwable> errors) {
        for (FrameworkMethod method : getTestClass().getAnnotatedMethods(Listen.class)) {
            if (method.isStatic()) {
                continue;
            }

            errors.add(new Error("Method " + method.getName() + "() should be static"));
        }
    }