{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/85","repository_url":"https://api.github.com/repos/vert-x3/vertx-codegen","labels_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/85/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/85/events","html_url":"https://github.com/vert-x3/vertx-codegen/issues/85","id":162678283,"number":85,"title":"Code generation lost the ability to have derived data objects in 3.3.0","user":{"login":"marcust","id":95655,"avatar_url":"https://avatars.githubusercontent.com/u/95655?v=3","gravatar_id":"","url":"https://api.github.com/users/marcust","html_url":"https://github.com/marcust","followers_url":"https://api.github.com/users/marcust/followers","following_url":"https://api.github.com/users/marcust/following{/other_user}","gists_url":"https://api.github.com/users/marcust/gists{/gist_id}","starred_url":"https://api.github.com/users/marcust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcust/subscriptions","organizations_url":"https://api.github.com/users/marcust/orgs","repos_url":"https://api.github.com/users/marcust/repos","events_url":"https://api.github.com/users/marcust/events{/privacy}","received_events_url":"https://api.github.com/users/marcust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T12:52:12Z","updated_at":"2016-06-28T12:59:41Z","closed_at":null,"body":"```\r\nio.vertx.codegen.GenException: type com.hubrick.vertx.kafka.producer.model.StringKafkaMessage does not have a valid 'public JsonObject toJson()' method.\r\n\tat io.vertx.codegen.ProxyModel.checkParamType(ProxyModel.java:89)\r\n\tat io.vertx.codegen.ClassModel.getParams(ClassModel.java:869)\r\n\tat io.vertx.codegen.ClassModel.addMethod(ClassModel.java:727)\r\n```\r\n\r\nWhat the message actually means is `Found 2 possible toJson implementations` in my case, because we have an `abstract` base class for our `@DataObject`, apparently he catches both methods and that leads to the exception. \r\n\r\nI don't really get the semantics here or why all `super` methods are taken into consideration as well, but apparently that ignores `@Override`.\r\n\r\nUsed to work in 3.2.1."},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/comments/229041286","html_url":"https://github.com/vert-x3/vertx-codegen/issues/85#issuecomment-229041286","issue_url":"https://api.github.com/repos/vert-x3/vertx-codegen/issues/85","id":229041286,"user":{"login":"marcust","id":95655,"avatar_url":"https://avatars.githubusercontent.com/u/95655?v=3","gravatar_id":"","url":"https://api.github.com/users/marcust","html_url":"https://github.com/marcust","followers_url":"https://api.github.com/users/marcust/followers","following_url":"https://api.github.com/users/marcust/following{/other_user}","gists_url":"https://api.github.com/users/marcust/gists{/gist_id}","starred_url":"https://api.github.com/users/marcust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcust/subscriptions","organizations_url":"https://api.github.com/users/marcust/orgs","repos_url":"https://api.github.com/users/marcust/repos","events_url":"https://api.github.com/users/marcust/events{/privacy}","received_events_url":"https://api.github.com/users/marcust/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T12:59:41Z","updated_at":"2016-06-28T12:59:41Z","body":"https://github.com/hubrick/vertx-kafka-service, just update vert.x dependency to 3.3"}}
{"actor":{"display_login":"marcust"}}