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.KClass createKotlinClass(Class javaClass, String internalName)
           
static kotlin.reflect.KFunction function(FunctionReference f)
           
static kotlin.reflect.KClass getOrCreateKotlinClass(Class javaClass)
           
static kotlin.reflect.KClass getOrCreateKotlinClass(Class javaClass, String internalName)
           
static kotlin.reflect.KClass[] getOrCreateKotlinClasses(Class[] javaClasses)
           
static kotlin.reflect.KDeclarationContainer getOrCreateKotlinPackage(Class javaClass, String moduleName)
           
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)

createKotlinClass

public static kotlin.reflect.KClass createKotlinClass(Class javaClass,
                                                      String internalName)

getOrCreateKotlinPackage

public static kotlin.reflect.KDeclarationContainer getOrCreateKotlinPackage(Class javaClass,
                                                                            String moduleName)

getOrCreateKotlinClass

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

getOrCreateKotlinClass

public static kotlin.reflect.KClass getOrCreateKotlinClass(Class javaClass,
                                                           String internalName)

getOrCreateKotlinClasses

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

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 © 2016. All Rights Reserved.