void (String service, String... providers) { PsiProvidesStatementStubImpl statementStub = new PsiProvidesStatementStubImpl(myResult, NAME_MAPPER.fun(service)); String[] names = map2Array(providers, String.class, NAME_MAPPER); new PsiClassReferenceListStubImpl(PROVIDES_WITH_LIST, statementStub, names.length == 0 ? ArrayUtilRt.EMPTY_STRING_ARRAY : names); }