Package com.tinkerpop.gremlin.groovy

Source Code of com.tinkerpop.gremlin.groovy.NoImportCustomizerProvider

package com.tinkerpop.gremlin.groovy;

import org.codehaus.groovy.control.customizers.CompilationCustomizer;
import org.codehaus.groovy.control.customizers.ImportCustomizer;

import java.util.Collections;
import java.util.Set;

/**
* Provides no imports.
*
* @author Stephen Mallette (http://stephen.genoprime.com)
*/
public class NoImportCustomizerProvider implements ImportCustomizerProvider {
    @Override
    public CompilationCustomizer getCompilationCustomizer() {
        return new ImportCustomizer();
    }

    @Override
    public Set<String> getExtraImports() {
        return Collections.emptySet();
    }

    @Override
    public Set<String> getExtraStaticImports() {
        return Collections.emptySet();
    }

    @Override
    public Set<String> getImports() {
        return Collections.emptySet();
    }

    @Override
    public Set<String> getStaticImports() {
        return Collections.emptySet();
    }
}
TOP

Related Classes of com.tinkerpop.gremlin.groovy.NoImportCustomizerProvider

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.