Skip to content

Commit 1d439ef

Browse files
committed
Update InjectPlugin.java
1 parent 17d4fbb commit 1d439ef

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed
Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package io.avaje.inject.spi;
22

3-
import java.lang.reflect.Type;
4-
53
import io.avaje.inject.BeanScopeBuilder;
64

5+
import java.lang.reflect.Type;
6+
77
/**
88
* A Plugin that can be applied when creating a bean scope.
99
*
@@ -12,22 +12,27 @@
1212
*/
1313
public interface InjectPlugin extends InjectExtension {
1414

15-
/** Empty array of classes. */
15+
/**
16+
* Empty array of classes.
17+
*/
1618
Class<?>[] EMPTY_CLASSES = {};
1719

18-
/** Empty array of classes. */
19-
String[] EMPTY_STRINGS = {};
20-
21-
/** Apply the plugin to the scope builder. */
20+
/**
21+
* Apply the plugin to the scope builder.
22+
*/
2223
void apply(BeanScopeBuilder builder);
2324

24-
/** Return the classes that the plugin provides. */
25+
/**
26+
* Return the classes that the plugin provides.
27+
*/
2528
default Type[] provides() {
2629
return EMPTY_CLASSES;
2730
}
2831

29-
/** Return the aspect classes that the plugin provides. */
32+
/**
33+
* Return the aspect classes that the plugin provides.
34+
*/
3035
default Class<?>[] providesAspects() {
3136
return EMPTY_CLASSES;
3237
}
33-
}
38+
}

0 commit comments

Comments
 (0)