RepoPilot

jetbrains / kotlin

Search jetbrains/kotlin

GitHub

Code

How jetbrains/kotlin is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Suggested starting pointAI
  3. Suggested starting pointAI
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI

Find files for a task

AI

Add a new compiler diagnostic

  • Define diagnostic in FIR diagnostic generator configuration
  • Implement diagnostic check in FIR checker rules
  • Register diagnostic message in compiler messages bundle

Add support for a new target backend (e.g., WebAssembly)

  • Implement IR-to-target lowering in new backend module
  • Wire target selection into compiler CLI argument parsing
  • Add backend-specific code generation tests

Add IDE analysis capability (symbol queries, hover info)

  • Define new query interface in platform API
  • Implement FIR-based resolver in Analysis API
  • Expose via public Analysis API contract
  • Add IDE test case in analysis test framework

Add a new compiler plugin hook

  • Invoke plugin hook at appropriate compilation phase
  • Document hook contract and provide example plugin

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • No public API or start-up file could be picked out from the file names.

Code quality and hotspots

Largest source files

  • Branch points39 per file on average
  • Code issues0 errors, 9 warnings
  • Largest file1,729 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions1 workflow
  • Tests950 test files0.37 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: analysis/analysis-api-fir/testFixtures/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations · analysis/analysis-api-fir/testFixtures/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider · analysis/analysis-api-fir/testFixtures/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.