GH-522 - Polishing.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user