Source file structure

A source file consists of, in order:

  1. License or copyright information, if present
  2. Package statement
  3. Import statements
  4. Exactly one top-level class

Additionally:

  • Exactly one blank line separates sections 2-4;
  • The package statement is not line-wrapped (column limit does not apply);