File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
inject-generator/src/main/java/io/avaje/inject/generator Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ final class MetaDataOrdering {
35
35
for (String provide : metaData .provides ()) {
36
36
providerAdd (provide ).add (metaData );
37
37
}
38
+ final String aspect = metaData .providesAspect ();
39
+ if (aspect != null && !aspect .isEmpty ()) {
40
+ providerAdd (Util .wrapAspect (aspect )).add (metaData );
41
+ }
38
42
}
39
43
externallyRequiredDependencies ();
40
44
}
Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ static String extractAspectType(String rawType) {
159
159
return rawType .substring (ASPECT_PROVIDER_LENGTH , rawType .length () - 1 );
160
160
}
161
161
162
+ static String wrapAspect (String aspect ) {
163
+ return Constants .ASPECT_PROVIDER + "<" + aspect + ">" ;
164
+ }
165
+
162
166
/**
163
167
* Return the common parent package.
164
168
*/
You can’t perform that action at this time.
0 commit comments