Ptidej-v5.2-master/POM Tests/rsc/pattern4/gr/uom/java/bytecode/FieldInstructionObject.java
package gr.uom.java.bytecode;

public class FieldInstructionObject {

    private String ownerClass;
    private String classType;
    private String name;

    public FieldInstructionObject(String ownerClass, String classType, String name) {
        this.ownerClass = ownerClass;
        this.classType = classType;
        this.name = name;
    }

    public String getOwnerClass() {
        return ownerClass;
    }

    public String getClassType() {
        return classType;
    }

    public String getName() {
        return name;
    }

    public boolean equals(Object o) {
        if(this == o) {
            return true;
        }

        if (o instanceof FieldInstructionObject) {
            FieldInstructionObject fio = (FieldInstructionObject)o;
            return this.ownerClass.equals(fio.ownerClass) && this.name.equals(fio.name) && this.classType.equals(fio.classType);
        }
        return false;
    }
}
