-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle added/deleted block body in composite statements
- Loading branch information
Showing
9 changed files
with
122 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/org/codetracker/change/block/BlockBodyAdded.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.codetracker.change.block; | ||
|
||
import org.codetracker.change.Change; | ||
|
||
public class BlockBodyAdded extends BlockChange { | ||
|
||
public BlockBodyAdded() { | ||
super(Change.Type.BLOCK_BODY_ADDED); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Block Body Added"; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/org/codetracker/change/block/BlockBodyRemoved.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.codetracker.change.block; | ||
|
||
import org.codetracker.change.Change; | ||
|
||
public class BlockBodyRemoved extends BlockChange { | ||
|
||
public BlockBodyRemoved() { | ||
super(Change.Type.BLOCK_BODY_REMOVED); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Block Body Removed"; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/org/codetracker/change/block/ElseBodyBlockAdded.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.codetracker.change.block; | ||
|
||
import org.codetracker.change.Change; | ||
|
||
public class ElseBodyBlockAdded extends BlockChange { | ||
public ElseBodyBlockAdded() { | ||
super(Change.Type.ELSE_BODY_BLOCK_ADDED); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Else Body Block Added"; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/org/codetracker/change/block/ElseBodyBlockRemoved.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.codetracker.change.block; | ||
|
||
import org.codetracker.change.Change; | ||
|
||
public class ElseBodyBlockRemoved extends BlockChange { | ||
public ElseBodyBlockRemoved() { | ||
super(Change.Type.ELSE_BODY_BLOCK_REMOVED); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Else Body Block Removed"; | ||
} | ||
} |
Oops, something went wrong.