Search in sources :

Example 1 with CtModuleImpl

use of spoon.support.reflect.declaration.CtModuleImpl in project spoon by INRIA.

the class DefaultCoreFactory method createModule.

public CtModule createModule() {
    CtModule module = new CtModuleImpl();
    module.setFactory(getMainFactory());
    this.getMainFactory().Module().getUnnamedModule().addModule(module);
    return module;
}
Also used : CtModuleImpl(spoon.support.reflect.declaration.CtModuleImpl) CtModule(spoon.reflect.declaration.CtModule)

Aggregations

CtModule (spoon.reflect.declaration.CtModule)1 CtModuleImpl (spoon.support.reflect.declaration.CtModuleImpl)1