private static boolean isEligibleFile(String file) {
        // Check the file is a Showcase file, is not an array "[]", and is not an inner class "$"
        return file != null && file.startsWith(SC_PREFIX) && !file.endsWith("[]") && !file.contains("$");
    }
Determines if a given file is eligible for processing.

@param file The file name or path to check
@return true if the file is eligible, false otherwise
primefaces-showcase/src/main/java/org/primefaces/showcase/util/FileContentMarkerUtil.java