// Path: gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/gmaven/runtime/StubCompiler.java
// public interface StubCompiler
//     extends org.codehaus.gmaven.runtime.util.Compiler, Component
// {
//     String KEY = StubCompiler.class.getName();
// 
//     interface Keys
//     {
//         String SOURCE_ENCODING = "sourceEncoding";
//     }
// 
//     // Add one off bits here to render/generate
// }


import groovy.lang.GroovyClassLoader;
import org.codehaus.gmaven.feature.Component;
import org.codehaus.gmaven.feature.support.FeatureSupport;
import org.codehaus.gmaven.runtime.StubCompiler;
import org.codehaus.gmaven.runtime.support.CompilerSupport;
import org.codehaus.groovy.control.CompilerConfiguration;
import java.net.URL;
import java.security.CodeSource;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/*
 * Copyright (C) 2006-2007 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.codehaus.gmaven.runtime.v1_7;



/**
 * Provides the stub compilation feature.
 *
 * @version $Id$
 * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
 */
public class StubCompilerFeature
    extends FeatureSupport
{
    public StubCompilerFeature() {
        super(StubCompiler.KEY);
    }

    @Override
    protected Component doCreate() throws Exception {
        return new StubCompilerImpl();
    }

    StubCompilerImpl createInternal() throws Exception {
        return new StubCompilerImpl();
    }

    //
    // StubCompilerImpl
    //

    private class StubCompilerImpl
        extends CompilerSupport
// Path: gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/gmaven/runtime/StubCompiler.java
// public interface StubCompiler
//     extends org.codehaus.gmaven.runtime.util.Compiler, Component
// {
//     String KEY = StubCompiler.class.getName();
// 
//     interface Keys
//     {
//         String SOURCE_ENCODING = "sourceEncoding";
//     }
// 
//     // Add one off bits here to render/generate
// }


// Path: gmaven-runtime/gmaven-runtime-1.7/src/main/java/org/codehaus/gmaven/runtime/v1_7/StubCompilerFeature.java
import groovy.lang.GroovyClassLoader;
import org.codehaus.gmaven.feature.Component;
import org.codehaus.gmaven.feature.support.FeatureSupport;
import org.codehaus.gmaven.runtime.StubCompiler;
import org.codehaus.gmaven.runtime.support.CompilerSupport;
import org.codehaus.groovy.control.CompilerConfiguration;
import java.net.URL;
import java.security.CodeSource;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

/*
 * Copyright (C) 2006-2007 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.codehaus.gmaven.runtime.v1_7;



/**
 * Provides the stub compilation feature.
 *
 * @version $Id$
 * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
 */
public class StubCompilerFeature
    extends FeatureSupport
{
    public StubCompilerFeature() {
        super(StubCompiler.KEY);
    }

    @Override
    protected Component doCreate() throws Exception {
        return new StubCompilerImpl();
    }

    StubCompilerImpl createInternal() throws Exception {
        return new StubCompilerImpl();
    }

    //
    // StubCompilerImpl
    //

    private class StubCompilerImpl
        extends CompilerSupport
        implements StubCompiler, StubCompiler.Keys