kotlin.jvm.internal
Class Reflection
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reflection
public Reflection()
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.