Set<String> localInterfaces = new HashSet<String>();
for (DotName iface : interfaces) {
final ClassInfo ifaceClass = compositeIndex.getClassByName(iface);
if (ifaceClass != null) {
final List<AnnotationInstance> annotations = ifaceClass.annotations().get(annotationType);
if (annotations != null) {
for (AnnotationInstance annotation : annotations) {
if (annotation.target() instanceof ClassInfo) {
localInterfaces.add(iface.toString());
break;