boolean (VirtualFile virtualFile, boolean showHidden) { if(!showHidden && virtualFile.getName().charAt(0) == '.') return false; return virtualFile.isDirectory() || "xml".equals(virtualFile.getExtension()) || "yaml".equals(virtualFile.getExtension()); }