Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Kotlin Reflection - Features, Syntax, and Use Cases

Java via YouTube

Overview

Explore Kotlin reflection in this 37-minute conference talk by Andrey Breslav. Dive into introspection, metadata storage, and Java compatibility. Learn about syntax, code passing, constructors, and data binding. Examine generics, rank-2 polymorphism, and function encoding. Discover expression trees and investigate use cases for LINQ and web development. Gain insights into delegated properties and understand the intricacies of Kotlin's reflection capabilities.

Syllabus

Intro
DONT JUDGE STRICTLY
OUTLINE
INTROSPECTION
JAVA.LANG.REFLECT?
METADATA?
HOW TO STORE
ONE BIG ANNOTATION
DISCREPANCY 1
PURE JAVA CLASSES?
DISCREPANCY 2
SUMMARY 1
SYNTAX (TENTATIVE)
PASSING CODE AROUND
CONSTRUCTORS
DATA BINDING
GENERICS?
RANK-2 POLYMORPHISM
ENCODING FOR FUNCTIONS
GENERIC FUNCTIONS
EXPR::TYPE
DELEGATED PROPERTIES
SUMMARY 2
USE CASES: LINQ
USE CASES: WEB
EXPRESSION TREES

Taught by

Java

Reviews

Start your review of Kotlin Reflection - Features, Syntax, and Use Cases

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.