<warning descr="Explicit class declaration can be converted into a compact source file">public class beforeWithEnhancedMain2</warning> {
  public void main() {
    System.out.println("Hello, world!");
  }
}
