public List<JavaResource> getProjectInterfaces(Project project)
   {
      final List<JavaResource> classes = new ArrayList<>();
      if (project != null)
      {
         project.getFacet(JavaSourceFacet.class).visitJavaSources(new JavaInterfaceSourceVisitor(classes));
      }
      return classes;
   }
public List < JavaResource > getProjectInterfaces ( Project project ) { final List < JavaResource > classes = new ArrayList < > ( ) ; if ( project != null ) { project . getFacet ( JavaSourceFacet . class ) . visitJavaSources ( new JavaInterfaceSourceVisitor ( classes ) ) ; } return classes ; }
Returns all the {@link JavaInterfaceSource} objects from the given {@link Project}