-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from barbosamaatheus/feature/definition
feat(#31): add support for marking in multiple classes
- Loading branch information
Showing
2 changed files
with
71 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 MarkingClass { | ||
String className; | ||
int sourceLines[]; | ||
int sinkLines[]; | ||
|
||
public MarkingClass(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; | ||
} | ||
} |