org.jetbrains.k2js.translate.reference
Class CallBuilder
java.lang.Object
org.jetbrains.k2js.translate.reference.CallBuilder
public final class CallBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
build
public static CallBuilder build(@NotNull
TranslationContext context)
receiver
@NotNull
public CallBuilder receiver(@Nullable
com.google.dart.compiler.backend.js.ast.JsExpression receiver)
args
@NotNull
public CallBuilder args(@NotNull
java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> args)
args
@NotNull
public CallBuilder args(@NotNull
com.google.dart.compiler.backend.js.ast.JsExpression... args)
descriptor
@NotNull
public CallBuilder descriptor(@NotNull
CallableDescriptor descriptor)
callee
@NotNull
public CallBuilder callee(@Nullable
com.google.dart.compiler.backend.js.ast.JsExpression callee)
resolvedCall
@NotNull
public CallBuilder resolvedCall(@NotNull
ResolvedCall<?> call)
type
@NotNull
public CallBuilder type(@NotNull
CallType type)
translate
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression translate()