title: What are the exceptions to type erasure in Java?
body: <p>I have seen it mentioned on some places online that in some situations it is possible to use the reflection API to get back information about generic data types which I thought would be lost through type erasure. </p>
  
  <p>I am looking for complete list of the situations where type erasure is not complete i.e. something is still accessible via reflection. A Good list of examples and associated reflection code that can get at the generic types would be excellent. </p>
  
  <p><strong>UPDATE</strong> <a href="http://tutorials.jenkov.com/java-reflection/generics.html" rel="nofollow">http://tutorials.jenkov.com/java-reflection/generics.html</a> had exactly the examples I was looking for. </p>