Can Junie generate Kotlin code from UML?

Published: 01 January 1970
on channel: Dave Leeds
1,853
129

UML code generators have been around for a long time. Can Junie do better? Today I'm going to task Junie - JetBrains' new AI coding agent - with writing Kotlin code for some UML diagrams. Let's see if it can implement functions and properties based on context, notes, and other clues!

🧑🏽‍💻 Code for today's video can be found here:
https://github.com/typealias-studios/...

📝 Join the Junie waitlist here:
https://www.jetbrains.com/junie/

✨ New to Kotlin? Start your journey here: https://typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! https://book.typealias.com/

🚀 Get the inside scoop on everything I'm working on - join my email newsletter!
Sign up here: https://newsletter.typealias.com/

📚 Chapters
00:00 Introduction
00:40 guidelines.md
01:45 Generating Simple Types
03:51 Generating from Notes
04:53 Generating Obvious Implementation
06:05 Generating from a Single Example
06:59 Reverse-Engineering to UML
07:52 Implementing Interfaces from Stdlib
08:39 (Slightly) More Complex Type
09:57 Generating from a Sequence Diagram
11:46 Mentioning New Types
13:09 Wrap-up