boolean (@NotNull VirtualFile file) { VirtualFile parent = file.getParent(); if (parent != null && Comparing.equal("services", parent.getNameSequence())) { final VirtualFile gParent = parent.getParent(); if (gParent != null && Comparing.equal("META-INF", gParent.getNameSequence())) { final String fileName = file.getName(); return FileTypeRegistry.getInstance().getFileTypeByFileName(fileName) == FileTypes.UNKNOWN; } } return false; }