| Rules Applied | StructRule | TypedefRule.DefineReplacementRule | ArrayDeclaration0Rule | CharToShortRule | ArrayDeclarationRule | DeclarationAssignmentRule | PointerRule | StructInitRule.AddConstructorRule: Property(6) | snippets3.txt | InsertClassRule | (Final Version) | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| StructRule TypedefRule.DefineReplacementRule ArrayDeclaration0Rule CharToShortRule ArrayDeclarationRule DeclarationAssignmentRule PointerRule StructInitRule.AddConstructorRule: Property(6) snippets3.txt InsertClassRule final | boolean isMortgaged; boolean isMonopoly; char square; char houseCount; MON * monopolyDescription; int rent[6]; | boolean isMortgaged; boolean isMonopoly; char square; char houseCount; Monopoly * monopolyDescription; int rent[6]; | boolean isMortgaged; boolean isMonopoly; char square; char houseCount; Monopoly * monopolyDescription; int[6] rent; | boolean isMortgaged; boolean isMonopoly; char square; int houseCount; Monopoly * monopolyDescription; int[6] rent; | boolean isMortgaged; boolean isMonopoly; char square; int houseCount; Monopoly * monopolyDescription; int[] rent = new int[6]; | boolean isMortgaged; boolean isMonopoly; char square; int houseCount; Monopoly * monopolyDescription; int[] rent; rent = new int[6]; | boolean isMortgaged; boolean isMonopoly; char square; int houseCount; Monopoly monopolyDescription; int[] rent; rent = new int[6]; | Property() {
}
public Property(boolean isMortgaged, boolean isMonopoly, char square, int houseCount, Monopoly monopolyDescription, int[] rent) {
this.isMortgaged = isMortgaged;
this.isMonopoly = isMonopoly;
this.square = square;
this.houseCount = houseCount;
this.monopolyDescription = monopolyDescription;
this.rent = rent;
}
boolean isMortgaged;
boolean isMonopoly;
char square;
int houseCount;
Monopoly monopolyDescription;
int[] rent;
rent = new int[6];
| Property() {
}
public Property(boolean isMortgaged, boolean isMonopoly, char square, int houseCount, Monopoly monopolyDescription, int[] rent) {
this.isMortgaged = isMortgaged;
this.isMonopoly = isMonopoly;
this.square = square;
this.houseCount = houseCount;
this.monopolyDescription = monopolyDescription;
this.rent = rent;
}
boolean isMortgaged;
boolean isMonopoly;
char square;
int houseCount;
Monopoly monopolyDescription;
int[] rent = new int[6];
| public class Property {
Property() {
}
public Property(boolean isMortgaged, boolean isMonopoly, char square, int houseCount, Monopoly monopolyDescription, int[] rent) {
this.isMortgaged = isMortgaged;
this.isMonopoly = isMonopoly;
this.square = square;
this.houseCount = houseCount;
this.monopolyDescription = monopolyDescription;
this.rent = rent;
}
boolean isMortgaged;
boolean isMonopoly;
char square;
int houseCount;
Monopoly monopolyDescription;
int[] rent = new int[6];
}
| public class Property {
Property() {
}
public Property(boolean isMortgaged, boolean isMonopoly, char square, int houseCount, Monopoly monopolyDescription, int[] rent) {
this.isMortgaged = isMortgaged;
this.isMonopoly = isMonopoly;
this.square = square;
this.houseCount = houseCount;
this.monopolyDescription = monopolyDescription;
this.rent = rent;
}
boolean isMortgaged;
boolean isMonopoly;
char square;
int houseCount;
Monopoly monopolyDescription;
int[] rent = new int[6];
}
|