src/main/java/org/fuin/srcgen4j/core/emf/AbstractEMFParser.java
protected final void setFileExtensions(final String... fileExtensions) {
        if (fileExtensions == null) {
            this.fileExtensions = null;
        } else {
            this.fileExtensions = new ArrayList<String>();
            this.fileExtensions.addAll(Arrays.asList(fileExtensions));
        }
    }
protected final void setFileExtensions(final String... fileExtensions) {
        if (fileExtensions == null) {
            this.fileExtensions = null;
        } else {
            this.fileExtensions = new ArrayList<String>();
            this.fileExtensions.addAll(Arrays.asList(fileExtensions));
        }
    }
protected final void setFileExtensions ( final String ... fileExtensions ) { if ( fileExtensions == null ) { this . fileExtensions = null ; } else { this . fileExtensions = new ArrayList < String > ( ) ; this . fileExtensions . addAll ( Arrays . asList ( fileExtensions ) ) ; } }
Sets the list of file extensions. If no list exists internally, it will be created if necessary.

@param fileExtensions
Array of extensions for files to find ("mymodel", "java", "class", ...)
Sets the list of file extensions . If no list exists internally it will be created if necessary .