Package: LineProcessorReturnWrapper
LineProcessorReturnWrapper
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LineProcessorReturnWrapper(RelatedLinesChange, Map.Entry) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| getEntry() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| getSynopsis() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| setEntry(Map.Entry) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| setSynopsis(RelatedLinesChange) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
Coverage
1: package migration.processor;
2: 
3: import java.util.Map.Entry;
4: 
5: import migration.difffile.DiffPartFileLine;
6: import migration.processeddifffile.RelatedLinesChange;
7: 
8: /**
9:  * 
10:  * @author alex
11:  *
12:  */
13: public class LineProcessorReturnWrapper {
14: 
15:         /**
16:          * 
17:          * @param synopsis
18:          *            is the returned synopsis for a changed variable assignment
19:          * @param entry
20:          *            is the second processed line that needs to be removed from the remaining lines to
21:          *            process
22:          */
23:         public LineProcessorReturnWrapper(final RelatedLinesChange synopsis,
24:                         final Entry<Integer, DiffPartFileLine> entry) {
25:                 this.entry = entry;
26:                 this.synopsis = synopsis;
27:         }
28: 
29:         /**
30:          * the returned synopsis.
31:          */
32:         private RelatedLinesChange synopsis;
33: 
34:         /**
35:          * the second processed line.
36:          */
37:         private Entry<Integer, DiffPartFileLine> entry;
38: 
39:         /**
40:          * 
41:          * @return this.synopsis
42:          */
43:         public RelatedLinesChange getSynopsis() {
44:                 return synopsis;
45:         }
46: 
47:         /**
48:          * 
49:          * @param synopsis
50:          *            sets this.synopsis
51:          */
52:         public void setSynopsis(final RelatedLinesChange synopsis) {
53:                 this.synopsis = synopsis;
54:         }
55: 
56:         /**
57:          * 
58:          * @return this.entry
59:          */
60:         public Entry<Integer, DiffPartFileLine> getEntry() {
61:                 return entry;
62:         }
63: 
64:         /**
65:          * 
66:          * @param entry
67:          *            sets this.entry
68:          */
69:         public void setEntry(final Entry<Integer, DiffPartFileLine> entry) {
70:                 this.entry = entry;
71:         }
72: }