/**
* Maven 3.1.x and newer uses SLF4J internally, which means we do not need to pass a logger instance around.
+ *
+ * @deprecated Use {@link FileGenerator} instead.
*/
+@Deprecated
public interface BasicCodeGenerator {
enum ImportResolutionMode {
/**
*/
package org.opendaylight.yangtools.yang2sources.spi;
+import org.opendaylight.yangtools.plugin.generator.api.FileGenerator;
import org.sonatype.plexus.build.incremental.BuildContext;
/**
* with BuildContext. These will have the build context injected before any
* attempt is made to generate files and should interact with the reactor solely
* through it.
+ *
+ * @deprecated Use {@link FileGenerator} instead.
*/
+@Deprecated
public interface BuildContextAware {
/**
* Set the build context to be used during the lifetime of this reactor.
package org.opendaylight.yangtools.yang2sources.spi;
import org.apache.maven.project.MavenProject;
+import org.opendaylight.yangtools.plugin.generator.api.FileGeneratorFactory;
/**
* Bridge for plugins which need access to the underlying maven project.
+ *
+ * @deprecated Use {@link FileGeneratorFactory} instead.
*/
+@Deprecated
public interface MavenProjectAware {
/**
* Provided maven project object. Any additional information about current
/**
* An SPI-level interface to find the schema source for a particular YANG module, as packaged in the final artifact.
* The module must be part of the current resolution context.
+ *
+ * @deprecated Use {@link org.opendaylight.yangtools.plugin.generator.api.ModuleResourceResolver} instead.
*/
@Beta
+@Deprecated
@FunctionalInterface
@SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_INTERFACE", justification = "Migration to new place")
public interface ModuleResourceResolver extends org.opendaylight.yangtools.plugin.generator.api.ModuleResourceResolver {