News

Plugin version 1.4.1 on CLion 2022.2. Thanks for the plugin! Yet, I get the following exception after just opening a project that contains dot files and then navigating to some non-dot file via ...
java.lang.ClassCastException: class org.json.JSONArray cannot be cast to class java.util.List (org.json.JSONArray is in unnamed module of loader 'app'; java.util.List is in module java.base of loader ...
The output from this code would be: java.util.List<java.lang.String>. As revealed by reflection, the above code shows the collection and generic type.
Using generics results in more robust code and avoids ClassCastExceptions in your Java programs. This in-depth tutorial introduces you to generics and their types and methods.