GH-745 - Polishing.

Reintroduce original method in deprecated form.
This commit is contained in:
Oliver Drotbohm
2024-07-29 23:58:29 +02:00
parent cc571baf86
commit 849cc3e506

View File

@@ -47,6 +47,18 @@ public interface ApplicationModuleDetectionStrategy {
return pkg -> pkg.getDirectSubPackages().stream();
}
/**
* A {@link ApplicationModuleDetectionStrategy} that considers packages explicitly annotated with
* {@link ApplicationModule} module base packages.
*
* @return will never be {@literal null}.
* @deprecated since 1.3. Use {@link #explicitlyAnnotated()} instead.
*/
@Deprecated(forRemoval = true)
static ApplicationModuleDetectionStrategy explictlyAnnotated() {
return explicitlyAnnotated();
}
/**
* A {@link ApplicationModuleDetectionStrategy} that considers packages explicitly annotated with
* {@link ApplicationModule} module base packages.