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(TypeInfo receiverType,
MethodSignature method,
TypeInfo returnType,
List<TypeArg> typeArguments,
List<ExpressionModel> argumentModels,
List<TypeInfo> argumentTypes) |
as, onField, onInstanceOf, onLogicalComplement, onMethodReference, onPostFixDecrement, onPostFixIncrement, onPrefixDecrement, onPrefixIncrement, toDataObjectValue, unaryMinus, unaryPlusunsupportedpublic ScalaApiModel(CodeBuilder builder, ExpressionModel expression)
public ExpressionModel onMethodInvocation(TypeInfo receiverType, MethodSignature method, TypeInfo returnType, List<TypeArg> typeArguments, List<ExpressionModel> argumentModels, List<TypeInfo> argumentTypes)
onMethodInvocation in class ExpressionModelCopyright © 2019 Eclipse. All rights reserved.