File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
spring-modulith-core/src/main/java/org/springframework/modulith/core Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,9 @@ static class SpringModulithModule implements ApplicationModuleInformation {
147
147
private final Optional <ApplicationModule > annotation ;
148
148
149
149
/**
150
- * Whether the given {@link JavaPackage } supports this {@link ApplicationModuleInformation}.
150
+ * Whether the given {@link AnnotationLookup } supports this {@link ApplicationModuleInformation}.
151
151
*
152
- * @param javaPackage must not be {@literal null}.
152
+ * @param lookup must not be {@literal null}.
153
153
*/
154
154
public static boolean supports (AnnotationLookup lookup ) {
155
155
@@ -159,9 +159,9 @@ public static boolean supports(AnnotationLookup lookup) {
159
159
}
160
160
161
161
/**
162
- * Creates a new {@link SpringModulithModule} for the given {@link JavaPackage }.
162
+ * Creates a new {@link SpringModulithModule} for the given {@link AnnotationLookup }.
163
163
*
164
- * @param javaPackage must not be {@literal null}.
164
+ * @param lookup must not be {@literal null}.
165
165
*/
166
166
public SpringModulithModule (AnnotationLookup lookup ) {
167
167
this .annotation = lookup .lookup (ApplicationModule .class );
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ public <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationType)
246
246
*
247
247
* @param <A> the type of the annotation.
248
248
* @param annotationType must not be {@literal null}.
249
- * @param typeFilter must not be {@literal null}.
250
249
* @return will never be {@literal null}.
251
250
* @since 1.2
252
251
* @throws IllegalStateException in case multiple types in the current package are annotated with the given
You can’t perform that action at this time.
0 commit comments