File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
inject/src/main/java/io/avaje/inject/spi Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
package io .avaje .inject .spi ;
2
2
3
- import java .lang .reflect .Type ;
4
-
5
3
import io .avaje .inject .BeanScopeBuilder ;
6
4
5
+ import java .lang .reflect .Type ;
6
+
7
7
/**
8
8
* A Plugin that can be applied when creating a bean scope.
9
9
*
12
12
*/
13
13
public interface InjectPlugin extends InjectExtension {
14
14
15
- /** Empty array of classes. */
15
+ /**
16
+ * Empty array of classes.
17
+ */
16
18
Class <?>[] EMPTY_CLASSES = {};
17
19
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
+ */
22
23
void apply (BeanScopeBuilder builder );
23
24
24
- /** Return the classes that the plugin provides. */
25
+ /**
26
+ * Return the classes that the plugin provides.
27
+ */
25
28
default Type [] provides () {
26
29
return EMPTY_CLASSES ;
27
30
}
28
31
29
- /** Return the aspect classes that the plugin provides. */
32
+ /**
33
+ * Return the aspect classes that the plugin provides.
34
+ */
30
35
default Class <?>[] providesAspects () {
31
36
return EMPTY_CLASSES ;
32
37
}
33
- }
38
+ }
You can’t perform that action at this time.
0 commit comments