Transformation Rules Applied to File:Square.java

Showing full text of file after each rule

Rules AppliedStructRule CharToShortRule StringRule PointerRule StructInitRule.AddConstructorRule: Square(4) StructInitRule.AddConstructorRule: Square(5) StructInitRule.AddConstructorRule: Square(3) InsertClassRule (Final Version)
StructRule
CharToShortRule
StringRule
PointerRule
StructInitRule.AddConstructorRule: Square(4)
StructInitRule.AddConstructorRule: Square(5)
StructInitRule.AddConstructorRule: Square(3)
InsertClassRule
final
char * name;
char owner;
char type;
Property * description;
int cost;
char * name;
int owner;
char type;
Property * description;
int cost;
String name;
int owner;
char type;
Property * description;
int cost;
String name;
int owner;
char type;
Property description;
int cost;
Square() {
}
public Square(String name, int owner, char type, Property description) {
    this.name = name;
    this.owner = owner;
    this.type = type;
    this.description = description;
}
String name;
int owner;
char type;
Property description;
int cost;
public Square(String name, int owner, char type, Property description, int cost) {
    this.name = name;
    this.owner = owner;
    this.type = type;
    this.description = description;
    this.cost = cost;
}
Square() {
}
public Square(String name, int owner, char type, Property description) {
    this.name = name;
    this.owner = owner;
    this.type = type;
    this.description = description;
}
String name;
int owner;
char type;
Property description;
int cost;
public Square(String name, int owner, char type) {
    this.name = name;
    this.owner = owner;
    this.type = type;
}
public Square(String name, int owner, char type, Property description, int cost) {
    this.name = name;
    this.owner = owner;
    this.type = type;
    this.description = description;
    this.cost = cost;
}
Square() {
}
public Square(String name, int owner, char type, Property description) {
    this.name = name;
    this.owner = owner;
    this.type = type;
    this.description = description;
}
String name;
int owner;
char type;
Property description;
int cost;
public class Square {
    public Square(String name, int owner, char type) {
        this.name = name;
        this.owner = owner;
        this.type = type;
    }

    public Square(String name, int owner, char type, Property description, int cost) {
        this.name = name;
        this.owner = owner;
        this.type = type;
        this.description = description;
        this.cost = cost;
    }

    Square() {
    }

    public Square(String name, int owner, char type, Property description) {
        this.name = name;
        this.owner = owner;
        this.type = type;
        this.description = description;
    }

    String name;
    int owner;
    char type;
    Property description;
    int cost;
}
public class Square {
    public Square(String name, int owner, char type) {
        this.name = name;
        this.owner = owner;
        this.type = type;
    }

    public Square(String name, int owner, char type, Property description, int cost) {
        this.name = name;
        this.owner = owner;
        this.type = type;
        this.description = description;
        this.cost = cost;
    }

    Square() {
    }

    public Square(String name, int owner, char type, Property description) {
        this.name = name;
        this.owner = owner;
        this.type = type;
        this.description = description;
    }

    String name;
    int owner;
    char type;
    Property description;
    int cost;
}