package agaricus.applysrg;

public class RenamingField extends Renaming {
    public String className;
    public String newName;
    public String oldName;

    public RenamingField(String className, String newName, String oldName) {
        this.className = className;
        this.newName = newName;
        this.oldName = oldName;
    }

    public String toString() {
        return "Field "+className+" "+oldName+" -> "+newName;
    }
}

@@ -110,27 +110,27 @@
 blic String 
-new
+old
 Name;%0A    pu
@@ -137,27 +137,27 @@
 blic String 
-old
+new
 Name;%0A%0A    p
@@ -197,27 +197,27 @@
 ame, String 
-new
+old
 Name, String
@@ -213,27 +213,27 @@
 ame, String 
-old
+new
 Name) %7B%0A    
@@ -281,21 +281,21 @@
 his.
-new
+old
 Name = 
-new
+old
 Name
@@ -305,37 +305,37 @@
        this.
-old
+new
 Name = 
-old
+new
 Name;%0A    %7D%0A

Fix reversed field