Файли
openidea/crates/ide-syntax
Jacob Kjeldahlтаkjeldahl 0920f189d6 fix(syntax): class icon for Java 25 compact source files (#7819)
A Java 25 compact source file (JEP 512) took its Project view icon from its first top-level type (an enum or interface). Its top-level methods belong to the file's implicit class, so it now shows the class icon, the runnable one when it has a main (void main() or main(String[])). The Java main check is shared by class members and top-level methods.

Co-authored-by: kjeldahl <[email protected]>
2026-12-03 23:00:29 +08:00
..
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00