src/main/java/org/fuin/srcgen4j/core/emf/AbstractEMFParser.java
protected final void setModelDirs(final File... modelDirs) {
        if (modelDirs == null) {
            this.modelDirs = null;
        } else {
            this.modelDirs = new ArrayList<File>();
            this.modelDirs.addAll(Arrays.asList(modelDirs));
        }
    }
protected final void setModelDirs(final File... modelDirs) {
        if (modelDirs == null) {
            this.modelDirs = null;
        } else {
            this.modelDirs = new ArrayList<File>();
            this.modelDirs.addAll(Arrays.asList(modelDirs));
        }
    }
protected final void setModelDirs ( final File ... modelDirs ) { if ( modelDirs == null ) { this . modelDirs = null ; } else { this . modelDirs = new ArrayList < File > ( ) ; this . modelDirs . addAll ( Arrays . asList ( modelDirs ) ) ; } }
Sets the model directories to parse. If no list exists internally, it will be created if necessary.

@param modelDirs
Array of model directories or NULL.
Sets the model directories to parse . If no list exists internally it will be created if necessary .