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;
    }
}

package agaricus.applysrg;

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

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

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

Fix reversed field