We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447ed8d commit 6d45229Copy full SHA for 6d45229
inject-generator/src/main/java/io/avaje/inject/generator/ScopeInfo.java
@@ -163,7 +163,10 @@ void writeModule() {
163
if (emptyModule) {
164
// typically nothing in the default scope, only custom scopes
165
if (meta.size() > 0) {
166
- context.logWarn("Empty module but meta is not empty? " + meta);
+ String msg = meta + " is being ignored by avaje-inject as there is no 'default' module. This is expected when " +
167
+ meta + " is a @Singleton being generated by an annotation processor but there is no 'default' module " +
168
+ "(only custom modules are being used).";
169
+ context.logWarn(msg);
170
}
171
return;
172
0 commit comments