title: Type Internal compiler error / Eclipse
body: <p>When entering this code in Eclipse :
  Error in the first line "p" underlined with red, i didn't write the whole code because it's pretty big</p>
  
  <pre><code>package be.maximvdw.qaplugin.modules;
  
  import be.maximvdw.qaplugin.api.AIModule;
  import be.maximvdw.qaplugin.api.AIQuestionEvent;
  import be.maximvdw.qaplugin.api.QAPluginAPI;
  import be.maximvdw.qaplugin.api.ai.*;
  import be.maximvdw.qaplugin.api.annotations.*;
  import be.maximvdw.qaplugin.api.exceptions.FeatureNotEnabled;
  import be.maximvdw.qaplugin.modules.utils.HtmlUtils;
  import be.maximvdw.qaplugin.modules.utils.ItemData;
  import be.maximvdw.qaplugin.modules.utils.LocaleDownloader;
  import org.bukkit.Bukkit;
  import org.bukkit.Material;
  import org.bukkit.entity.Player;
  import org.bukkit.event.EventHandler;
  import org.bukkit.event.EventPriority;
  import org.bukkit.event.Listener;
  import org.bukkit.event.inventory.InventoryClickEvent;
  import org.bukkit.event.player.PlayerQuitEvent;
  import org.bukkit.inventory.ItemStack;
  import org.bukkit.inventory.Recipe;
  
  import java.lang.reflect.Method;
  import java.util.*;
  ....
  </code></pre>
  
  <p>I get the following error : </p>
  
  <blockquote>
    <p>Internal compiler error: java.lang.ClassCastException:
    org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding cannot be
    cast to org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding at
    org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.cachePartsFrom(BinaryTypeBinding.java:490) RecipeModule.java   /recipe/src/be/maximvdw/qaplugin/modules    line
    0 Java Problem</p>
  </blockquote>
  
  <p>and this :</p>
  
  <blockquote>
    <p>Errors occurred during the build. Errors running builder 'Java
    Builder' on project 'recipe'.
    org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding cannot be
    cast to org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding</p>
  </blockquote>
  
  <p>I'm using Eclipse Neon 4.6.3 / Java 8</p>