EgorKulikov / idea-chelper

Automatically exported from code.google.com/p/idea-chelper
112 stars 59 forks source link

Interfaces loses their method definition with inboxing/outboxing #85

Open dauom opened 4 years ago

dauom commented 4 years ago

I defined an interface:

private interface Dfs {
   void go(ArrayList<Integer> x, int u);
}

I define the implementation as anonymous class inside main. And I use that interface by pass an Integer instance instead of int to the https://guides.github.com/features/mastering-markdown/second parameter u. It runs inside the IDE well, but the output Main.java file strips away the definition (probably because it doesn't match anything being called inside the main).