Skip to content

Commit dbb6578

Browse files
java
1 parent e28cae0 commit dbb6578

19 files changed

+397
-97
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
class Foo { }
1+
public class Foo { }
22
---
33

44
[#1 Content] =
5-
[#1 Removal] = 0:11-0:12
6-
>-<
7-
0| class Foo { }
5+
[#1 Removal] = 0:18-0:19
6+
>-<
7+
0| public class Foo { }
88

9-
[#1 Domain] = 0:0-0:13
10-
>-------------<
11-
0| class Foo { }
9+
[#1 Domain] = 0:0-0:20
10+
>--------------------<
11+
0| public class Foo { }
1212

1313
[#1 Insertion delimiter] = " "
1414

1515

1616
[#2 Content] =
17-
[#2 Removal] = 0:11-0:12
18-
>-<
19-
0| class Foo { }
17+
[#2 Removal] = 0:18-0:19
18+
>-<
19+
0| public class Foo { }
2020

21-
[#2 Domain] = 0:10-0:13
22-
>---<
23-
0| class Foo { }
21+
[#2 Domain] = 0:17-0:20
22+
>---<
23+
0| public class Foo { }
2424

2525
[#2 Insertion delimiter] = " "

data/fixtures/scopes/java/interior.class2.scope

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
public interface Foo { }
2+
---
3+
4+
[#1 Content] =
5+
[#1 Removal] = 0:22-0:23
6+
>-<
7+
0| public interface Foo { }
8+
9+
[#1 Domain] = 0:0-0:24
10+
>------------------------<
11+
0| public interface Foo { }
12+
13+
[#1 Insertion delimiter] = " "
14+
15+
16+
[#2 Content] =
17+
[#2 Removal] = 0:22-0:23
18+
>-<
19+
0| public interface Foo { }
20+
21+
[#2 Domain] = 0:21-0:24
22+
>---<
23+
0| public interface Foo { }
24+
25+
[#2 Insertion delimiter] = " "
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
public class MyClass { }
1+
public class Foo {}
22
---
33

4-
[Content] = 0:13-0:20
5-
>-------<
6-
0| public class MyClass { }
4+
[Content] = 0:13-0:16
5+
>---<
6+
0| public class Foo {}
77

8-
[Removal] = 0:13-0:21
9-
>--------<
10-
0| public class MyClass { }
8+
[Removal] = 0:13-0:17
9+
>----<
10+
0| public class Foo {}
1111

1212
[Leading delimiter] = 0:12-0:13
1313
>-<
14-
0| public class MyClass { }
14+
0| public class Foo {}
1515

16-
[Trailing delimiter] = 0:20-0:21
17-
>-<
18-
0| public class MyClass { }
16+
[Trailing delimiter] = 0:16-0:17
17+
>-<
18+
0| public class Foo {}
1919

20-
[Domain] = 0:0-0:24
21-
>------------------------<
22-
0| public class MyClass { }
20+
[Domain] = 0:0-0:19
21+
>-------------------<
22+
0| public class Foo {}
2323

2424
[Insertion delimiter] = " "
Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,69 @@
1-
public class MyClass {
2-
private int value;
1+
public class Foo {
2+
private int bar;
3+
private int baz = 0;
34
}
45
---
56

6-
[#1 Content] = 0:13-0:20
7-
>-------<
8-
0| public class MyClass {
7+
[#1 Content] = 0:13-0:16
8+
>---<
9+
0| public class Foo {
910

10-
[#1 Removal] = 0:13-0:21
11-
>--------<
12-
0| public class MyClass {
11+
[#1 Removal] = 0:13-0:17
12+
>----<
13+
0| public class Foo {
1314

1415
[#1 Leading delimiter] = 0:12-0:13
1516
>-<
16-
0| public class MyClass {
17+
0| public class Foo {
1718

18-
[#1 Trailing delimiter] = 0:20-0:21
19-
>-<
20-
0| public class MyClass {
19+
[#1 Trailing delimiter] = 0:16-0:17
20+
>-<
21+
0| public class Foo {
2122

22-
[#1 Domain] = 0:0-2:1
23-
>----------------------
24-
0| public class MyClass {
25-
1| private int value;
26-
2| }
23+
[#1 Domain] = 0:0-3:1
24+
>------------------
25+
0| public class Foo {
26+
1| private int bar;
27+
2| private int baz = 0;
28+
3| }
2729
-<
2830

2931
[#1 Insertion delimiter] = " "
3032

3133

32-
[#2 Content] = 1:16-1:21
33-
>-----<
34-
1| private int value;
34+
[#2 Content] = 1:16-1:19
35+
>---<
36+
1| private int bar;
3537

36-
[#2 Removal] = 1:15-1:21
37-
>------<
38-
1| private int value;
38+
[#2 Removal] = 1:15-1:19
39+
>----<
40+
1| private int bar;
3941

4042
[#2 Leading delimiter] = 1:15-1:16
4143
>-<
42-
1| private int value;
44+
1| private int bar;
4345

44-
[#2 Domain] = 1:4-1:22
45-
>------------------<
46-
1| private int value;
46+
[#2 Domain] = 1:4-1:20
47+
>----------------<
48+
1| private int bar;
4749

4850
[#2 Insertion delimiter] = " "
51+
52+
53+
[#3 Content] = 2:16-2:19
54+
>---<
55+
2| private int baz = 0;
56+
57+
[#3 Removal] = 2:16-2:22
58+
>------<
59+
2| private int baz = 0;
60+
61+
[#3 Trailing delimiter] = 2:19-2:22
62+
>---<
63+
2| private int baz = 0;
64+
65+
[#3 Domain] = 2:4-2:24
66+
>--------------------<
67+
2| private int baz = 0;
68+
69+
[#3 Insertion delimiter] = " "
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
public interface Foo {
2+
private int bar;
3+
}
4+
---
5+
6+
[#1 Content] = 0:17-0:20
7+
>---<
8+
0| public interface Foo {
9+
10+
[#1 Removal] = 0:17-0:21
11+
>----<
12+
0| public interface Foo {
13+
14+
[#1 Leading delimiter] = 0:16-0:17
15+
>-<
16+
0| public interface Foo {
17+
18+
[#1 Trailing delimiter] = 0:20-0:21
19+
>-<
20+
0| public interface Foo {
21+
22+
[#1 Domain] = 0:0-2:1
23+
>----------------------
24+
0| public interface Foo {
25+
1| private int bar;
26+
2| }
27+
-<
28+
29+
[#1 Insertion delimiter] = " "
30+
31+
32+
[#2 Content] = 1:16-1:19
33+
>---<
34+
1| private int bar;
35+
36+
[#2 Removal] = 1:15-1:19
37+
>----<
38+
1| private int bar;
39+
40+
[#2 Leading delimiter] = 1:15-1:16
41+
>-<
42+
1| private int bar;
43+
44+
[#2 Domain] = 1:4-1:20
45+
>----------------<
46+
1| private int bar;
47+
48+
[#2 Insertion delimiter] = " "
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
public interface Foo {}
2+
---
3+
4+
[Content] = 0:17-0:20
5+
>---<
6+
0| public interface Foo {}
7+
8+
[Removal] = 0:17-0:21
9+
>----<
10+
0| public interface Foo {}
11+
12+
[Leading delimiter] = 0:16-0:17
13+
>-<
14+
0| public interface Foo {}
15+
16+
[Trailing delimiter] = 0:20-0:21
17+
>-<
18+
0| public interface Foo {}
19+
20+
[Domain] = 0:0-0:23
21+
>-----------------------<
22+
0| public interface Foo {}
23+
24+
[Insertion delimiter] = " "
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
public class MyClass { }
1+
public class Foo {}
22
---
33

44
[Content] =
55
[Removal] =
6-
[Domain] = 0:0-0:24
7-
>------------------------<
8-
0| public class MyClass { }
6+
[Domain] = 0:0-0:19
7+
>-------------------<
8+
0| public class Foo {}
99

1010
[Insertion delimiter] = "\n"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class Foo {}
2+
---
3+
4+
[Content] =
5+
[Removal] =
6+
[Domain] = 0:0-0:12
7+
>------------<
8+
0| class Foo {}
9+
10+
[Insertion delimiter] = "\n"

0 commit comments

Comments
 (0)