Skip to content

Commit e6db3e0

Browse files
committed
Update AvajeModule.java
Revert "Update AvajeModule.java" This reverts commit 87b41c2. Update AvajeModule.java
1 parent 80ef6c5 commit e6db3e0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

inject/src/main/java/io/avaje/inject/spi/AvajeModule.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ public interface AvajeModule extends InjectExtension {
1414
/** Empty array of strings. */
1515
String[] EMPTY_STRINGS = {};
1616

17+
/**
18+
* Return public classes of the beans that would be registered by this module.
19+
*
20+
* <p>This method allows code to use reflection to inspect the modules classes before the module
21+
* is wired. This method is not required for DI wiring.
22+
*/
23+
Class<?>[] classes();
24+
25+
/** Build all the beans. */
26+
void build(Builder builder);
27+
1728
/**
1829
* Return the set of types this module explicitly provides to other modules.
1930
*
@@ -150,17 +161,6 @@ default String[] autoRequiresAspectBeans() {
150161
.toArray(String[]::new);
151162
}
152163

153-
/**
154-
* Return public classes of the beans that would be registered by this module.
155-
*
156-
* <p>This method allows code to use reflection to inspect the modules classes before the module
157-
* is wired. This method is not required for DI wiring.
158-
*/
159-
Class<?>[] classes();
160-
161-
/** Build all the beans. */
162-
void build(Builder builder);
163-
164164
/** Marker for custom scoped modules. */
165165
interface Custom extends AvajeModule {}
166166
}

0 commit comments

Comments
 (0)