public class ScalaApiModel extends ApiModel
ApiModel
-implementation to allow the conversion of method signatures.
It specifically changes methods from accepting a Handler<AsyncResult>
to return a Scala-Promise.builder
Constructor and Description |
---|
ScalaApiModel(CodeBuilder builder,
ExpressionModel expression) |
Modifier and Type | Method and Description |
---|---|
ExpressionModel |
onMethodInvocation(io.vertx.codegen.type.TypeInfo receiverType,
MethodSignature method,
io.vertx.codegen.type.TypeInfo returnType,
List<TypeArg> typeArguments,
List<ExpressionModel> argumentModels,
List<io.vertx.codegen.type.TypeInfo> argumentTypes) |
as, onField, onInstanceOf, onLogicalComplement, onMethodReference, onPostFixDecrement, onPostFixIncrement, onPrefixDecrement, onPrefixIncrement, toDataObjectValue, unaryMinus, unaryPlus
unsupported
public ScalaApiModel(CodeBuilder builder, ExpressionModel expression)
public ExpressionModel onMethodInvocation(io.vertx.codegen.type.TypeInfo receiverType, MethodSignature method, io.vertx.codegen.type.TypeInfo returnType, List<TypeArg> typeArguments, List<ExpressionModel> argumentModels, List<io.vertx.codegen.type.TypeInfo> argumentTypes)
onMethodInvocation
in class ExpressionModel
Copyright © 2017. All rights reserved.