<div dir="ltr">
As part of the JEP, can the static analysis tools emit a warning that a 
simple main() is in use?  Perhaps, javac and the Eclipse compiler can 
output a warning when the project reaches a large enough size or the 
code shows that the programmer is ready to use the typical main().  If 
the .java file has public, static, and void, then it is time to use 
these on main().  PMD and/or SonarQube can always output a warning since
 these are not typically used for beginner student programs.

</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 1, 2023 at 2:40 PM Mark Reinhold <<a href="mailto:mark.reinhold@oracle.com">mark.reinhold@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://openjdk.org/jeps/463" rel="noreferrer" target="_blank">https://openjdk.org/jeps/463</a><br>
<br>
  Summary: Evolve the Java programming language so that students can<br>
  write their first programs without needing to understand language<br>
  features designed for large programs. Far from using a separate dialect<br>
  of the language, students can write streamlined declarations for<br>
  single-class programs and then seamlessly expand their programs to use<br>
  more advanced features as their skills grow. This is a preview language<br>
  feature.<br>
<br>
- Mark</blockquote></div>