Kotlin printer: idioms parked by the #140 review

Đang mở
#231 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
java, kotlin

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
1
Fork
1
Merge trung bình
48 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeLaser/maddi

Tất cả issue của CodeLaser/maddi

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.