Class ReflectionFactory

java.lang.Object
kotlin.jvm.internal.ReflectionFactory

public class ReflectionFactory extends Object
  • Constructor Details

    • ReflectionFactory

      public ReflectionFactory()
  • Method Details

    • createKotlinClass

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

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

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

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

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

      @SinceKotlin(version="1.1") public String renderLambdaToString(kotlin.jvm.internal.Lambda lambda)
    • renderLambdaToString

      @SinceKotlin(version="1.3") public String renderLambdaToString(kotlin.jvm.internal.FunctionBase lambda)
    • function

      public kotlin.reflect.KFunction function(FunctionReference f)
    • property0

      public kotlin.reflect.KProperty0 property0(PropertyReference0 p)
    • mutableProperty0

      public kotlin.reflect.KMutableProperty0 mutableProperty0(MutablePropertyReference0 p)
    • property1

      public kotlin.reflect.KProperty1 property1(PropertyReference1 p)
    • mutableProperty1

      public kotlin.reflect.KMutableProperty1 mutableProperty1(MutablePropertyReference1 p)
    • property2

      public kotlin.reflect.KProperty2 property2(PropertyReference2 p)
    • mutableProperty2

      public kotlin.reflect.KMutableProperty2 mutableProperty2(MutablePropertyReference2 p)
    • typeOf

      @SinceKotlin(version="1.4") public kotlin.reflect.KType typeOf(kotlin.reflect.KClassifier klass, List<kotlin.reflect.KTypeProjection> arguments, boolean isMarkedNullable)
    • typeParameter

      @SinceKotlin(version="1.4") public kotlin.reflect.KTypeParameter typeParameter(Object container, String name, kotlin.reflect.KVariance variance, boolean isReified)
    • setUpperBounds

      @SinceKotlin(version="1.4") public void setUpperBounds(kotlin.reflect.KTypeParameter typeParameter, List<kotlin.reflect.KType> bounds)
    • platformType

      @SinceKotlin(version="1.6") public kotlin.reflect.KType platformType(kotlin.reflect.KType lowerBound, kotlin.reflect.KType upperBound)
    • mutableCollectionType

      @SinceKotlin(version="1.6") public kotlin.reflect.KType mutableCollectionType(kotlin.reflect.KType type)
    • nothingType

      @SinceKotlin(version="1.6") public kotlin.reflect.KType nothingType(kotlin.reflect.KType type)