I upgraded IntelliJ a couple of days ago and the current version is 2017.2
When I tried implementing methods with annotated parameter by intention, the generated code does not include the annotations.
For example:
Given a method in the interface.
void test(@TestAnnotation(name = "arg1") String arg1, @TestAnnotation2(name = "arg2") String arg2);
The generated code will be
void test(String arg1, String arg2);
I do remember it will bring annotations from super class/interface before. I also find this checked in settings.
Is there anything wrong with my IDEA or the settings or is it a known issue?
Aucun commentaire:
Enregistrer un commentaire