gumtree-spoon-ast-diff icon indicating copy to clipboard operation
gumtree-spoon-ast-diff copied to clipboard

Output messages in case of Modifiable elements

Open sedflix opened this issue 6 years ago • 0 comments

Case 1

Input: 1.java

package com.test;

class TestClass {
    private int a;
    TestClass() {
    }
}

2.java

package com.test;

class TestClass {
    public int a;
    TestClass() {
    }
}

Output:

Update Wra at com.test.TestClass
	 to public

Case 2

Input: same as above with the following diff 2.java

-    public int a;
+    int a;

Output:

Delete VirtualEle at com.test.TestClass

sedflix avatar May 27 '19 09:05 sedflix