void (String service, String... providers) { myUsages.add(UsageRepr.createClassUsage(myContext, myContext.get(service))); if (providers != null) { for (String provider : providers) { myUsages.add(UsageRepr.createClassUsage(myContext, myContext.get(provider))); } } }