Kotlin printer: idioms parked by the #140 review

オープン
#231 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
java, kotlin

調査の方向性

The issue lists Kotlin printer idioms deferred from the #140 review, with several separate transformations and occurrence counts from a langchain4j output. Read the #140 review and the printer implementation to identify the relevant entry points; the issue does not name files or tests. Done means splitting the work into individual issues, as the body says, before choosing and implementing one transformation.

索引モデルが issue の本文から書いたものです。

説明

enhancement

The #140 review parked these until after the KotlinConf proposal. Recorded here so they are not lost; each becomes its own issue when picked up.

  • Streams → collection operations (.stream() 61 times in the 2026-10-15 langchain4j output).
  • Optional → nullable types (101 occurrences).
  • equals/hashCode/toString → data class.
  • getX()/setX() → properties for Java-parsed code (63 accessor functions).
  • Default arguments for overload chains.
  • object singletons and top-level functions for utility classes.
  • when from if-chains, trailing lambdas and it.

(@Throws is #223; ?.let is #164.)

🤖 Generated with Claude Code

主要言語
Java
スター
1
フォーク
1
平均マージ
48分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeLaser/maddi のほかの issue

CodeLaser/maddi の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。