kotlin.jvm.internal
Class Reflection

java.lang.Object
  extended by kotlin.jvm.internal.Reflection

public class Reflection
extends Object

This class serves as a facade to the actual reflection implementation. JVM back-end generates calls to static methods of this class on any reflection-using construct.


Constructor Summary
Reflection()
           
 
Method Summary
static kotlin.reflect.KClass createKotlinClass(Class javaClass)
           
static kotlin.reflect.KPackage createKotlinPackage(Class javaClass)
           
static kotlin.reflect.KPackage createKotlinPackage(Class javaClass, String moduleName)
           
static kotlin.reflect.KClass foreignKotlinClass(Class javaClass)
           
static kotlin.reflect.KClass[] foreignKotlinClasses(Class[] javaClasses)
           
static kotlin.reflect.KFunction function(FunctionReference f)
           
static kotlin.reflect.KMutableProperty0 mutableProperty0(MutablePropertyReference0 p)
           
static kotlin.reflect.KMutableProperty1 mutableProperty1(MutablePropertyReference1 p)
           
static kotlin.reflect.KMutableProperty2 mutableProperty2(MutablePropertyReference2 p)
           
static kotlin.reflect.KProperty0 property0(PropertyReference0 p)
           
static kotlin.reflect.KProperty1 property1(PropertyReference1 p)
           
static kotlin.reflect.KProperty2 property2(PropertyReference2 p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflection

public Reflection()
Method Detail

createKotlinClass

public static kotlin.reflect.KClass createKotlinClass(Class javaClass)

foreignKotlinClasses

public static kotlin.reflect.KClass[] foreignKotlinClasses(Class[] javaClasses)

createKotlinPackage

public static kotlin.reflect.KPackage createKotlinPackage(Class javaClass)

createKotlinPackage

public static kotlin.reflect.KPackage createKotlinPackage(Class javaClass,
                                                          String moduleName)

foreignKotlinClass

public static kotlin.reflect.KClass foreignKotlinClass(Class javaClass)

function

public static kotlin.reflect.KFunction function(FunctionReference f)

property0

public static kotlin.reflect.KProperty0 property0(PropertyReference0 p)

mutableProperty0

public static kotlin.reflect.KMutableProperty0 mutableProperty0(MutablePropertyReference0 p)

property1

public static kotlin.reflect.KProperty1 property1(PropertyReference1 p)

mutableProperty1

public static kotlin.reflect.KMutableProperty1 mutableProperty1(MutablePropertyReference1 p)

property2

public static kotlin.reflect.KProperty2 property2(PropertyReference2 p)

mutableProperty2

public static kotlin.reflect.KMutableProperty2 mutableProperty2(MutablePropertyReference2 p)


Copyright © 2015. All Rights Reserved.