Add KCallable.returnType

This commit is contained in:
Alexander Udalov
2015-07-23 16:39:52 +03:00
parent be77a2feee
commit 699a801ce9
4 changed files with 20 additions and 0 deletions
@@ -39,6 +39,11 @@ public interface KCallable<out R> {
*/
public val parameters: List<KParameter>
/**
* The type of values returned by this callable.
*/
public val returnType: KType
/**
* Calls this callable with the specified arguments and returns the result.
* Throws an exception if the number of specified arguments is not equal to the size of [parameters],