forked from spgroup/conflict-static-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spgroup#31): add support for marking in multiple classes
- Loading branch information
1 parent
49bc5fa
commit 229683f
Showing
2 changed files
with
79 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package br.unc.cic.analysis.test; | ||
|
||
public class Marking { | ||
String className; | ||
int sourceLines[]; | ||
int sinkLines[]; | ||
|
||
public Marking(String className, int[] sourceLines, int[] sinkLines) { | ||
this.className = className; | ||
this.sourceLines = sourceLines; | ||
this.sinkLines = sinkLines; | ||
} | ||
|
||
public String getClassName() { | ||
return className; | ||
} | ||
|
||
public void setClassName(String className) { | ||
this.className = className; | ||
} | ||
|
||
public int[] getSourceLines() { | ||
return sourceLines; | ||
} | ||
|
||
public void setSourceLines(int[] sourceLines) { | ||
this.sourceLines = sourceLines; | ||
} | ||
|
||
public int[] getSinkLines() { | ||
return sinkLines; | ||
} | ||
|
||
public void setSinkLines(int[] sinkLines) { | ||
this.sinkLines = sinkLines; | ||
} | ||
} |