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)
createKotlinPackage
public static kotlin.reflect.KPackage createKotlinPackage(Class javaClass)
foreignKotlinClass
public static kotlin.reflect.KClass foreignKotlinClass(Class javaClass)
memberProperty
public static kotlin.reflect.KMemberProperty memberProperty(String name,
kotlin.reflect.KClass owner)
mutableMemberProperty
public static kotlin.reflect.KMutableMemberProperty mutableMemberProperty(String name,
kotlin.reflect.KClass owner)
topLevelVariable
public static kotlin.reflect.KTopLevelVariable topLevelVariable(String name,
kotlin.reflect.KPackage owner)
mutableTopLevelVariable
public static kotlin.reflect.KMutableTopLevelVariable mutableTopLevelVariable(String name,
kotlin.reflect.KPackage owner)
topLevelExtensionProperty
public static kotlin.reflect.KTopLevelExtensionProperty topLevelExtensionProperty(String name,
kotlin.reflect.KPackage owner,
Class receiver)
mutableTopLevelExtensionProperty
public static kotlin.reflect.KMutableTopLevelExtensionProperty mutableTopLevelExtensionProperty(String name,
kotlin.reflect.KPackage owner,
Class receiver)
Copyright © 2015. All Rights Reserved.