File: MergerTarget.java

package info (click to toggle)
eclipse-emf 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 50,912 kB
  • ctags: 60,697
  • sloc: java: 407,889; xml: 7,165; sh: 200; makefile: 13
file content (106 lines) | stat: -rwxr-xr-x 1,702 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
public class Example
{
  int a1 = 1;
  
  /**
   * @remove
   */
  int a2 = 2;/**
   * @comment
   */
  int a3 = 3;/**
   * @rename
   */
  int a4 = 4;/**
   * @comment
   */ int a5;public void method1()
  {
    
  }

  /**
   * @remove
   */
  public void method2()
  {
    
  }/**
   * @comment
   */
  public void method3()
  {
    
  }/**
   * @rename
   */
  public void method4()
  {
    
  }
  
  public class Inner1
  {/** @comment
    */
    int a1; 

    /**
     * @remove
     */
    int a2; 

    /**
     * @comment
     */
    int a3;/**
     * @comment
     */
    int a4;  }

  protected enum Enum1
  {
    C1, /**
     * @remove
     */
    C2, /**
     * @comment
     */
    C3, /**
     * @rename
     */
    C4(","),/**
     * @comment
     */ C5(";", ",");}    
  
  /**
   * @commentAll
   */
  protected enum Enum2
  { C1, C2, C3, C4(","), C5(";", ",");}    
  
  /**
   * @commentAll
   */  
  protected enum Enum3
  {
    C1, // line comment after C1
    C2, // line comment after C2
    C3("") {
      // anonymous class declaration
    } /* block comment after C3 before comma */ , // line comment after C3
    C4, C5,
    C6 /* block comment after C6 before comma */,
    C7() // line coment after C7
    , // line comment after comma after C7
    C8, C9,
    C10 /* block comment after C10 before comma */, C11/* block comment after C11 */,
    C12 /* block comment after C12 before comma */,C13/* block comment after C13 */;
    private int a1 = 1; int a2; private void method1() {} // line comment after method 1
  }

  /**
   * @commentAll
   */  
  protected enum Enum4
  {;private int a1 = 1; int a2; private void method1() {} // line comment after method 1
  }  
}