Working with IDE like NetBeans or IDEA, i've seen that they are converting generic types into this symbol:
private final List<String> ar = new ArrayList<~>();
But using this in a simple editor results in throwing an error. BTW Eclipse also doesn't like it. Is it somehow connected with type erasure mechanism?