Kotlin printer: idioms parked by the #140 review

Abierto
#231 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
java, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Java
Estrellas
1
Forks
1
Merge medio
48 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeLaser/maddi

Todos los issues de CodeLaser/maddi

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.