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 68a0984 commit 33605fdCopy full SHA for 33605fd
http-generator-core/src/main/java/io/avaje/http/generator/core/BaseProcessor.java
@@ -131,7 +131,8 @@ private void writeAdapter(Element controller) {
131
132
writeControllerAdapter(reader);
133
TypeElement typeElement = (TypeElement) controller;
134
- if (typeElement.getInterfaces().isEmpty()
+ if (APContext.isTestCompilation()
135
+ && typeElement.getInterfaces().isEmpty()
136
&& "java.lang.Object".equals(typeElement.getSuperclass().toString())) {
137
new TestClientWriter(reader).write();
138
}
0 commit comments