Files
Tagir Valeev 6c6697d422 [java-inspections] CreateFieldFromParameterAction: ModCommand
Otherwise, it's hard to make it compatible with new-style unused inspection (IDEA-349083)
Also: remove empty line in constructor body automatically

GitOrigin-RevId: ab1cd08352d9f0168b86acc1d4b87cb89cfe7d69
2024-03-22 12:27:40 +00:00

13 lines
189 B
Java

// "Create field for parameter 'p1'" "true-preview"
class Test{
private final int <caret>myP1;
int myP2;
Test(int p1, int p2){
myP1 = p1;
myP2 = p2;
}
}