GH-522 - Polishing.

This commit is contained in:
Oliver Drotbohm
2024-03-05 11:52:04 +01:00
parent 5f7e6a2479
commit c45a0fc9b7
2 changed files with 4 additions and 5 deletions

View File

@@ -147,9 +147,9 @@ interface ApplicationModuleInformation {
private final Optional<ApplicationModule> annotation;
/**
* Whether the given {@link JavaPackage} supports this {@link ApplicationModuleInformation}.
* Whether the given {@link AnnotationLookup} supports this {@link ApplicationModuleInformation}.
*
* @param javaPackage must not be {@literal null}.
* @param lookup must not be {@literal null}.
*/
public static boolean supports(AnnotationLookup lookup) {
@@ -159,9 +159,9 @@ interface ApplicationModuleInformation {
}
/**
* Creates a new {@link SpringModulithModule} for the given {@link JavaPackage}.
* Creates a new {@link SpringModulithModule} for the given {@link AnnotationLookup}.
*
* @param javaPackage must not be {@literal null}.
* @param lookup must not be {@literal null}.
*/
public SpringModulithModule(AnnotationLookup lookup) {
this.annotation = lookup.lookup(ApplicationModule.class);

View File

@@ -246,7 +246,6 @@ public class JavaPackage implements DescribedIterable<JavaClass> {
*
* @param <A> the type of the annotation.
* @param annotationType must not be {@literal null}.
* @param typeFilter must not be {@literal null}.
* @return will never be {@literal null}.
* @since 1.2
* @throws IllegalStateException in case multiple types in the current package are annotated with the given