kotlin.jvm.internal
Class MutablePropertyReference1Impl

java.lang.Object
  extended by kotlin.jvm.internal.CallableReference
      extended by kotlin.jvm.internal.PropertyReference
          extended by kotlin.jvm.internal.MutablePropertyReference
              extended by kotlin.jvm.internal.MutablePropertyReference1
                  extended by kotlin.jvm.internal.MutablePropertyReference1Impl
All Implemented Interfaces:
kotlin.Function, kotlin.jvm.functions.Function1, kotlin.reflect.KAnnotatedElement, kotlin.reflect.KCallable, kotlin.reflect.KMutableProperty, kotlin.reflect.KMutableProperty1, kotlin.reflect.KProperty, kotlin.reflect.KProperty1

public class MutablePropertyReference1Impl
extends MutablePropertyReference1


Nested Class Summary
 
Nested classes/interfaces inherited from interface kotlin.reflect.KMutableProperty1
kotlin.reflect.KMutableProperty1.Setter<T,R>
 
Nested classes/interfaces inherited from interface kotlin.reflect.KProperty1
kotlin.reflect.KProperty1.Getter<T,R>
 
Nested classes/interfaces inherited from interface kotlin.reflect.KProperty
kotlin.reflect.KProperty.Accessor<R>, kotlin.reflect.KProperty.DefaultImpls
 
Field Summary
 
Fields inherited from class kotlin.jvm.internal.CallableReference
NO_RECEIVER, receiver
 
Constructor Summary
MutablePropertyReference1Impl(kotlin.reflect.KDeclarationContainer owner, String name, String signature)
           
 
Method Summary
 Object get(Object receiver)
           
 String getName()
           
 kotlin.reflect.KDeclarationContainer getOwner()
           
 String getSignature()
           
 void set(Object receiver, Object value)
           
 
Methods inherited from class kotlin.jvm.internal.MutablePropertyReference1
computeReflected, getDelegate, getGetter, getSetter, invoke
 
Methods inherited from class kotlin.jvm.internal.PropertyReference
equals, getReflected, hashCode, isConst, isLateinit, toString
 
Methods inherited from class kotlin.jvm.internal.CallableReference
call, callBy, compute, getAnnotations, getBoundReceiver, getParameters, getReturnType, getTypeParameters, getVisibility, isAbstract, isFinal, isOpen
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kotlin.reflect.KProperty
isConst, isLateinit
 
Methods inherited from interface kotlin.reflect.KCallable
call, callBy, getParameters, getReturnType, getTypeParameters, getVisibility, isAbstract, isFinal, isOpen
 
Methods inherited from interface kotlin.reflect.KAnnotatedElement
getAnnotations
 

Constructor Detail

MutablePropertyReference1Impl

public MutablePropertyReference1Impl(kotlin.reflect.KDeclarationContainer owner,
                                     String name,
                                     String signature)
Method Detail

getOwner

public kotlin.reflect.KDeclarationContainer getOwner()
Overrides:
getOwner in class CallableReference
Returns:
the class or package where the callable should be located, usually specified on the LHS of the '::' operator

getName

public String getName()
Specified by:
getName in interface kotlin.reflect.KCallable
Overrides:
getName in class CallableReference
Returns:
Kotlin name of the callable, the one which was declared in the source code (@JvmName doesn't change it)

getSignature

public String getSignature()
Overrides:
getSignature in class CallableReference
Returns:
JVM signature of the callable, e.g. "println(Ljava/lang/Object;)V". If this is a property reference, returns the JVM signature of its getter, e.g. "getFoo(Ljava/lang/String;)I". If the property has no getter in the bytecode (e.g. private property in a class), it's still the signature of the imaginary default getter that would be generated otherwise. Note that technically the signature itself is not even used as a signature per se in reflection implementation, but only as a unique and unambiguous way to map a function/property descriptor to a string.

get

public Object get(Object receiver)

set

public void set(Object receiver,
                Object value)


Copyright © 2017. All Rights Reserved.