/** * Get the interfaces implemented by this standard class, or by one of its superclasses. * * @return the set of interfaces implemented by this standard class, or by one of its superclasses. Returns the * empty list if none. */ public List<String> getNamesOfImplementedInterfaces() { return getClassNames(getImplementedInterfaces()); }
private Set<ClassInfo> readClassAnnotationsFor(ClassInfo classInfo) { Set<ClassInfo> annotations = new HashSet<>(classInfo.getAnnotations()); annotations.addAll(selectInheritedAnnotations(classInfo.getSuperclasses())); annotations.addAll(selectInheritedAnnotations(classInfo.getImplementedInterfaces())); return annotations; }