public boolean accept(File dir, String name) {
                    return name.endsWith(".def");
                }
Returns List of all def-files in all defFilesDirectories, including path.
@return The list of def-files.
config-class-plugin/src/main/java/com/yahoo/vespa/ConfigGenMojo.java