Search in sources :

Example 1 with CtPackageImpl

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

the class DefaultCoreFactory method createPackage.

public CtPackage createPackage() {
    CtPackage e = new CtPackageImpl();
    e.setFactory(getMainFactory());
    e.setParent(getMainFactory().Package().getRootPackage());
    return e;
}
Also used : CtPackage(spoon.reflect.declaration.CtPackage) CtPackageImpl(spoon.support.reflect.declaration.CtPackageImpl)

Aggregations

CtPackage (spoon.reflect.declaration.CtPackage)1 CtPackageImpl (spoon.support.reflect.declaration.CtPackageImpl)1