title: LibGDX -class TagGame contains a signature 'LArrayList<>;' ill-formed at position 11
body: <p>I have no idea what's wrong. The error came up after I tried to use an ArrayList to store <code>Player</code> types. I've since erased everything I did, which was only three lines, but the error won't go away.<br>
  I tried restarting Eclipse, cleaning/rebuilding, and refreshing. Still there. The only thing I haven't done is move all the code to a brand-new project, but that's a huge pain in the butt so I'd like to avoid that. And I would like to know what causes this error so as to avoid it in the future.<br>
  This is how I used the ArrayList:</p>
  
  <pre><code>ArrayList&lt;Player&gt; players;
  ...
  public void create() {
      players = new ArrayList&lt;Player&gt;();
  
      players.add(p1);
      players.add(p2);
  }
  </code></pre>
  
  <p>This has worked in other applications, so I don't see why it should be different with LibGDX. Or why the error won't go away after erasing everything to do with it.</p>
  
  <p>Edit: the error occurs on the letter "p" of "package" in the <code>DesktopLauncher</code> class. The ArrayList is in the main Game class.</p>
  
  <p>Edit 2: if I try to run it, the console outputs <code>Error: Could not find or load main class com.fun.tag.desktop.DesktopLauncher</code>. The file exists, for sure, and could be opened before the error came up - literally nothing changed in the project other than four small lines. Those lines were never even compiled. </p>