Reflection

suggest change

Introduction

Reflection is a language’s ability to inspect code at runtime instead of compile time.

Remarks

Reflection is a mechanism to introspect language constructs (classes and functions) at runtime.

When targeting the JVM, runtime reflection features are distributed in a separate JAR: kotlin-reflect.jar. This reduces the runtime size, drops unused features, and makes it possible to target other platforms (such as JS).

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents