Comment association

Jalopy associates comments using an assignment heuristics considering empty lines and column offsets (as sketched below).

some code...
// comment

more code here...

some code...

// comment
more code here...

some code...

// comment

more code here...
Belongs to the upper code part. Belongs to the lower code part. Belongs to the lower code part.
     
some code...
// comment
more code here...

      some code...
      // comment
more code here...

some code...
/** comment */

more code here...
Belongs to the lower code part. Belongs to the upper code part. Belongs to the lower code part.