Community
Participate
Working Groups
when i analyze this kind of code : package codeManipulation; public class bug { static private int dummyFct3() { return 3; } static private int dummyFct2() { return 3; } static private void pipo () { int z = bug.dummyFct3(),y=bug.dummyFct2(); } } the VariableDeclarationStatement that modelize the line "int z = bug.dummyFct3 (),y=bug.dummyFct2();" have a null parent instead of a Block node if i modify a little this original code : package codeManipulation; public class bug { static private int dummyFct3() { return 3; } static private int dummyFct2() { return 3; } static private void pipo () { int z = bug.dummyFct3(); int y=bug.dummyFct2(); } } it works perfectly used installation : Version: 2.1.0 Build id: 200303272130
I will investigate.
I cannot reproduce using the first code snippet. So this has been fixed in latest code. Please reopen if you see it again.
Change milestone.