@TypeInfo("io.vertx.ceylon.core.dns::DnsClient")
public DnsClient resolvePTR(
final @TypeInfo("ceylon.language::String") @DocAnnotation$annotation$(description = "todo") ceylon.language.String name,
final @TypeInfo("ceylon.language::Anything(ceylon.language::Throwable|ceylon.language::String)") @DocAnnotation$annotation$(description = "todo") Callable<?> handler) {
java.lang.String arg_0 = name.toString();
<BUG>io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>> arg_1 = new io.vertx.lang.ceylon.AsyncResultAdapter<java.lang.String>(handler) { public Object toCeylon(java.lang.String event) { return new ceylon.language.String(event); } };
</BUG>
DnsClient ret = new io.vertx.ceylon.core.dns.DnsClient(delegate.resolvePTR(arg_0, arg_1));
return ret;
}

@TypeInfo("io.vertx.ceylon.core.dns::DnsClient")
public DnsClient lookup(
final @TypeInfo("ceylon.language::String") @DocAnnotation$annotation$(description = "todo") ceylon.language.String name,
final @TypeInfo("ceylon.language::Anything(ceylon.language::Throwable|ceylon.language::String)") @DocAnnotation$annotation$(description = "todo") Callable<?> handler) {
java.lang.String arg_0 = name.toString();
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>> arg_1 = new io.vertx.lang.ceylon.AsyncResultAdapter<java.lang.String>(handler) { public Object toCeylon(java.lang.String event) { return io.vertx.lang.ceylon.ToCeylon.String.convert(event); } };
DnsClient ret = new io.vertx.ceylon.core.dns.DnsClient(delegate.lookup(arg_0, arg_1));
return ret;
}
