Closed
Description
A nested interface will cause the following compilation error:
io.vertx.codegen.GenException: Can only have one interface per file
I would like to be able to avoid this by doing something like the following:
@ProxyGen
@VertxGen
public interface MyService {
void serviceMethodOne(String data, Handler<AsyncResult<Void>> resultHandler);
void serviceMethodTwo(String data, Handler<AsyncResult<Void>> resultHandler);
@GenIgnore
@ProxyIgnore
@FunctionalInterface
interface MyNestedInterface {
void anotherMethod(Integer data, Handler<AsyncResult<Void>> resultHandler);
}
}
Is that feasible?
Metadata
Metadata
Assignees
Labels
No labels