hey :slightly_smiling_face: inside intellij when I...
# getting-started
n
hey 🙂 inside intellij when I enter the kotlin REPL I'm executing the following, and i get in the an error about memberProperties
Copy code
class Person(val name:String)

val p = Person("nad")

p.javaClass
res2: java.lang.Class<Line_0.Person> = class Line_0$Person

p.javaClass.kotlin
res3: kotlin.reflect.KClass<Line_0.Person> = class Line_0$Person

p.javaClass.kotlin.memberProperties
error: unresolved reference: memberProperties
p.javaClass.kotlin.memberProperties
reflection isn't fully supported in REPL?
n
can i import to repl?
Copy code
import kotlin.reflect.full.*

p.javaClass.kotlin.memberProperties
res6: kotlin.collections.Collection<kotlin.reflect.KProperty1<Line_0.Person, *>> = [val Line_0.Person.name: kotlin.String]
worked, thanks 😄