public abstract class CallableReference extends Object implements kotlin.reflect.KCallable, Serializable
reflected
field.Modifier and Type | Field and Description |
---|---|
static Object |
NO_RECEIVER |
protected Object |
receiver |
Modifier | Constructor and Description |
---|---|
|
CallableReference() |
protected |
CallableReference(Object receiver) |
Modifier and Type | Method and Description |
---|---|
Object |
call(Object... args) |
Object |
callBy(Map args) |
kotlin.reflect.KCallable |
compute() |
protected abstract kotlin.reflect.KCallable |
computeReflected() |
List<Annotation> |
getAnnotations() |
Object |
getBoundReceiver() |
String |
getName() |
kotlin.reflect.KDeclarationContainer |
getOwner() |
List<kotlin.reflect.KParameter> |
getParameters() |
protected kotlin.reflect.KCallable |
getReflected() |
kotlin.reflect.KType |
getReturnType() |
String |
getSignature() |
List<kotlin.reflect.KTypeParameter> |
getTypeParameters() |
kotlin.reflect.KVisibility |
getVisibility() |
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isOpen() |
@SinceKotlin(version="1.1") protected final Object receiver
@SinceKotlin(version="1.1") public static final Object NO_RECEIVER
public CallableReference()
@SinceKotlin(version="1.1") protected CallableReference(Object receiver)
protected abstract kotlin.reflect.KCallable computeReflected()
@SinceKotlin(version="1.1") public Object getBoundReceiver()
@SinceKotlin(version="1.1") public kotlin.reflect.KCallable compute()
@SinceKotlin(version="1.1") protected kotlin.reflect.KCallable getReflected()
public kotlin.reflect.KDeclarationContainer getOwner()
public String getName()
getName
in interface kotlin.reflect.KCallable
public String getSignature()
public List<kotlin.reflect.KParameter> getParameters()
getParameters
in interface kotlin.reflect.KCallable
public kotlin.reflect.KType getReturnType()
getReturnType
in interface kotlin.reflect.KCallable
public List<Annotation> getAnnotations()
getAnnotations
in interface kotlin.reflect.KAnnotatedElement
@NotNull @SinceKotlin(version="1.1") public List<kotlin.reflect.KTypeParameter> getTypeParameters()
getTypeParameters
in interface kotlin.reflect.KCallable
public Object call(@NotNull Object... args)
call
in interface kotlin.reflect.KCallable
public Object callBy(@NotNull Map args)
callBy
in interface kotlin.reflect.KCallable
@Nullable @SinceKotlin(version="1.1") public kotlin.reflect.KVisibility getVisibility()
getVisibility
in interface kotlin.reflect.KCallable
@SinceKotlin(version="1.1") public boolean isFinal()
isFinal
in interface kotlin.reflect.KCallable
@SinceKotlin(version="1.1") public boolean isOpen()
isOpen
in interface kotlin.reflect.KCallable
@SinceKotlin(version="1.1") public boolean isAbstract()
isAbstract
in interface kotlin.reflect.KCallable
Copyright © 2017. All Rights Reserved.