Type Erasure

820
-1

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
820
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Type Erasure

  1. 1. Java VM Type Erasure arkadi.shishlov@gmail.com
  2. 2. 1. function signatures2. field signatures3. template class bytecode does not contain parameterized type information
  3. 3. enclosing class field’sreflection metadata contain information about parameterizing type List<String> list; Field.getGenericType()
  4. 4. (anonymous) derived(template specialized) class for which bytecode is generated, encode parameterizing type information Class.getGenericSuperclass()
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×