public boolean analyzeJar()

in src/main/java/org/apache/sling/caconfig/bndplugin/ConfigurationClassScannerPlugin.java [59:71]


    public boolean analyzeJar(Analyzer analyzer) throws Exception {

        // get all annotation classes from this project with Configuration annotation
        Collection<String> classNames = getClassesWithAnnotation(CONFIGURATION_ANNOTATION_CLASS, analyzer);

        // set bundle header containing all class names found
        if (!classNames.isEmpty()) {
            analyzer.set(CONFIGURATION_CLASSES_HEADER, StringUtils.join(classNames, ","));
        }

        // we did not change any classes - no need to re-analyze
        return false;
    }