/** * Returns all interfaces implemented by a class and any superinterface for any of those * interfaces. */ public Set<ObjectType> getAllDirectlyImplementedInterfaces(FunctionType type) { Set<ObjectType> interfaces = new HashSet<>(); for (ObjectType implementedInterface : type.getOwnImplementedInterfaces()) { addRelatedInterfaces(implementedInterface, interfaces); } return interfaces; }
Iterator<ObjectType> it = ftype.getOwnImplementedInterfaces().iterator(); if (it.hasNext()) { emit("implements");
for (JSType implementedType : type.getOwnImplementedInterfaces()) { visitOnce(implementedType);