package org.example.tests.utils;
import java.util.List;
import org.osgi.service.indexer.Builder;
import org.osgi.service.indexer.Capability;
import org.osgi.service.indexer.Requirement;
import org.osgi.service.indexer.Resource;
import org.osgi.service.indexer.ResourceAnalyzer;
public class WibbleAnalyzer implements ResourceAnalyzer {
public void analyzeResource(Resource resource, List<Capability> capabilities, List<Requirement> requirements) throws Exception {
capabilities.add(new Builder().setNamespace("wibble").buildCapability());
}
}