rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
synchronized(cal) { cal.set(Calendar.ZONE_OFFSET, 0); cal.set(Calendar.DST_OFFSET, 0); int nanos = loadCalendar(cal, s, "timestamp");
|
if (cal == null) cal = defaultCal;
|
public static Timestamp toTimestamp(GregorianCalendar cal, String s) throws SQLException { if (s == null) return null; int slen = s.length(); // convert postgres's infinity values to internal infinity magic value if (slen == 8 && s.equals("infinity")) { return new Timestamp(PGStatement.DATE_POSITIVE_INFINITY); } if (slen == 9 && s.equals("-infinity")) { return new Timestamp(PGStatement.DATE_NEGATIVE_INFINITY); } synchronized(cal) { cal.set(Calendar.ZONE_OFFSET, 0); cal.set(Calendar.DST_OFFSET, 0); int nanos = loadCalendar(cal, s, "timestamp"); Timestamp result = new Timestamp(cal.getTime().getTime()); result.setNanos(nanos); return result; } }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/5f914eecf19be3010f83754829f88173846f521a/TimestampUtils.java/clean/org/postgresql/jdbc2/TimestampUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8159,
358,
4921,
12,
31560,
7335,
1443,
16,
514,
272,
13,
1216,
6483,
565,
288,
3639,
309,
261,
87,
422,
446,
13,
5411,
327,
446,
31,
3639,
509,
272,
1897,
273,
272,
18,
2469,
5621,
3639,
368,
1765,
1603,
14107,
1807,
27272,
924,
358,
2713,
27272,
8146,
460,
3639,
309,
261,
87,
1897,
422,
1725,
597,
272,
18,
14963,
2932,
267,
7850,
6,
3719,
288,
5411,
327,
394,
8159,
12,
18679,
3406,
18,
4594,
67,
7057,
16325,
67,
17716,
1769,
3639,
289,
3639,
309,
261,
87,
1897,
422,
2468,
597,
272,
18,
14963,
2932,
17,
267,
7850,
6,
3719,
288,
5411,
327,
394,
8159,
12,
18679,
3406,
18,
4594,
67,
5407,
22421,
67,
17716,
1769,
3639,
289,
3639,
3852,
12,
771,
13,
288,
5411,
1443,
18,
542,
12,
7335,
18,
20725,
67,
11271,
16,
374,
1769,
5411,
1443,
18,
542,
12,
7335,
18,
40,
882,
67,
11271,
16,
374,
1769,
5411,
509,
22865,
273,
1262,
7335,
12,
771,
16,
272,
16,
315,
5508,
8863,
5411,
8159,
563,
273,
394,
8159,
12,
771,
18,
588,
950,
7675,
588,
950,
10663,
5411,
563,
18,
542,
15739,
12,
13569,
538,
1769,
5411,
327,
563,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8159,
358,
4921,
12,
31560,
7335,
1443,
16,
514,
272,
13,
1216,
6483,
565,
288,
3639,
309,
261,
87,
422,
446,
13,
5411,
327,
446,
31,
3639,
509,
272,
1897,
273,
272,
18,
2469,
5621,
3639,
368,
1765,
1603,
14107,
1807,
27272,
924,
358,
2713,
27272,
8146,
460,
3639,
309,
261,
87,
1897,
422,
1725,
597,
272,
18,
14963,
2932,
267,
7850,
6,
3719,
288,
5411,
327,
394,
8159,
12,
18679,
3406,
18,
4594,
67,
7057,
16325,
67,
17716,
1769,
3639,
289,
3639,
309,
261,
87,
1897,
422,
2468,
597,
272,
18,
14963,
2932,
17,
267,
7850,
6,
3719,
288,
5411,
327,
394,
8159,
12,
18679,
3406,
18,
4594,
67,
5407,
22421,
67,
17716,
1769,
3639,
2
] |
public void initPath(int index, Channel channel) { channel.pushInt (index); }
|
public void init() { add(new FeedbackLoop() { public void init() { setDelay(2); setJoiner(WEIGHTED_ROUND_ROBIN(0, 1)); setBody(new Filter() { Channel input = new Channel(Integer.TYPE, 2); Channel output = new Channel(Integer.TYPE, 3); public void work() { int a = input.popInt(); int b = input.popInt(); int result = a + b; output.pushInt(result); output.pushInt(b); output.pushInt(result); } public void initIO() { this.streamInput = input; this.streamOutput = output; } }); setLoop(new Filter() { Channel input = new Channel(Integer.TYPE, 1); Channel output = new Channel(Integer.TYPE, 1); public void work() { output.pushInt(input.popInt()); } public void initIO() { this.streamInput = input; this.streamOutput = output; } }); setSplitter(WEIGHTED_ROUND_ROBIN(1, 2)); } public void initPath(int index, Channel channel) { channel.pushInt (index); } }); add (new Filter () { Channel input = new Channel (Integer.TYPE, 1); public void initIO () { this.streamInput = input; } public void work () { System.out.println (input.popInt ()); } }); }
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/a60195c780d0bd53391a659cb4aee01df283cc6a/Fib2.java/clean/streams/apps/examples/fib/Fib2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1435,
565,
288,
3639,
527,
12,
2704,
14013,
823,
6452,
1435,
5411,
288,
7734,
1071,
918,
1208,
1435,
7734,
288,
10792,
444,
6763,
12,
22,
1769,
10792,
444,
4572,
264,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
20,
16,
404,
10019,
10792,
16492,
12,
2704,
4008,
1435,
13491,
288,
18701,
5307,
810,
273,
394,
5307,
12,
4522,
18,
2399,
16,
576,
1769,
18701,
5307,
876,
273,
394,
5307,
12,
4522,
18,
2399,
16,
890,
1769,
18701,
1071,
918,
1440,
1435,
18701,
288,
27573,
509,
279,
273,
810,
18,
5120,
1702,
5621,
27573,
509,
324,
273,
810,
18,
5120,
1702,
5621,
27573,
509,
563,
273,
279,
397,
324,
31,
27573,
876,
18,
6206,
1702,
12,
2088,
1769,
27573,
876,
18,
6206,
1702,
12,
70,
1769,
27573,
876,
18,
6206,
1702,
12,
2088,
1769,
18701,
289,
18701,
1071,
918,
1208,
4294,
1435,
18701,
288,
27573,
333,
18,
3256,
1210,
273,
810,
31,
27573,
333,
18,
3256,
1447,
273,
876,
31,
18701,
289,
13491,
15549,
10792,
444,
6452,
12,
2704,
4008,
1435,
13491,
288,
18701,
5307,
810,
273,
394,
5307,
12,
4522,
18,
2399,
16,
404,
1769,
18701,
5307,
876,
273,
394,
5307,
12,
4522,
18,
2399,
16,
404,
1769,
18701,
1071,
918,
1440,
1435,
18701,
288,
27573,
876,
18,
6206,
1702,
12,
2630,
18,
5120,
1702,
10663,
18701,
289,
18701,
1071,
918,
1208,
4294,
1435,
18701,
288,
27573,
333,
18,
3256,
1210,
273,
810,
31,
27573,
333,
18,
3256,
1447,
273,
876,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1435,
565,
288,
3639,
527,
12,
2704,
14013,
823,
6452,
1435,
5411,
288,
7734,
1071,
918,
1208,
1435,
7734,
288,
10792,
444,
6763,
12,
22,
1769,
10792,
444,
4572,
264,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
20,
16,
404,
10019,
10792,
16492,
12,
2704,
4008,
1435,
13491,
288,
18701,
5307,
810,
273,
394,
5307,
12,
4522,
18,
2399,
16,
576,
1769,
18701,
5307,
876,
273,
394,
5307,
12,
4522,
18,
2399,
16,
890,
1769,
18701,
1071,
918,
1440,
1435,
18701,
288,
27573,
509,
279,
273,
810,
18,
5120,
1702,
5621,
27573,
509,
324,
273,
810,
18,
5120,
1702,
5621,
27573,
509,
563,
273,
279,
397,
324,
31,
27573,
876,
18,
6206,
2
] |
|
public void go() {
|
public void go() {
|
public void go() { dim.go(); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/e4c74a91b5c4165a9c90cde4d7b2ddd72e81af8d/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1960,
1435,
565,
288,
3639,
2464,
18,
3240,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1960,
1435,
565,
288,
3639,
2464,
18,
3240,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Object value = null;
|
String value = null;
|
protected void addReportColorStyleProperty( StyleHandle handle, String name ) { Object value = null; if( StyleDesign.canInherit( name ) ) { if( handle != null ) { value = handle.getProperty( name ); } if( getColorValue( value ) == -1 ) { value = StyleDesign.getDefaultValue( name ); } setStyleProperty( inheritableReportStyle, name, getStrColorValue( value ) ); } else { value = StyleDesign.getDefaultValue( name ); setStyleProperty( nonInheritableReportStyle, name, getStrColorValue( value ) ); } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/72ef136b489c89c0ad7e3c18e455bac267b6d962/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
4820,
2957,
2885,
1396,
12,
9767,
3259,
1640,
16,
514,
508,
262,
202,
95,
202,
202,
921,
460,
273,
446,
31,
202,
202,
430,
12,
9767,
15478,
18,
4169,
14216,
12,
508,
262,
262,
202,
202,
95,
1082,
202,
430,
12,
1640,
480,
446,
262,
1082,
202,
95,
9506,
202,
1132,
273,
1640,
18,
588,
1396,
12,
508,
11272,
1082,
202,
97,
1082,
202,
430,
12,
15672,
620,
12,
460,
262,
422,
300,
21,
262,
1082,
202,
95,
9506,
202,
1132,
273,
9767,
15478,
18,
588,
15646,
12,
508,
11272,
1082,
202,
97,
1082,
202,
542,
2885,
1396,
12,
6811,
429,
4820,
2885,
16,
508,
16,
24017,
2957,
620,
12,
460,
262,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
1132,
273,
9767,
15478,
18,
588,
15646,
12,
508,
11272,
1082,
202,
542,
2885,
1396,
12,
1661,
14216,
429,
4820,
2885,
16,
508,
16,
24017,
2957,
620,
12,
460,
262,
11272,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
4820,
2957,
2885,
1396,
12,
9767,
3259,
1640,
16,
514,
508,
262,
202,
95,
202,
202,
921,
460,
273,
446,
31,
202,
202,
430,
12,
9767,
15478,
18,
4169,
14216,
12,
508,
262,
262,
202,
202,
95,
1082,
202,
430,
12,
1640,
480,
446,
262,
1082,
202,
95,
9506,
202,
1132,
273,
1640,
18,
588,
1396,
12,
508,
11272,
1082,
202,
97,
1082,
202,
430,
12,
15672,
620,
12,
460,
262,
422,
300,
21,
262,
1082,
202,
95,
9506,
202,
1132,
273,
9767,
15478,
18,
588,
15646,
12,
508,
11272,
1082,
202,
97,
1082,
202,
542,
2885,
1396,
12,
6811,
429,
4820,
2885,
16,
508,
16,
24017,
2957,
620,
12,
460,
262,
11272,
202,
2
] |
jjCheckNAdd(22); break; case 23: if (jjCanMove_2(hiByte, i1, i2, l1, l2))
|
jjCheckNAdd(30); break; case 31: if (jjCanMove_4(hiByte, i1, i2, l1, l2))
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 73; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 1: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 2: case 39: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(2, 3); break; case 3: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(7); break; case 7: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: case 61: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(14); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 17: case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(20); break; case 20: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if ((0x600000000000L & l) != 0L) jjCheckNAdd(25); break; case 25: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(27, 29); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 28: if ((0x600000000000L & l) != 0L) jjCheckNAdd(29); break; case 29: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 46) jjCheckNAdd(32); break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 36: case 37: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: case 44: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 45: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(46); break; case 46: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 52: case 53: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if ((0xf00000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if ((0xf00000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 64: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 65; break; case 67: if (curChar == 46) jjCheckNAdd(68); break; case 69: if (curChar != 46) break; if (kind > 3) kind = 3; jjCheckNAdd(68); break; case 71: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } break; case 2: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(36, 37); break; case 3: if (curChar == 95) jjCheckNAdd(4); break; case 4: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if (curChar == 95) jjCheckNAdd(7); break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if (curChar == 95) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(38, 39); break; case 13: if (curChar == 95) jjCheckNAdd(14); break; case 14: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 95) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(40, 41); break; case 19: if (curChar == 95) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if (curChar == 95) jjCheckNAdd(25); break; case 25: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(27, 29); break; case 26: if (curChar == 64) jjCheckNAdd(27); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 29: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 95) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 37: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 37; break; case 38: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 95) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 44: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(42, 43); break; case 45: if (curChar == 95) jjCheckNAdd(46); break; case 46: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if (curChar == 95) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 53: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if (curChar == 95) jjCheckNAdd(55); break; case 55: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if (curChar == 95) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 59: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 62: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); break; case 63: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(44, 45); break; case 70: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(70, 71); break; case 71: if (curChar == 64) jjCheckNAdd(72); break; case 72: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(72); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { if (kind > 12) kind = 12; } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); if (jjCanMove_2(hiByte, i1, i2, l1, l2)) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 1: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); break; case 2: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 4: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 4; break; case 5: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 7: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(46, 47); break; case 9: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(48, 49); break; case 10: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 11: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 14: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(14, 15); break; case 16: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(50, 51); break; case 17: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 18: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 20: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(24, 26); break; case 25: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(27, 29); break; case 27: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(27, 28); break; case 29: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(30, 31); break; case 32: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(33, 34); break; case 35: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(52, 53); break; case 36: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 37: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(38, 39); break; case 39: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 40: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(40, 41); break; case 42: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(54, 55); break; case 43: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 44: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 46: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(47, 48); break; case 48: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 49: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(49, 50); break; case 51: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(56, 57); break; case 52: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 53: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 55: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(58, 59); break; case 57: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(60, 61); break; case 58: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 59: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(60, 61); break; case 61: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 62: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 63: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(63, 64); break; case 65: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(66, 67); break; case 68: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; case 70: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(70, 71); break; case 72: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 4) kind = 4; jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 73 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/f00afeee7aba8e1024c6f792c6bb469b7a16def9/StandardTokenizerTokenManager.java/buggy/src/java/org/apache/lucene/analysis/standard/StandardTokenizerTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
26103,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
741,
540,
288,
5411,
1620,
12,
78,
78,
2019,
694,
63,
413,
77,
5717,
5411,
288,
9079,
648,
374,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
404,
13,
13491,
3846,
273,
404,
31,
5397,
10684,
1564,
50,
986,
7629,
12,
20,
16,
8043,
1769,
5375,
289,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
2643,
16,
10213,
1769,
5375,
898,
31,
9079,
648,
404,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
2643,
16,
10213,
1769,
5375,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
26103,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
2
] |
if (posterTime <= 0) { movie.goToBeginning(); controller.movieChanged(); } else { TimeRecord tr = new TimeRecord(posterTime, movie.getTimeScale()); movie.setTime(tr); controller.movieChanged(); }
|
TimeRecord tr = new TimeRecord(movie.getTimeScale(), posterTime); movie.setTime(tr); controller.movieChanged();
|
public void actionPerformed(ActionEvent event) { try { Movie movie = controller.getMovie(); int posterTime = movie.getPosterTime(); if (posterTime <= 0) { movie.goToBeginning(); controller.movieChanged(); } else { TimeRecord tr = new TimeRecord(posterTime, movie.getTimeScale()); movie.setTime(tr); controller.movieChanged(); } } catch (QTException e) { // ???? Auto-generated catch block e.printStackTrace(); } }
|
10703 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10703/77e641e88c231ef90a55cc5244be1fbff2d8b131/GoToPosterFrameAction.java/clean/src/com/elharo/quicktime/GoToPosterFrameAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
288,
7734,
775,
288,
5411,
26963,
21360,
273,
2596,
18,
588,
16727,
13120,
5621,
5411,
509,
1603,
264,
950,
273,
21360,
18,
588,
3349,
264,
950,
5621,
2398,
309,
261,
2767,
264,
950,
1648,
374,
13,
288,
7734,
21360,
18,
3240,
774,
8149,
2093,
5621,
7734,
2596,
18,
8683,
13120,
5033,
5621,
5411,
289,
5411,
469,
288,
7734,
2647,
2115,
433,
273,
394,
2647,
2115,
12,
2767,
264,
950,
16,
21360,
18,
588,
950,
5587,
10663,
7734,
21360,
18,
542,
950,
12,
313,
1769,
7734,
2596,
18,
8683,
13120,
5033,
5621,
5411,
289,
3639,
289,
3639,
1044,
261,
53,
56,
503,
425,
13,
288,
5411,
368,
5317,
14646,
8064,
17,
11168,
1044,
1203,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
288,
7734,
775,
288,
5411,
26963,
21360,
273,
2596,
18,
588,
16727,
13120,
5621,
5411,
509,
1603,
264,
950,
273,
21360,
18,
588,
3349,
264,
950,
5621,
2398,
309,
261,
2767,
264,
950,
1648,
374,
13,
288,
7734,
21360,
18,
3240,
774,
8149,
2093,
5621,
7734,
2596,
18,
8683,
13120,
5033,
5621,
5411,
289,
5411,
469,
288,
7734,
2647,
2115,
433,
273,
394,
2647,
2115,
12,
2767,
264,
950,
16,
21360,
18,
588,
950,
5587,
10663,
7734,
21360,
18,
542,
950,
12,
313,
1769,
7734,
2596,
18,
8683,
13120,
5033,
5621,
5411,
289,
3639,
289,
3639,
1044,
261,
53,
56,
503,
425,
13,
288,
5411,
368,
5317,
14646,
8064,
17,
2
] |
+ " END AS TYPE, " + " a.attnum AS ORDINAL_POSITION, "
|
+ " END::int2 AS TYPE, " + " a.attnum::int2 AS ORDINAL_POSITION, "
|
public java.sql.ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException { String select = "SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, "; String from = " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class ct, pg_catalog.pg_class ci, pg_catalog.pg_index i, pg_catalog.pg_attribute a, pg_catalog.pg_am am "; String where = " AND n.oid = ct.relnamespace "; if(schema != null && !"".equals(schema)) { where += " AND n.nspname = '" + escapeQuotes(schema) + "' "; } String sql = select + " ct.relname AS TABLE_NAME, NOT i.indisunique AS NON_UNIQUE, NULL AS INDEX_QUALIFIER, ci.relname AS INDEX_NAME, " + " CASE i.indisclustered " + " WHEN true THEN " + java.sql.DatabaseMetaData.tableIndexClustered + " ELSE CASE am.amname " + " WHEN 'hash' THEN " + java.sql.DatabaseMetaData.tableIndexHashed + " ELSE " + java.sql.DatabaseMetaData.tableIndexOther + " END " + " END AS TYPE, " + " a.attnum AS ORDINAL_POSITION, " + " a.attname AS COLUMN_NAME, " + " NULL AS ASC_OR_DESC, " + " ci.reltuples AS CARDINALITY, " + " ci.relpages AS PAGES, " + " NULL AS FILTER_CONDITION " + from + " WHERE ct.oid=i.indrelid AND ci.oid=i.indexrelid AND a.attrelid=ci.oid AND ci.relam=am.oid " + where + " AND ct.relname = '" + escapeQuotes(tableName) + "' "; if(unique) { sql += " AND i.indisunique "; } sql += " ORDER BY NON_UNIQUE, TYPE, INDEX_NAME, ORDINAL_POSITION "; return createMetaDataStatement().executeQuery(sql); }
|
7270 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7270/aa939a6e31cad3df08689fac7e75d1967b6a25f8/SPIDatabaseMetaData.java/clean/src/java/pljava/org/postgresql/pljava/jdbc/SPIDatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
202,
202,
780,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
202,
15069,
6483,
202,
95,
202,
202,
780,
2027,
273,
315,
4803,
3206,
5355,
7567,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
7567,
67,
55,
10390,
16,
13636,
202,
202,
780,
628,
273,
315,
4571,
7184,
67,
7199,
18,
8365,
67,
4937,
290,
16,
7184,
67,
7199,
18,
8365,
67,
1106,
5691,
16,
7184,
67,
7199,
18,
8365,
67,
1106,
9039,
16,
7184,
67,
7199,
18,
8365,
67,
1615,
277,
16,
7184,
67,
7199,
18,
8365,
67,
4589,
279,
16,
7184,
67,
7199,
18,
8365,
67,
301,
2125,
13636,
202,
202,
780,
1625,
273,
315,
4116,
290,
18,
839,
273,
5691,
18,
2878,
4937,
13636,
202,
202,
430,
12,
4821,
480,
446,
597,
401,
3660,
18,
14963,
12,
4821,
3719,
202,
202,
95,
1082,
202,
6051,
1011,
315,
4116,
290,
18,
82,
1752,
529,
273,
2119,
397,
4114,
14292,
12,
4821,
13,
397,
2491,
13636,
202,
202,
97,
202,
202,
780,
1847,
273,
2027,
1082,
202,
15,
315,
5691,
18,
2878,
529,
5355,
7567,
67,
1985,
16,
4269,
277,
18,
728,
291,
6270,
5355,
18708,
67,
16879,
16,
3206,
5355,
12425,
67,
8729,
10591,
16,
9039,
18,
2878,
529,
5355,
12425,
67,
1985,
16,
315,
1082,
202,
15,
315,
18403,
277,
18,
728,
291,
7967,
329,
315,
1082,
202,
15,
315,
29707,
638,
27124,
315,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
202,
202,
780,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
202,
15069,
6483,
202,
95,
202,
202,
780,
2027,
273,
315,
4803,
3206,
5355,
7567,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
7567,
67,
55,
10390,
16,
13636,
202,
202,
780,
628,
273,
315,
4571,
7184,
67,
7199,
18,
8365,
67,
4937,
290,
16,
7184,
67,
7199,
18,
8365,
67,
1106,
5691,
16,
7184,
67,
7199,
18,
8365,
67,
1106,
9039,
16,
7184,
67,
7199,
18,
8365,
67,
1615,
277,
16,
7184,
67,
7199,
18,
8365,
67,
4589,
279,
16,
7184,
67,
7199,
18,
8365,
67,
301,
2125,
13636,
2
] |
}
|
if( Debug.isDebugEnabled() ) { Debug.output ( "Created socket listener on " + serverSocket.getInetAddress() ); } }
|
public void init() { serverSocket = createServerSocket(); }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/302977899a140de2b3ec21c7671a4c04a1e11d17/IIOPListener.java/buggy/src/org/jacorb/orb/iiop/IIOPListener.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1208,
1435,
3639,
288,
5411,
1438,
4534,
273,
30920,
4534,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1208,
1435,
3639,
288,
5411,
1438,
4534,
273,
30920,
4534,
5621,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
boolean required = ((Boolean) (XPathUtils.evaluateSingle (xpathEvaluator, "boolean(" + modelBind.getRequired() + ")", modelBind.getLocationData()))).booleanValue(); InstanceData instanceData = XFormsUtils.getInstanceData((Node) node); instanceData.getRequired().set(required); markValidity(!required || node.getStringValue().length() > 0, node, modelBind.getId());
|
String xpath = "boolean(" + modelBind.getRequired() + ")"; PooledXPathExpression expr = XPathCache.getXPathExpression(pipelineContext, documentWrapper.wrap(node), xpath, modelBind.getNamespaceMap()); try { boolean required = ((Boolean)expr.evaluateSingle()).booleanValue(); InstanceData instanceData = XFormsUtils.getInstanceData((Node) node); instanceData.getRequired().set(required); markValidity(!required || node.getStringValue().length() > 0, node, modelBind.getId()); } catch (XPathException e) { throw new ValidationException(e.getMessage() + " when evaluating '" + xpath + "'", modelBind.getLocationData()); } finally { if(expr != null) expr.returnToPool();; }
|
public void applyInputOutputBinds(Document instance) { for (Iterator i = binds.iterator(); i.hasNext();) { final ModelBind modelBind = (ModelBind) i.next(); try { // Create XPath evaluator for this bind DocumentWrapper documentWrapper = new DocumentWrapper(instance, null); final XPathEvaluator xpathEvaluator = new XPathEvaluator(documentWrapper); StandaloneContext context = (StandaloneContext) xpathEvaluator.getStaticContext(); for (Iterator j = modelBind.getNamespaceMap().keySet().iterator(); j.hasNext();) { String prefix = (String) j.next(); context.declareNamespace(prefix, (String) modelBind.getNamespaceMap().get(prefix)); } // Handle relevant if (modelBind.getRelevant() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { // Evaluate "relevant" XPath expression on this node boolean relevant = ((Boolean) XPathUtils.evaluateSingle (xpathEvaluator, "boolean(" + modelBind.getRelevant() + ")", modelBind.getLocationData())).booleanValue(); // Mark node InstanceData instanceData = XFormsUtils.getInstanceData((Node) node); instanceData.getRelevant().set(relevant); } }); } // Handle calculate if (modelBind.getCalculate() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { if (node instanceof Element) { // Compute calculated value List result = XPathUtils.evaluate(xpathEvaluator, modelBind.getCalculate(), modelBind.getLocationData()); // Place in element Element elementNode = (Element) node; elementNode.clearContent(); for (Iterator k = result.iterator(); k.hasNext();) { Object resultItem = k.next(); if (resultItem instanceof Node) { elementNode.add(((Node) elementNode.clone())); } else { elementNode.add(DocumentFactory.getInstance().createText(resultItem.toString())); } } } else { // Compute calculated value and place in attribute XFormsUtils.fillNode(node, (String) XPathUtils.evaluateSingle(xpathEvaluator, "string(" + modelBind.getCalculate() + ")", modelBind.getLocationData())); } } }); } // Handle type constraint if (modelBind.getType() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { if (XFormsUtils.getInstanceData(node).getValid().get()) { // Get type information int requiredType = -1; boolean foundType = false; { String type = modelBind.getType(); int prefixPosition = type.indexOf(':'); if (prefixPosition > 0) { String prefix = type.substring(0, prefixPosition); String namespace = (String) modelBind.getNamespaceMap().get(prefix); if (namespace == null) throw new ValidationException("Namespace not declared for prefix '" + prefix + "'", modelBind.getLocationData()); ItemType itemType = Type.getBuiltInItemType((String) modelBind.getNamespaceMap().get(prefix), type.substring(prefixPosition + 1)); if (itemType != null) { requiredType = itemType.getPrimitiveType(); foundType = true; } } } if (!foundType) throw new ValidationException("Invalid type '" + modelBind.getType() + "'", modelBind.getLocationData()); // Try to perform casting String nodeStringValue = node.getStringValue(); if (XFormsUtils.getInstanceData(node).getRequired().get() || nodeStringValue.length() != 0) { try { StringValue stringValue = new StringValue(nodeStringValue); XPathContext xpContext = new XPathContextMajor(stringValue, xpathEvaluator.getStaticContext().getConfiguration()); stringValue.convert(requiredType, xpContext); markValidity(true, node, modelBind.getId()); } catch (XPathException e) { markValidity(false, node, modelBind.getId()); } } } } }); } // Handle XPath constraint if (modelBind.getConstraint() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { if (XFormsUtils.getInstanceData(node).getValid().get()) { // Evaluate constraint Boolean valid = (Boolean) XPathUtils.evaluateSingle(xpathEvaluator, "boolean(" + modelBind.getConstraint() + ")", modelBind.getLocationData()); markValidity(valid.booleanValue(), node, modelBind.getId()); } } }); } // Handle required if (modelBind.getRequired() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { // Evaluate "required" XPath expression on this node boolean required = ((Boolean) (XPathUtils.evaluateSingle (xpathEvaluator, "boolean(" + modelBind.getRequired() + ")", modelBind.getLocationData()))).booleanValue(); // Mark node InstanceData instanceData = XFormsUtils.getInstanceData((Node) node); instanceData.getRequired().set(required); // If required, check the string value is not empty markValidity(!required || node.getStringValue().length() > 0, node, modelBind.getId()); } }); } // Handle read only if (modelBind.getReadonly() != null) { iterateNodeSet(documentWrapper, xpathEvaluator, modelBind, new NodeHandler() { public void handleNode(Node node) { // Evaluate "readonly" XPath expression on this node boolean readonly = ((Boolean) (XPathUtils.evaluateSingle (xpathEvaluator, "boolean(" + modelBind.getReadonly() + ")", modelBind.getLocationData()))).booleanValue(); // Mark node InstanceData instanceData = XFormsUtils.getInstanceData((Node) node); instanceData.getReadonly().set(readonly); } }); } } catch (Exception e) { throw new ValidationException(e, modelBind.getLocationData()); } } reconciliate(instance.getRootElement()); }
|
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/5996bad8ae7a5e6bde143d457470ccb6e7d8a675/Model.java/buggy/src/java/org/orbeon/oxf/processor/xforms/Model.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
1210,
1447,
17856,
12,
2519,
791,
13,
288,
3639,
364,
261,
3198,
277,
273,
16129,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
727,
3164,
3357,
938,
3357,
273,
261,
1488,
3357,
13,
277,
18,
4285,
5621,
5411,
775,
288,
7734,
368,
1788,
10172,
18256,
364,
333,
1993,
7734,
4319,
3611,
1668,
3611,
273,
394,
4319,
3611,
12,
1336,
16,
446,
1769,
7734,
727,
10172,
15876,
6748,
15876,
273,
394,
10172,
15876,
12,
5457,
3611,
1769,
7734,
934,
464,
12451,
1042,
819,
273,
261,
20612,
12451,
1042,
13,
6748,
15876,
18,
588,
5788,
1042,
5621,
7734,
364,
261,
3198,
525,
273,
938,
3357,
18,
588,
3402,
863,
7675,
856,
694,
7675,
9838,
5621,
525,
18,
5332,
2134,
5621,
13,
288,
10792,
514,
1633,
273,
261,
780,
13,
525,
18,
4285,
5621,
10792,
819,
18,
29554,
3402,
12,
3239,
16,
261,
780,
13,
938,
3357,
18,
588,
3402,
863,
7675,
588,
12,
3239,
10019,
7734,
289,
7734,
368,
5004,
9368,
7734,
309,
261,
2284,
3357,
18,
588,
17018,
7445,
1435,
480,
225,
446,
13,
288,
10792,
7401,
907,
694,
12,
5457,
3611,
16,
6748,
15876,
16,
938,
3357,
16,
394,
2029,
1503,
1435,
288,
13491,
1071,
918,
1640,
907,
12,
907,
756,
13,
288,
18701,
368,
18176,
315,
27719,
6,
10172,
2652,
603,
333,
756,
18701,
1250,
9368,
273,
14015,
5507,
13,
10172,
1989,
18,
21024,
5281,
4766,
565,
261,
18644,
15876,
16,
315,
6494,
2932,
397,
938,
3357,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
1210,
1447,
17856,
12,
2519,
791,
13,
288,
3639,
364,
261,
3198,
277,
273,
16129,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
727,
3164,
3357,
938,
3357,
273,
261,
1488,
3357,
13,
277,
18,
4285,
5621,
5411,
775,
288,
7734,
368,
1788,
10172,
18256,
364,
333,
1993,
7734,
4319,
3611,
1668,
3611,
273,
394,
4319,
3611,
12,
1336,
16,
446,
1769,
7734,
727,
10172,
15876,
6748,
15876,
273,
394,
10172,
15876,
12,
5457,
3611,
1769,
7734,
934,
464,
12451,
1042,
819,
273,
261,
20612,
12451,
1042,
13,
6748,
15876,
18,
588,
5788,
1042,
5621,
7734,
364,
261,
3198,
525,
273,
938,
3357,
18,
588,
3402,
863,
7675,
856,
694,
7675,
9838,
2
] |
updating = true;
|
public void setElement(int index, Object value) { updating = true; try { Object oldValue = elements.set(index, value); fireChangeEvent(ChangeEvent.CHANGE, oldValue, value, index); } finally { updating = false; } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d804a21873abe29f796d07f8e0997a19f438e904/ListUpdatableCollection.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/ListUpdatableCollection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26692,
12,
474,
770,
16,
1033,
460,
13,
288,
202,
202,
5533,
1776,
273,
638,
31,
202,
202,
698,
288,
1082,
202,
921,
11144,
273,
2186,
18,
542,
12,
1615,
16,
460,
1769,
1082,
202,
12179,
20930,
12,
20930,
18,
14473,
16,
11144,
16,
460,
16,
770,
1769,
202,
202,
97,
3095,
288,
1082,
202,
5533,
1776,
273,
629,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26692,
12,
474,
770,
16,
1033,
460,
13,
288,
202,
202,
5533,
1776,
273,
638,
31,
202,
202,
698,
288,
1082,
202,
921,
11144,
273,
2186,
18,
542,
12,
1615,
16,
460,
1769,
1082,
202,
12179,
20930,
12,
20930,
18,
14473,
16,
11144,
16,
460,
16,
770,
1769,
202,
202,
97,
3095,
288,
1082,
202,
5533,
1776,
273,
629,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
"-d", device.getClassesDir(),
|
"-d", destinationDir,
|
private void preverify( Device device, Locale locale ) { System.out.println("preverifying for device [" + device.getIdentifier() + "]."); File preverify = this.buildSetting.getPreverify(); String classPath; if (device.isMidp1()) { classPath = this.midp1BootClassPath.toString(); } else { if (device.isCldc10()) { classPath = this.midp2BootClassPath.toString(); } else { classPath = this.midp2Cldc11BootClassPath.toString(); } } classPath += File.pathSeparatorChar + device.getClassPath(); /* File preverfyDir = new File( this.buildSetting.getWorkDir().getAbsolutePath() + File.separatorChar + "preverfied" ); device.setPreverifyDir( preverifyDir ); */ String cldc = null; if (device.isCldc10()) { cldc = "-cldc"; } else { cldc = "-nonative"; } String[] commands = new String[] { preverify.getAbsolutePath(), "-classpath", classPath, "-d", device.getClassesDir(), // destination-dir - default is ./output cldc, device.getClassesDir() }; StringBuffer commandBuffer = new StringBuffer(); for (int i = 0; i < commands.length; i++) { commandBuffer.append( commands[i] ).append(' '); } try { Process preverifyProc = Runtime.getRuntime().exec( commands, null ); InputStream in = preverifyProc.getErrorStream(); int ch; StringBuffer message = new StringBuffer(); while ( (ch = in.read()) != -1) { message.append((char) ch ); } int exitValue = preverifyProc.waitFor(); if (exitValue != 0) { throw new BuildException("Unable to preverify: " + message.toString() + " - The exit-status is [" + exitValue + "]\n" + " The call was: [" + commandBuffer.toString() + "]." ); } } catch (IOException e ) { throw new BuildException("Unable to preverify: " + e.getMessage() + "\n The call was: [" + commandBuffer.toString() + "].", e); } catch (InterruptedException e) { throw new BuildException("Unable to preverify: " + e.getMessage() + "\n The call was: [" + commandBuffer.toString() + "].", e); } }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/0549c4be9b08ec356585ede648cfb319acde8867/PolishTask.java/clean/build/source/src/de/enough/polish/ant/PolishTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
675,
8705,
12,
6077,
2346,
16,
6458,
2573,
262,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1484,
8705,
310,
364,
2346,
8247,
397,
2346,
18,
588,
3004,
1435,
397,
9850,
1199,
1769,
202,
202,
812,
675,
8705,
273,
333,
18,
3510,
5568,
18,
588,
1386,
8705,
5621,
202,
202,
780,
22503,
31,
202,
202,
430,
261,
5964,
18,
291,
20711,
84,
21,
10756,
288,
1082,
202,
1106,
743,
273,
333,
18,
13138,
84,
21,
15817,
22158,
18,
10492,
5621,
202,
202,
97,
469,
288,
1082,
202,
430,
261,
5964,
18,
291,
39,
1236,
71,
2163,
10756,
288,
9506,
202,
1106,
743,
273,
333,
18,
13138,
84,
22,
15817,
22158,
18,
10492,
5621,
1082,
202,
97,
469,
288,
9506,
202,
1106,
743,
273,
333,
18,
13138,
84,
22,
39,
1236,
71,
2499,
15817,
22158,
18,
10492,
5621,
1082,
202,
97,
6862,
202,
97,
202,
202,
1106,
743,
1011,
1387,
18,
803,
6581,
2156,
397,
2346,
18,
588,
22158,
5621,
202,
202,
20308,
1387,
675,
502,
74,
93,
1621,
273,
394,
1387,
12,
333,
18,
3510,
5568,
18,
588,
2421,
1621,
7675,
588,
10368,
743,
1435,
9506,
202,
15,
1387,
18,
11287,
2156,
397,
315,
1484,
502,
74,
2092,
6,
11272,
202,
202,
5964,
18,
542,
1386,
8705,
1621,
12,
675,
8705,
1621,
11272,
3196,
202,
5549,
202,
202,
780,
927,
7201,
273,
446,
31,
202,
202,
430,
261,
5964,
18,
291,
39,
1236,
71,
2163,
10756,
288,
1082,
202,
830,
7201,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
675,
8705,
12,
6077,
2346,
16,
6458,
2573,
262,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1484,
8705,
310,
364,
2346,
8247,
397,
2346,
18,
588,
3004,
1435,
397,
9850,
1199,
1769,
202,
202,
812,
675,
8705,
273,
333,
18,
3510,
5568,
18,
588,
1386,
8705,
5621,
202,
202,
780,
22503,
31,
202,
202,
430,
261,
5964,
18,
291,
20711,
84,
21,
10756,
288,
1082,
202,
1106,
743,
273,
333,
18,
13138,
84,
21,
15817,
22158,
18,
10492,
5621,
202,
202,
97,
469,
288,
1082,
202,
430,
261,
5964,
18,
291,
39,
1236,
71,
2163,
10756,
288,
9506,
202,
1106,
743,
273,
333,
18,
13138,
84,
22,
15817,
22158,
18,
10492,
5621,
1082,
2
] |
public void setTrigger(Trigger trigger) { updateUI(trigger); }
|
public void setTrigger( Trigger trigger ) { updateUI( trigger ); }
|
public void setTrigger(Trigger trigger) { updateUI(trigger); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/35e5ac52b1d08645abccb0fa32df6279923b4897/TriggerDataComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TriggerDataComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6518,
12,
6518,
3080,
13,
565,
288,
3639,
1089,
5370,
12,
10668,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6518,
12,
6518,
3080,
13,
565,
288,
3639,
1089,
5370,
12,
10668,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return result; }
|
return result; }
|
private String buildFieldMatchResultRetriever(int argnr, Field field) { String fieldType = field.getType(); String fieldClass = TypeGenerator.className(fieldType); String result = ""; if (fieldType.equals("str")) { result = "(String) children.get(" + argnr + ")"; } else if (fieldType.equals("int")) { result = "((Integer) children.get(" + argnr + ")).intValue()"; } else if (fieldType.equals("real")) { result = "((Double) children.get(" + argnr + ")).doubleValue()"; } else if (fieldType.equals("term")) { result = "(aterm.ATerm) children.get(" + argnr + ")"; } else if (fieldType.equals("list")) { result = "(aterm.ATermList) children.get(" + argnr + ")"; } else { result = fieldClass + "FromTerm((aterm.ATerm) children.get(" + argnr + "))"; } return result; }
|
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/8a7f5eefd6d08ce575d82dee6d963fc83f20a5c0/FactoryGenerator.java/clean/apigen/src/apigen/gen/java/FactoryGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1361,
974,
2060,
1253,
30801,
12,
474,
1501,
11611,
16,
2286,
652,
13,
288,
202,
202,
780,
9596,
273,
652,
18,
588,
559,
5621,
202,
202,
780,
652,
797,
273,
1412,
3908,
18,
12434,
12,
1518,
559,
1769,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
430,
261,
1518,
559,
18,
14963,
2932,
701,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
780,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
7310,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1518,
559,
18,
14963,
2932,
474,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
12,
4522,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
9369,
2934,
474,
620,
10031,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1518,
559,
18,
14963,
2932,
7688,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
12,
5265,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
9369,
2934,
9056,
620,
10031,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1518,
559,
18,
14963,
2932,
6408,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
270,
1035,
18,
789,
1035,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
7310,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1518,
559,
18,
14963,
2932,
1098,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
270,
1035,
18,
789,
1035,
682,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
7310,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
2088,
273,
652,
797,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1361,
974,
2060,
1253,
30801,
12,
474,
1501,
11611,
16,
2286,
652,
13,
288,
202,
202,
780,
9596,
273,
652,
18,
588,
559,
5621,
202,
202,
780,
652,
797,
273,
1412,
3908,
18,
12434,
12,
1518,
559,
1769,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
430,
261,
1518,
559,
18,
14963,
2932,
701,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
780,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
7310,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1518,
559,
18,
14963,
2932,
474,
6,
3719,
288,
1082,
202,
2088,
273,
7751,
12,
4522,
13,
2325,
18,
588,
2932,
397,
1501,
11611,
397,
9369,
2934,
474,
620,
10031,
31,
202,
2
] |
columnViewer.refresh(updateCell(getRowPartFromItem(treeItem),
|
columnViewer.refresh(updateCell(getViewerRowFromItem(treeItem),
|
protected void doUpdateItem(final Item item, Object element) { if (!(item instanceof TreeItem)) { return; } TreeItem treeItem = (TreeItem) item; if (treeItem.isDisposed()) { unmapElement(element, treeItem); return; } int columnCount = getTree().getColumnCount(); if (columnCount == 0)// If no columns are created then fake one columnCount = 1; for (int column = 0; column < columnCount; column++) { ViewerColumn columnViewer = getViewerColumn(column); columnViewer.refresh(updateCell(getRowPartFromItem(treeItem), column)); // As it is possible for user code to run the event // loop check here. if (item.isDisposed()) { unmapElement(element, item); return; } } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b98c19a4c24b87703047a85dff1a192fa6dd78b5/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
1891,
1180,
12,
6385,
4342,
761,
16,
1033,
930,
13,
288,
202,
202,
430,
16051,
12,
1726,
1276,
4902,
1180,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2471,
1180,
2151,
1180,
273,
261,
2471,
1180,
13,
761,
31,
202,
202,
430,
261,
3413,
1180,
18,
291,
1669,
7423,
10756,
288,
1082,
202,
318,
1458,
1046,
12,
2956,
16,
2151,
1180,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
22429,
273,
15867,
7675,
588,
1494,
1380,
5621,
202,
202,
430,
261,
2827,
1380,
422,
374,
13,
759,
971,
1158,
2168,
854,
2522,
1508,
10517,
1245,
1082,
202,
2827,
1380,
273,
404,
31,
202,
202,
1884,
261,
474,
1057,
273,
374,
31,
1057,
411,
22429,
31,
1057,
27245,
288,
1082,
202,
18415,
1494,
1057,
18415,
273,
8893,
264,
1494,
12,
2827,
1769,
1082,
202,
2827,
18415,
18,
9144,
12,
2725,
4020,
12,
588,
1999,
1988,
1265,
1180,
12,
3413,
1180,
3631,
6862,
202,
2827,
10019,
1082,
202,
759,
2970,
518,
353,
3323,
364,
729,
981,
358,
1086,
326,
871,
1082,
202,
759,
2798,
866,
2674,
18,
1082,
202,
430,
261,
1726,
18,
291,
1669,
7423,
10756,
288,
9506,
202,
318,
1458,
1046,
12,
2956,
16,
761,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
1891,
1180,
12,
6385,
4342,
761,
16,
1033,
930,
13,
288,
202,
202,
430,
16051,
12,
1726,
1276,
4902,
1180,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2471,
1180,
2151,
1180,
273,
261,
2471,
1180,
13,
761,
31,
202,
202,
430,
261,
3413,
1180,
18,
291,
1669,
7423,
10756,
288,
1082,
202,
318,
1458,
1046,
12,
2956,
16,
2151,
1180,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
22429,
273,
15867,
7675,
588,
1494,
1380,
5621,
202,
202,
430,
261,
2827,
1380,
422,
374,
13,
759,
971,
1158,
2168,
854,
2522,
1508,
10517,
1245,
1082,
202,
2827,
1380,
273,
404,
31,
202,
202,
1884,
261,
474,
1057,
2
] |
if (line.startsWith(" line.startsWith("REM") || line.startsWith("/*") || line.startsWith("*")) { return false; } return true;
|
return !(line.startsWith(" line.startsWith("REM") || line.startsWith("/*") || line.startsWith("*"));
|
public static boolean isSQLCommandPart(String line) { line = line.trim(); if (line.equals("")) { return false; } // Check to see if the line is a comment. Valid comment types: // "//" is HSQLDB // "--" is DB2 and Postgres // "#" is MySQL // "REM" is Oracle // "/*" is SQLServer if (line.startsWith("//") || line.startsWith("--") || line.startsWith("#") || line.startsWith("REM") || line.startsWith("/*") || line.startsWith("*")) { return false; } return true; }
|
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/23d6c86665c2174aba364c7d15d64066c82607cf/DbConnectionManager.java/buggy/src/java/org/jivesoftware/database/DbConnectionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
3997,
2189,
1988,
12,
780,
980,
13,
288,
3639,
980,
273,
980,
18,
5290,
5621,
3639,
309,
261,
1369,
18,
14963,
2932,
6,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
368,
2073,
358,
2621,
309,
326,
980,
353,
279,
2879,
18,
2364,
2879,
1953,
30,
3639,
368,
282,
31828,
353,
670,
3997,
2290,
3639,
368,
282,
26306,
353,
2383,
22,
471,
5616,
14107,
3639,
368,
282,
13092,
353,
13485,
3639,
368,
282,
315,
862,
49,
6,
353,
28544,
3639,
368,
282,
2206,
7388,
353,
3063,
2081,
3639,
309,
261,
1369,
18,
17514,
1190,
2932,
759,
7923,
747,
980,
18,
17514,
1190,
2932,
413,
7923,
747,
980,
18,
17514,
1190,
2932,
7,
7923,
747,
7734,
980,
18,
17514,
1190,
2932,
862,
49,
7923,
747,
980,
18,
17514,
1190,
2932,
19,
7388,
13,
747,
980,
18,
17514,
1190,
2932,
7388,
3719,
3639,
288,
5411,
327,
629,
31,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
3997,
2189,
1988,
12,
780,
980,
13,
288,
3639,
980,
273,
980,
18,
5290,
5621,
3639,
309,
261,
1369,
18,
14963,
2932,
6,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
368,
2073,
358,
2621,
309,
326,
980,
353,
279,
2879,
18,
2364,
2879,
1953,
30,
3639,
368,
282,
31828,
353,
670,
3997,
2290,
3639,
368,
282,
26306,
353,
2383,
22,
471,
5616,
14107,
3639,
368,
282,
13092,
353,
13485,
3639,
368,
282,
315,
862,
49,
6,
353,
28544,
3639,
368,
282,
2206,
7388,
353,
3063,
2081,
3639,
309,
261,
1369,
18,
17514,
1190,
2932,
759,
7923,
747,
980,
18,
17514,
1190,
2932,
413,
7923,
747,
980,
18,
17514,
1190,
2932,
7,
7923,
2
] |
ary.append(name);
|
ary.append(name);
|
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = getRuntime().newArray(); for (RubyModule p = this; p != null; p = p.getSuperClass()) { for (Iterator iter = p.getMethods().entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); ICallable method = (ICallable) entry.getValue(); if (method.getVisibility().is(visibility) && !method.isUndefined()) { RubyString name = getRuntime().newString( (String) entry.getKey()); if (!ary.includes(name)) { ary.append(name); } } } if (!includeSuper) { break; } } return ary; }
|
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/abfe85d15f992ecf4447b155d177050fe2239c3b/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
19817,
1076,
791,
67,
5163,
12,
7937,
10340,
921,
8526,
833,
16,
727,
27791,
9478,
13,
288,
3639,
1250,
2341,
8051,
273,
833,
18,
2469,
405,
374,
692,
833,
63,
20,
8009,
291,
5510,
1435,
294,
638,
31,
3639,
19817,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
3639,
364,
261,
54,
10340,
3120,
293,
273,
333,
31,
293,
480,
446,
31,
293,
273,
293,
18,
588,
8051,
797,
10756,
288,
5411,
364,
261,
3198,
1400,
273,
293,
18,
588,
4712,
7675,
4099,
694,
7675,
9838,
5621,
2398,
202,
2165,
18,
5332,
2134,
5621,
13,
288,
7734,
1635,
18,
1622,
1241,
273,
261,
863,
18,
1622,
13,
1400,
18,
4285,
5621,
7734,
467,
11452,
707,
273,
261,
45,
11452,
13,
1241,
18,
24805,
5621,
7734,
309,
261,
2039,
18,
588,
10135,
7675,
291,
12,
14422,
13,
597,
13491,
401,
2039,
18,
291,
10317,
10756,
288,
10792,
19817,
780,
508,
273,
18814,
7675,
2704,
780,
12,
5397,
202,
12,
780,
13,
1241,
18,
588,
653,
10663,
10792,
309,
16051,
814,
18,
18499,
12,
529,
3719,
288,
5397,
202,
814,
18,
6923,
12,
529,
1769,
10792,
289,
7734,
289,
2398,
289,
5411,
309,
16051,
6702,
8051,
13,
288,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
327,
11841,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
19817,
1076,
791,
67,
5163,
12,
7937,
10340,
921,
8526,
833,
16,
727,
27791,
9478,
13,
288,
3639,
1250,
2341,
8051,
273,
833,
18,
2469,
405,
374,
692,
833,
63,
20,
8009,
291,
5510,
1435,
294,
638,
31,
3639,
19817,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
3639,
364,
261,
54,
10340,
3120,
293,
273,
333,
31,
293,
480,
446,
31,
293,
273,
293,
18,
588,
8051,
797,
10756,
288,
5411,
364,
261,
3198,
1400,
273,
293,
18,
588,
4712,
7675,
4099,
694,
7675,
9838,
5621,
2398,
202,
2165,
18,
5332,
2134,
5621,
13,
288,
7734,
1635,
18,
1622,
1241,
273,
261,
863,
18,
1622,
13,
1400,
18,
4285,
5621,
7734,
467,
11452,
707,
273,
261,
2
] |
display.post(sfMouseMoveEvent);
|
display.post(fgMouseMoveEvent);
|
public static void mouseMoveEvent(Display display, int x, int y, boolean runEventQueue) { sfMouseMoveEvent.type= SWT.MouseMove; sfMouseMoveEvent.x= x; sfMouseMoveEvent.y= y; display.post(sfMouseMoveEvent); if (runEventQueue) EditorTestHelper.runEventQueue(); }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/1254e56ec923092576e608a9069176533e7ef1fe/SWTEventHelper.java/buggy/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/SWTEventHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
7644,
7607,
1133,
12,
4236,
2562,
16,
509,
619,
16,
509,
677,
16,
1250,
1086,
1133,
3183,
13,
288,
202,
202,
21668,
9186,
7607,
1133,
18,
723,
33,
348,
8588,
18,
9186,
7607,
31,
202,
202,
21668,
9186,
7607,
1133,
18,
92,
33,
619,
31,
202,
202,
21668,
9186,
7607,
1133,
18,
93,
33,
677,
31,
9506,
202,
5417,
18,
2767,
12,
21668,
9186,
7607,
1133,
1769,
202,
202,
430,
261,
2681,
1133,
3183,
13,
1082,
202,
6946,
4709,
2276,
18,
2681,
1133,
3183,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
7644,
7607,
1133,
12,
4236,
2562,
16,
509,
619,
16,
509,
677,
16,
1250,
1086,
1133,
3183,
13,
288,
202,
202,
21668,
9186,
7607,
1133,
18,
723,
33,
348,
8588,
18,
9186,
7607,
31,
202,
202,
21668,
9186,
7607,
1133,
18,
92,
33,
619,
31,
202,
202,
21668,
9186,
7607,
1133,
18,
93,
33,
677,
31,
9506,
202,
5417,
18,
2767,
12,
21668,
9186,
7607,
1133,
1769,
202,
202,
430,
261,
2681,
1133,
3183,
13,
1082,
202,
6946,
4709,
2276,
18,
2681,
1133,
3183,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
boolean canCopy = true;
|
protected void copy(IResource[] resources, ArrayList rejectedFiles, IPath destination, IProgressMonitor subMonitor) throws CoreException { for (int i = 0; i < resources.length; i++) { IResource source = resources[i]; IPath destinationPath = destination.append(source.getName()); IWorkspace workspace = source.getWorkspace(); IWorkspaceRoot workspaceRoot = workspace.getRoot(); if (source.getType() == IResource.FOLDER && workspaceRoot.exists(destinationPath)) { // the resource is a folder and it exists in the destination, copy the // children of the folder IResource[] children = ((IContainer) source).members(); copy(children, rejectedFiles, destinationPath, subMonitor); } else if (!rejectedFiles.contains(destinationPath)) { // if we're merging folders, we could be overwriting an existing file IResource existing = workspaceRoot.findMember(destinationPath); boolean canCopy = true; if (existing != null) { canCopy = !copyExisting(source, existing, subMonitor); if (canCopy) { canCopy = delete(existing, subMonitor); } } if (canCopy) { int flags = IResource.SHALLOW; if (source.isLinked() && checkDeep(source)) { // do a deep copy of the resource flags = IResource.NONE; } source.copy(destinationPath, flags, new SubProgressMonitor(subMonitor, 0)); } subMonitor.worked(1); if (subMonitor.isCanceled()) { throw new OperationCanceledException(); } } } }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0edca7cf7f2306c4b4528b63b245d58d9a569f78/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1610,
12,
45,
1420,
8526,
2703,
16,
2407,
11876,
2697,
16,
467,
743,
2929,
16,
467,
5491,
7187,
720,
7187,
13,
1216,
30015,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
1420,
1084,
273,
2703,
63,
77,
15533,
1082,
202,
45,
743,
30617,
273,
2929,
18,
6923,
12,
3168,
18,
17994,
10663,
1082,
202,
45,
8241,
6003,
273,
1084,
18,
588,
8241,
5621,
1082,
202,
45,
8241,
2375,
6003,
2375,
273,
6003,
18,
588,
2375,
5621,
1082,
202,
430,
261,
3168,
18,
588,
559,
1435,
422,
467,
1420,
18,
17357,
597,
6003,
2375,
18,
1808,
12,
10590,
743,
3719,
288,
9506,
202,
759,
326,
1058,
353,
279,
3009,
471,
518,
1704,
316,
326,
2929,
16,
1610,
326,
9506,
202,
759,
2325,
434,
326,
3009,
9506,
202,
45,
1420,
8526,
2325,
273,
14015,
45,
2170,
13,
1084,
2934,
7640,
5621,
9506,
202,
3530,
12,
5906,
16,
11876,
2697,
16,
30617,
16,
720,
7187,
1769,
1082,
202,
97,
469,
309,
16051,
266,
6059,
2697,
18,
12298,
12,
10590,
743,
3719,
288,
9506,
202,
759,
309,
732,
4565,
17256,
9907,
16,
732,
3377,
506,
23492,
392,
2062,
585,
9506,
202,
45,
1420,
2062,
273,
6003,
2375,
18,
4720,
4419,
12,
10590,
743,
1769,
9506,
202,
6494,
848,
2951,
273,
638,
31,
6862,
9506,
202,
430,
261,
11711,
480,
446,
13,
288,
6862,
25083,
202,
4169,
2951,
273,
401,
3530,
9895,
12,
3168,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1610,
12,
45,
1420,
8526,
2703,
16,
2407,
11876,
2697,
16,
467,
743,
2929,
16,
467,
5491,
7187,
720,
7187,
13,
1216,
30015,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
1420,
1084,
273,
2703,
63,
77,
15533,
1082,
202,
45,
743,
30617,
273,
2929,
18,
6923,
12,
3168,
18,
17994,
10663,
1082,
202,
45,
8241,
6003,
273,
1084,
18,
588,
8241,
5621,
1082,
202,
45,
8241,
2375,
6003,
2375,
273,
6003,
18,
588,
2375,
5621,
1082,
202,
430,
261,
3168,
18,
588,
559,
1435,
422,
467,
1420,
18,
17357,
597,
6003,
2375,
18,
1808,
12,
10590,
743,
3719,
288,
9506,
2
] |
|
return null;
|
} finally { try { if (ois != null) ois.close(); if (is != null) is.close(); } catch (Exception e) {}
|
protected HierarchyData fetchForSubordinate(HttpServletRequest request, SimpleServletSupport support, String subOrgName, boolean allRelationships, Set visitedOrgs) { try { // build URL for remote connection StringBuffer buf = new StringBuffer(); buf.append("http://"); buf.append(request.getServerName()); buf.append(":"); buf.append(request.getServerPort()); buf.append("/$"); buf.append(subOrgName); buf.append(support.getPath()); buf.append("?data=true&recurse=true&visitedOrgs="); for (Iterator iter=visitedOrgs.iterator();iter.hasNext();) { buf.append (iter.next ()); if (iter.hasNext()) buf.append (","); } if (allRelationships) buf.append("&allRelationships=true"); String url = buf.toString(); if (VERBOSE) { System.out.println( "In "+ support.getAgentIdentifier()+ ", fetch hierarchy from "+subOrgName+ ", URL: "+url); } // open connection URL myURL = new URL(url); URLConnection myConnection = myURL.openConnection(); InputStream is = myConnection.getInputStream(); ObjectInputStream ois = new ObjectInputStream(is); // read single HierarchyData Object from subordinate HierarchyData hd = (HierarchyData)ois.readObject(); if (VERBOSE) { System.out.println( "In "+support.getAgentIdentifier()+ ", got "+ ((hd != null) ? ("hierarchy["+hd.numOrgs()+"]") : ("null"))+ " from "+subOrgName); } return hd; } catch (StreamCorruptedException sce) { if (VERBOSE) { System.err.println ("In "+support.getAgentIdentifier()+ ", got exception : "); sce.printStackTrace (); } return null; } catch (FileNotFoundException fnf) { if (!allRelationships) { System.err.println ("In "+support.getAgentIdentifier()+ ", got exception : "); fnf.printStackTrace (); } return null; } catch (Exception e) { System.err.println ("In "+support.getAgentIdentifier()+ ", got exception : "); e.printStackTrace(); return null; } }
|
10687 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10687/bde39e9a0452cda84dcf7d80630684a076fb452c/HierarchyWorker.java/buggy/planning/src/org/cougaar/planning/servlet/HierarchyWorker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
670,
6000,
751,
2158,
1290,
1676,
22454,
12,
2940,
18572,
590,
16,
9944,
1377,
4477,
4745,
6289,
2865,
16,
25083,
1377,
514,
720,
6001,
461,
16,
25083,
1377,
1250,
777,
17185,
16,
25083,
1377,
1000,
9711,
1162,
564,
13,
288,
565,
775,
288,
1377,
368,
1361,
1976,
364,
2632,
1459,
1377,
6674,
1681,
273,
394,
6674,
5621,
1377,
1681,
18,
6923,
2932,
2505,
2207,
8863,
1377,
1681,
18,
6923,
12,
2293,
18,
588,
28434,
10663,
1377,
1681,
18,
6923,
2932,
2773,
1769,
1377,
1681,
18,
6923,
12,
2293,
18,
588,
2081,
2617,
10663,
1377,
1681,
18,
6923,
2932,
11141,
8863,
1377,
1681,
18,
6923,
12,
1717,
6001,
461,
1769,
1377,
1681,
18,
6923,
12,
13261,
18,
588,
743,
10663,
1377,
1681,
18,
6923,
2932,
35,
892,
33,
3767,
10,
29362,
33,
3767,
10,
30129,
1162,
564,
1546,
1769,
1377,
364,
261,
3198,
1400,
33,
30129,
1162,
564,
18,
9838,
5621,
2165,
18,
5332,
2134,
5621,
13,
288,
202,
4385,
18,
6923,
261,
2165,
18,
4285,
1832,
1769,
202,
430,
261,
2165,
18,
5332,
2134,
10756,
202,
225,
1681,
18,
6923,
261,
3113,
8863,
1377,
289,
1377,
309,
261,
454,
17185,
13,
202,
4385,
18,
6923,
2932,
10,
454,
17185,
33,
3767,
8863,
202,
1377,
514,
880,
273,
1681,
18,
10492,
5621,
1377,
309,
261,
21900,
13,
288,
3639,
2332,
18,
659,
18,
8222,
12,
9506,
282,
315,
382,
13773,
2865,
18,
588,
3630,
3004,
1435,
15,
9506,
282,
3104,
2158,
9360,
628,
13773,
1717,
6001,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
670,
6000,
751,
2158,
1290,
1676,
22454,
12,
2940,
18572,
590,
16,
9944,
1377,
4477,
4745,
6289,
2865,
16,
25083,
1377,
514,
720,
6001,
461,
16,
25083,
1377,
1250,
777,
17185,
16,
25083,
1377,
1000,
9711,
1162,
564,
13,
288,
565,
775,
288,
1377,
368,
1361,
1976,
364,
2632,
1459,
1377,
6674,
1681,
273,
394,
6674,
5621,
1377,
1681,
18,
6923,
2932,
2505,
2207,
8863,
1377,
1681,
18,
6923,
12,
2293,
18,
588,
28434,
10663,
1377,
1681,
18,
6923,
2932,
2773,
1769,
1377,
1681,
18,
6923,
12,
2293,
18,
588,
2081,
2617,
10663,
1377,
1681,
18,
6923,
2932,
11141,
8863,
1377,
1681,
18,
6923,
12,
1717,
6001,
461,
1769,
1377,
1681,
18,
6923,
12,
13261,
18,
588,
2
] |
public void mT49() throws RecognitionException { int T49_StartIndex = input.index(); try { int type = T49; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 35) ) { return ; } // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:40:7: ( 'contains' ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:40:7: 'contains' { match("contains"); if (failed) return ; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 35, T49_StartIndex); } } }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
7616,
1435,
1216,
9539,
288,
3639,
509,
399,
7616,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
7616,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
13191,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
7132,
30,
27,
30,
261,
296,
12298,
11,
262,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
7132,
30,
27,
30,
296,
12298,
11,
5411,
288,
5411,
845,
2932,
12298,
8863,
309,
261,
7307,
13,
327,
274,
5411,
289,
5411,
309,
261,
1147,
631,
2011,
262,
288,
18356,
12,
723,
16,
1369,
16,
3001,
2555,
16,
4327,
16,
1937,
16,
588,
2156,
1016,
1435,
17,
21,
1769,
97,
3639,
289,
3639,
3095,
288,
5411,
309,
261,
6888,
34,
20,
262,
288,
27820,
12,
2630,
16,
13191,
16,
399,
7616,
67,
16792,
1769,
289,
3639,
289,
565,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
7616,
1435,
1216,
9539,
288,
3639,
509,
399,
7616,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
7616,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
13191,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
2
] |
||
LOG.assertTrue(ApplicationManager.getApplication().isDispatchThread());
|
ApplicationManager.getApplication().assertIsDispatchThread();
|
public void afterRefreshFinish(final boolean asynchronous, ModalityState modalityState) { Runnable action = new Runnable() { public void run() { myRefreshCount--; Runnable postRunnable = myPostRefreshRunnables.pop(); ApplicationManager.getApplication().runWriteAction( new Runnable() { public void run() { //noinspection ForLoopReplaceableByForEach for (int i = 0; i < myRefreshEventsToFire.size(); i++) { Runnable runnable = myRefreshEventsToFire.get(i); try { runnable.run(); } catch (Exception e) { LOG.error(e); } } if (myRefreshCount > 0) { myRefreshEventsToFire.clear(); } else { myRefreshEventsToFire = null; final FileSystemSynchronizer synchronizer; if (asynchronous) { synchronizer = new FileSystemSynchronizer(); //noinspection ForLoopReplaceableByForEach for (int i = 0; i < myRefreshParticipants.size(); i++) { CacheUpdater participant = myRefreshParticipants.get(i); synchronizer.registerCacheUpdater(participant); } } else { synchronizer = null; } myVirtualFileManagerListenerMulticaster.getMulticaster().afterRefreshFinish(asynchronous); if (asynchronous) { int filesCount = synchronizer.collectFilesToUpdate(); if (filesCount > 0) { boolean runWithProgress = !ApplicationManager.getApplication().isUnitTestMode() && filesCount > 5; if (runWithProgress) { Runnable process = new Runnable() { public void run() { synchronizer.execute(); } }; ApplicationManager.getApplication().runProcessWithProgressSynchronously(process, "Updating Modified Files...", false, null); } else { synchronizer.execute(); } } } } } } ); if (postRunnable != null){ postRunnable.run(); } } }; if (asynchronous) { ApplicationManager.getApplication().invokeLater(action, modalityState); } else { LOG.assertTrue(ApplicationManager.getApplication().isDispatchThread()); action.run(); } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/b313d3489940a7226dcd17fec6acc475914c1696/VirtualFileManagerImpl.java/clean/source/com/intellij/openapi/vfs/impl/VirtualFileManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1839,
8323,
11641,
12,
6385,
1250,
9007,
16,
3431,
7919,
1119,
681,
7919,
1119,
13,
288,
565,
10254,
1301,
273,
394,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
3399,
8323,
1380,
413,
31,
3639,
10254,
1603,
20013,
273,
3399,
3349,
8323,
1997,
82,
1538,
18,
5120,
5621,
3639,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
1850,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
2868,
368,
13242,
2457,
6452,
5729,
429,
858,
1290,
3442,
2868,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3399,
8323,
3783,
774,
9723,
18,
1467,
5621,
277,
27245,
288,
7734,
10254,
14685,
273,
3399,
8323,
3783,
774,
9723,
18,
588,
12,
77,
1769,
7734,
775,
288,
5375,
14685,
18,
2681,
5621,
7734,
289,
7734,
1044,
261,
503,
425,
13,
288,
5375,
2018,
18,
1636,
12,
73,
1769,
7734,
289,
2868,
289,
2868,
309,
261,
4811,
8323,
1380,
405,
374,
13,
288,
7734,
3399,
8323,
3783,
774,
9723,
18,
8507,
5621,
2868,
289,
2868,
469,
288,
7734,
3399,
8323,
3783,
774,
9723,
273,
446,
31,
7734,
727,
10931,
19298,
1824,
3248,
1824,
31,
7734,
309,
261,
345,
7121,
13,
288,
5375,
3248,
1824,
273,
394,
10931,
19298,
1824,
5621,
5375,
368,
13242,
2457,
6452,
5729,
429,
858,
1290,
3442,
5375,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3399,
8323,
1988,
27620,
18,
1467,
5621,
277,
27245,
288,
10792,
4379,
15305,
14188,
273,
3399,
8323,
1988,
27620,
18,
588,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1839,
8323,
11641,
12,
6385,
1250,
9007,
16,
3431,
7919,
1119,
681,
7919,
1119,
13,
288,
565,
10254,
1301,
273,
394,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
3399,
8323,
1380,
413,
31,
3639,
10254,
1603,
20013,
273,
3399,
3349,
8323,
1997,
82,
1538,
18,
5120,
5621,
3639,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
1850,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
2868,
368,
13242,
2457,
6452,
5729,
429,
858,
1290,
3442,
2868,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3399,
8323,
3783,
774,
9723,
18,
1467,
5621,
277,
27245,
288,
7734,
10254,
14685,
273,
3399,
8323,
3783,
774,
9723,
18,
588,
12,
77,
2
] |
ExceptionHandler.showException( null, "title", "msg", e );
|
ExceptionHandler.showException( PlatformUI.getWorkbench( ) .getDisplay( ) .getActiveShell( ), JdbcPlugin.getResourceString( "exceptionHandler.title.error" ), e.getLocalizedMessage( ), e );
|
private static URLClassLoader createClassLoader( List jdbcDriverFiles ) { // Create a URL Array for the class loader to use URL[] urlList = new URL[jdbcDriverFiles.size()]; for ( int i = 0; i < jdbcDriverFiles.size(); i++ ) { try { urlList[i] = new URL( "file", null, ( (File) jdbcDriverFiles.get( i ) ).getAbsolutePath( ) ); } catch ( MalformedURLException e ) { //TODO ExceptionHandler.showException( null, "title", "msg", e ); } } URLClassLoader urlClassLoader = new URLClassLoader( urlList, ClassLoader.getSystemClassLoader( ) ); return urlClassLoader; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/020856efadddb7bd3bd0b968de0e7cadf12a1568/JdbcToolKit.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/util/JdbcToolKit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1976,
7805,
752,
7805,
12,
987,
16579,
4668,
2697,
262,
202,
95,
202,
202,
759,
1788,
279,
1976,
1510,
364,
326,
667,
4088,
358,
999,
202,
202,
1785,
8526,
880,
682,
273,
394,
1976,
63,
24687,
4668,
2697,
18,
1467,
1435,
15533,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
16579,
4668,
2697,
18,
1467,
5621,
277,
9904,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
718,
682,
63,
77,
65,
273,
394,
1976,
12,
315,
768,
3113,
446,
16,
261,
261,
812,
13,
16579,
4668,
2697,
18,
588,
12,
277,
262,
262,
18,
588,
10368,
743,
12,
262,
11272,
1082,
202,
97,
1082,
202,
14683,
261,
20710,
425,
262,
1082,
202,
95,
9506,
202,
759,
6241,
9506,
202,
18894,
18,
4500,
503,
12,
446,
16,
315,
2649,
3113,
315,
3576,
3113,
425,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
1785,
7805,
880,
7805,
273,
394,
1976,
7805,
12,
880,
682,
16,
6862,
202,
7805,
18,
588,
3163,
7805,
12,
262,
11272,
202,
202,
2463,
880,
7805,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1976,
7805,
752,
7805,
12,
987,
16579,
4668,
2697,
262,
202,
95,
202,
202,
759,
1788,
279,
1976,
1510,
364,
326,
667,
4088,
358,
999,
202,
202,
1785,
8526,
880,
682,
273,
394,
1976,
63,
24687,
4668,
2697,
18,
1467,
1435,
15533,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
16579,
4668,
2697,
18,
1467,
5621,
277,
9904,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
718,
682,
63,
77,
65,
273,
394,
1976,
12,
315,
768,
3113,
446,
16,
261,
261,
812,
13,
16579,
4668,
2697,
18,
588,
12,
277,
262,
262,
18,
588,
10368,
743,
12,
262,
11272,
1082,
202,
97,
1082,
202,
14683,
261,
20710,
2
] |
editor.addFocusListener(focusListener);
|
comboBox.addFocusListener(focusListener);
|
protected void installListeners() { // install combo box's listeners propertyChangeListener = createPropertyChangeListener(); comboBox.addPropertyChangeListener(propertyChangeListener); focusListener = createFocusListener(); editor.addFocusListener(focusListener); itemListener = createItemListener(); comboBox.addItemListener(itemListener); keyListener = createKeyListener(); comboBox.addKeyListener(keyListener); // install listeners that listen to combo box model listDataListener = createListDataListener(); comboBox.getModel().addListDataListener(listDataListener); // Install mouse and key listeners from the popup. popupMouseListener = popup.getMouseListener(); comboBox.addMouseListener(popupMouseListener); popupMouseMotionListener = popup.getMouseMotionListener(); comboBox.addMouseMotionListener(popupMouseMotionListener); popupKeyListener = popup.getKeyListener(); comboBox.addKeyListener(popupKeyListener); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
5583,
1435,
225,
288,
565,
368,
3799,
16778,
3919,
1807,
4679,
565,
1272,
15744,
273,
31318,
15744,
5621,
565,
16778,
3514,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
565,
7155,
2223,
273,
752,
9233,
2223,
5621,
565,
16778,
3514,
18,
1289,
9233,
2223,
12,
13923,
2223,
1769,
565,
761,
2223,
273,
29274,
2223,
5621,
565,
16778,
3514,
18,
1289,
1180,
2223,
12,
1726,
2223,
1769,
565,
498,
2223,
273,
752,
653,
2223,
5621,
565,
16778,
3514,
18,
1289,
653,
2223,
12,
856,
2223,
1769,
565,
368,
3799,
4679,
716,
6514,
358,
16778,
3919,
938,
565,
666,
751,
2223,
273,
752,
682,
751,
2223,
5621,
565,
16778,
3514,
18,
588,
1488,
7675,
1289,
682,
751,
2223,
12,
1098,
751,
2223,
1769,
565,
368,
10284,
7644,
471,
498,
4679,
628,
326,
10431,
18,
565,
10431,
9186,
2223,
273,
10431,
18,
588,
9186,
2223,
5621,
565,
16778,
3514,
18,
1289,
9186,
2223,
12,
16086,
9186,
2223,
1769,
565,
10431,
9186,
29360,
2223,
273,
10431,
18,
588,
9186,
29360,
2223,
5621,
565,
16778,
3514,
18,
1289,
9186,
29360,
2223,
12,
16086,
9186,
29360,
2223,
1769,
565,
10431,
653,
2223,
273,
10431,
18,
588,
653,
2223,
5621,
565,
16778,
3514,
18,
1289,
653,
2223,
12,
16086,
653,
2223,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
5583,
1435,
225,
288,
565,
368,
3799,
16778,
3919,
1807,
4679,
565,
1272,
15744,
273,
31318,
15744,
5621,
565,
16778,
3514,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
565,
7155,
2223,
273,
752,
9233,
2223,
5621,
565,
16778,
3514,
18,
1289,
9233,
2223,
12,
13923,
2223,
1769,
565,
761,
2223,
273,
29274,
2223,
5621,
565,
16778,
3514,
18,
1289,
1180,
2223,
12,
1726,
2223,
1769,
565,
498,
2223,
273,
752,
653,
2223,
5621,
565,
16778,
3514,
18,
1289,
653,
2223,
12,
856,
2223,
1769,
565,
368,
3799,
4679,
716,
6514,
358,
16778,
3919,
938,
565,
666,
751,
2223,
273,
752,
682,
751,
2223,
5621,
565,
16778,
3514,
18,
588,
1488,
7675,
1289,
682,
751,
2
] |
RolapConnection conn = (RolapConnection) getConnection(); String jdbcUrl = conn.getConnectInfo().get("Jdbc"); if (jdbcUrl.toLowerCase().indexOf("access") >= 0) {
|
final Cube cube = result.getQuery().getCube(); RolapStar star = ((RolapCube) cube).getStar(); SqlQuery.Dialect dialect = star.getSqlQueryDialect(); if (dialect.isAccess()) {
|
public void testDrillThroughMeasureExp() { Result result = executeQuery( "SELECT {[Measures].[Promotion Sales]} on columns," + nl + " {[Product].Children} on rows" + nl + "from Sales"); String sql = result.getCell(new int[] {0, 0}).getDrillThroughSQL(false); String expectedSql = "select `time_by_day`.`the_year` as `Year`," + " `product_class`.`product_family` as `Product Family`," + " (case when `sales_fact_1997`.`promotion_id` = 0 then 0" + " else `sales_fact_1997`.`store_sales` end)" + " as `Promotion Sales` " + "from `time_by_day` =as= `time_by_day`," + " `sales_fact_1997` =as= `sales_fact_1997`," + " `product_class` =as= `product_class`," + " `product` =as= `product` " + "where `sales_fact_1997`.`time_id` = `time_by_day`.`time_id`" + " and `time_by_day`.`the_year` = 1997" + " and `sales_fact_1997`.`product_id` = `product`.`product_id`" + " and `product`.`product_class_id` = `product_class`.`product_class_id`" + " and `product_class`.`product_family` = 'Drink'"; RolapConnection conn = (RolapConnection) getConnection(); String jdbcUrl = conn.getConnectInfo().get("Jdbc"); if (jdbcUrl.toLowerCase().indexOf("access") >= 0) { String caseStmt = " \\(case when `sales_fact_1997`.`promotion_id` = 0 then 0" + " else `sales_fact_1997`.`store_sales` end\\)"; expectedSql = expectedSql.replaceAll( caseStmt, " Iif(`sales_fact_1997`.`promotion_id` = 0, 0," + " `sales_fact_1997`.`store_sales`)"); } assertSqlEquals(expectedSql, sql); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/9a7e66bac20f333610010fd703d91dc82ef29791/DrillThroughTest.java/buggy/testsrc/main/mondrian/test/DrillThroughTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8956,
737,
14287,
7197,
2966,
1435,
288,
3639,
3438,
563,
273,
14304,
12,
7734,
315,
4803,
288,
63,
23177,
1823,
8009,
63,
13224,
8240,
25996,
18322,
603,
2168,
10837,
397,
7741,
397,
7734,
315,
288,
63,
4133,
8009,
4212,
97,
603,
2595,
6,
397,
7741,
397,
7734,
315,
2080,
25996,
8863,
3639,
514,
1847,
273,
563,
18,
588,
4020,
12,
2704,
509,
8526,
288,
20,
16,
374,
97,
2934,
588,
8956,
737,
14287,
3997,
12,
5743,
1769,
2398,
514,
2665,
5101,
273,
7734,
315,
4025,
1375,
957,
67,
1637,
67,
2881,
16586,
5787,
67,
6874,
68,
487,
1375,
5593,
9191,
6,
397,
7734,
315,
1375,
5896,
67,
1106,
16586,
5896,
67,
9309,
68,
487,
1375,
4133,
19343,
9191,
6,
397,
7734,
315,
261,
3593,
1347,
1375,
87,
5408,
67,
3493,
67,
19818,
27,
16586,
17401,
8240,
67,
350,
68,
273,
374,
1508,
374,
6,
397,
7734,
315,
469,
1375,
87,
5408,
67,
3493,
67,
19818,
27,
16586,
2233,
67,
87,
5408,
68,
679,
2225,
397,
7734,
315,
487,
1375,
13224,
8240,
25996,
68,
315,
397,
7734,
315,
2080,
1375,
957,
67,
1637,
67,
2881,
68,
273,
345,
33,
1375,
957,
67,
1637,
67,
2881,
9191,
6,
397,
7734,
315,
1375,
87,
5408,
67,
3493,
67,
19818,
27,
68,
273,
345,
33,
1375,
87,
5408,
67,
3493,
67,
19818,
27,
9191,
6,
397,
7734,
315,
1375,
5896,
67,
1106,
68,
273,
345,
33,
1375,
5896,
67,
1106,
9191,
6,
397,
7734,
315,
1375,
5896,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8956,
737,
14287,
7197,
2966,
1435,
288,
3639,
3438,
563,
273,
14304,
12,
7734,
315,
4803,
288,
63,
23177,
1823,
8009,
63,
13224,
8240,
25996,
18322,
603,
2168,
10837,
397,
7741,
397,
7734,
315,
288,
63,
4133,
8009,
4212,
97,
603,
2595,
6,
397,
7741,
397,
7734,
315,
2080,
25996,
8863,
3639,
514,
1847,
273,
563,
18,
588,
4020,
12,
2704,
509,
8526,
288,
20,
16,
374,
97,
2934,
588,
8956,
737,
14287,
3997,
12,
5743,
1769,
2398,
514,
2665,
5101,
273,
7734,
315,
4025,
1375,
957,
67,
1637,
67,
2881,
16586,
5787,
67,
6874,
68,
487,
1375,
5593,
9191,
6,
397,
7734,
315,
1375,
5896,
67,
1106,
16586,
5896,
67,
9309,
68,
487,
1375,
2
] |
return null;
|
return element;
|
private CPElement removePathFromResourceGroups(CPElement element, List groups) { CPElement Inherited = element.getInherited(); CPElementGroup resGroup = element.getParent(); resGroup.removeChild(element); if (Inherited != null) { // applied exclusion to orig. IPath exclude = element.getPath().removeFirstSegments(Inherited.getPath().segmentCount()); IPath[] exclusions = (IPath[]) Inherited.getAttribute(CPElement.EXCLUSION); IPath[] newExlusions = new IPath[exclusions.length + 1]; System.arraycopy(exclusions, 0, newExlusions, 0, exclusions.length); newExlusions[exclusions.length] = exclude; Inherited.setAttribute(CPElement.EXCLUSION, newExlusions); } else { // remove all inherited for (int i = 0; i < groups.size(); i++) { CPElementGroup group = (CPElementGroup) groups.get(i); CPElement elements[] = group.getChildren(); for (int j = 0; j < elements.length; j++) { if (elements[j].getInherited() == element) { group.removeChild(elements[j]); break; } } } return element; } return null; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/53738dc5bfed46178452b79843ccf0ac0f233d45/CPathIncludeSymbolEntryPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/dialogs/cpaths/CPathIncludeSymbolEntryPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
5181,
1046,
1206,
743,
1265,
1420,
3621,
12,
4258,
1046,
930,
16,
987,
3252,
13,
288,
202,
202,
4258,
1046,
25953,
329,
273,
930,
18,
588,
29078,
5621,
202,
202,
4258,
1046,
1114,
400,
1114,
273,
930,
18,
588,
3054,
5621,
202,
202,
455,
1114,
18,
4479,
1763,
12,
2956,
1769,
202,
202,
430,
261,
29078,
480,
446,
13,
288,
368,
6754,
21244,
358,
1647,
18,
1082,
202,
45,
743,
4433,
273,
930,
18,
588,
743,
7675,
4479,
3759,
7946,
12,
29078,
18,
588,
743,
7675,
9273,
1380,
10663,
1082,
202,
45,
743,
8526,
29523,
273,
261,
45,
743,
63,
5717,
25953,
329,
18,
588,
1499,
12,
4258,
1046,
18,
2294,
5017,
3378,
1146,
1769,
1082,
202,
45,
743,
8526,
394,
424,
80,
16377,
273,
394,
467,
743,
63,
338,
25364,
18,
2469,
397,
404,
15533,
1082,
202,
3163,
18,
1126,
3530,
12,
338,
25364,
16,
374,
16,
394,
424,
80,
16377,
16,
374,
16,
29523,
18,
2469,
1769,
1082,
202,
2704,
424,
80,
16377,
63,
338,
25364,
18,
2469,
65,
273,
4433,
31,
1082,
202,
29078,
18,
542,
1499,
12,
4258,
1046,
18,
2294,
5017,
3378,
1146,
16,
394,
424,
80,
16377,
1769,
202,
202,
97,
469,
288,
368,
1206,
777,
12078,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3252,
18,
1467,
5621,
277,
27245,
288,
9506,
202,
4258,
1046,
1114,
1041,
273,
261,
4258,
1046,
1114,
13,
3252,
18,
588,
12,
77,
1769,
9506,
202,
4258,
1046,
2186,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
5181,
1046,
1206,
743,
1265,
1420,
3621,
12,
4258,
1046,
930,
16,
987,
3252,
13,
288,
202,
202,
4258,
1046,
25953,
329,
273,
930,
18,
588,
29078,
5621,
202,
202,
4258,
1046,
1114,
400,
1114,
273,
930,
18,
588,
3054,
5621,
202,
202,
455,
1114,
18,
4479,
1763,
12,
2956,
1769,
202,
202,
430,
261,
29078,
480,
446,
13,
288,
368,
6754,
21244,
358,
1647,
18,
1082,
202,
45,
743,
4433,
273,
930,
18,
588,
743,
7675,
4479,
3759,
7946,
12,
29078,
18,
588,
743,
7675,
9273,
1380,
10663,
1082,
202,
45,
743,
8526,
29523,
273,
261,
45,
743,
63,
5717,
25953,
329,
18,
588,
1499,
12,
4258,
1046,
18,
2294,
5017,
3378,
1146,
1769,
1082,
2
] |
public int methodArity(int methodId) { if (prototypeFlag) { if (methodId == Id_constructor) { return 0; }
|
public int methodArity(IdFunction f) { if (f.hasTag(FTAG)) { if (f.methodId == Id_constructor) { return 0; }
|
public int methodArity(int methodId) { if (prototypeFlag) { if (methodId == Id_constructor) { return 0; } } return -1; }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeWith.java/clean/js/rhino/src/org/mozilla/javascript/NativeWith.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
288,
327,
374,
31,
289,
3639,
289,
3639,
327,
300,
21,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
288,
327,
374,
31,
289,
3639,
289,
3639,
327,
300,
21,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.arraycopy(value, end, value, end + delta, count - end);
|
VMSystem.arraycopy(value, end, value, end + delta, count - end);
|
public synchronized StringBuffer replace(int start, int end, String str) { if (start < 0 || start > count || start > end) throw new StringIndexOutOfBoundsException(start); int len = str.count; // Calculate the difference in 'count' after the replace. int delta = len - (end > count ? count : end) + start; ensureCapacity_unsynchronized(count + delta); if (delta != 0 && end < count) System.arraycopy(value, end, value, end + delta, count - end); str.getChars(0, len, value, start); count += delta; return this; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
6674,
1453,
12,
474,
787,
16,
509,
679,
16,
514,
609,
13,
225,
288,
565,
309,
261,
1937,
411,
374,
747,
787,
405,
1056,
747,
787,
405,
679,
13,
1377,
604,
394,
514,
30548,
12,
1937,
1769,
565,
509,
562,
273,
609,
18,
1883,
31,
565,
368,
9029,
326,
7114,
316,
296,
1883,
11,
1839,
326,
1453,
18,
565,
509,
3622,
273,
562,
300,
261,
409,
405,
1056,
692,
1056,
294,
679,
13,
397,
787,
31,
565,
3387,
7437,
67,
318,
22043,
12,
1883,
397,
3622,
1769,
565,
309,
261,
9878,
480,
374,
597,
679,
411,
1056,
13,
1377,
8251,
3163,
18,
1126,
3530,
12,
1132,
16,
679,
16,
460,
16,
679,
397,
3622,
16,
1056,
300,
679,
1769,
565,
609,
18,
588,
7803,
12,
20,
16,
562,
16,
460,
16,
787,
1769,
565,
1056,
1011,
3622,
31,
565,
327,
333,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
6674,
1453,
12,
474,
787,
16,
509,
679,
16,
514,
609,
13,
225,
288,
565,
309,
261,
1937,
411,
374,
747,
787,
405,
1056,
747,
787,
405,
679,
13,
1377,
604,
394,
514,
30548,
12,
1937,
1769,
565,
509,
562,
273,
609,
18,
1883,
31,
565,
368,
9029,
326,
7114,
316,
296,
1883,
11,
1839,
326,
1453,
18,
565,
509,
3622,
273,
562,
300,
261,
409,
405,
1056,
692,
1056,
294,
679,
13,
397,
787,
31,
565,
3387,
7437,
67,
318,
22043,
12,
1883,
397,
3622,
1769,
565,
309,
261,
9878,
480,
374,
597,
679,
411,
1056,
13,
1377,
8251,
3163,
18,
1126,
3530,
12,
1132,
16,
679,
16,
460,
16,
679,
397,
3622,
16,
1056,
2
] |
private int addString(String str, int iCodeTop) {
|
private int addString(String str, int iCodeTop) {
|
private int addString(String str, int iCodeTop) { int index = itsData.itsStringTableIndex; if (itsData.itsStringTable.length == index) { String[] sa = new String[index * 2]; System.arraycopy(itsData.itsStringTable, 0, sa, 0, index); itsData.itsStringTable = sa; } itsData.itsStringTable[index] = str; itsData.itsStringTableIndex = index + 1; iCodeTop = addShort(index, iCodeTop); return iCodeTop; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/268178fe5215d06305864ffac117ddbe7ccd76a3/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
780,
12,
780,
609,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
770,
273,
2097,
751,
18,
1282,
780,
1388,
1016,
31,
3639,
309,
261,
1282,
751,
18,
1282,
780,
1388,
18,
2469,
422,
770,
13,
288,
5411,
514,
8526,
7864,
273,
394,
514,
63,
1615,
380,
576,
15533,
5411,
2332,
18,
1126,
3530,
12,
1282,
751,
18,
1282,
780,
1388,
16,
374,
16,
7864,
16,
374,
16,
770,
1769,
5411,
2097,
751,
18,
1282,
780,
1388,
273,
7864,
31,
3639,
289,
3639,
2097,
751,
18,
1282,
780,
1388,
63,
1615,
65,
273,
609,
31,
3639,
2097,
751,
18,
1282,
780,
1388,
1016,
273,
770,
397,
404,
31,
3639,
277,
1085,
3401,
273,
527,
4897,
12,
1615,
16,
277,
1085,
3401,
1769,
3639,
327,
277,
1085,
3401,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
780,
12,
780,
609,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
770,
273,
2097,
751,
18,
1282,
780,
1388,
1016,
31,
3639,
309,
261,
1282,
751,
18,
1282,
780,
1388,
18,
2469,
422,
770,
13,
288,
5411,
514,
8526,
7864,
273,
394,
514,
63,
1615,
380,
576,
15533,
5411,
2332,
18,
1126,
3530,
12,
1282,
751,
18,
1282,
780,
1388,
16,
374,
16,
7864,
16,
374,
16,
770,
1769,
5411,
2097,
751,
18,
1282,
780,
1388,
273,
7864,
31,
3639,
289,
3639,
2097,
751,
18,
1282,
780,
1388,
63,
1615,
65,
273,
609,
31,
3639,
2097,
751,
18,
1282,
780,
1388,
1016,
273,
770,
397,
404,
31,
3639,
277,
1085,
3401,
273,
2
] |
if ( inputState.guessing==0 ) { expression_AST = (AST)currentAST.root; }
|
expression_AST = (AST)currentAST.root;
|
public final void expression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST expression_AST = null; assignmentExpression(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } if ( inputState.guessing==0 ) { expression_AST = (AST)currentAST.root; expression_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(EXPR,"EXPR")).add(expression_AST)); currentAST.root = expression_AST; currentAST.child = expression_AST!=null &&expression_AST.getFirstChild()!=null ? expression_AST.getFirstChild() : expression_AST; currentAST.advanceChildToEnd(); } if ( inputState.guessing==0 ) { expression_AST = (AST)currentAST.root; } returnAST = expression_AST; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2652,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
2652,
67,
9053,
273,
446,
31,
9506,
202,
12960,
2300,
5621,
202,
202,
430,
261,
2630,
1119,
18,
20885,
310,
631,
20,
13,
288,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
8692,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
18,
3085,
31,
1082,
202,
8692,
67,
9053,
273,
261,
9053,
13,
689,
1733,
18,
6540,
12,
261,
2704,
9183,
1076,
12,
22,
13,
2934,
1289,
12,
689,
1733,
18,
2640,
12,
2294,
8025,
10837,
2294,
8025,
7923,
2934,
1289,
12,
8692,
67,
9053,
10019,
1082,
202,
2972,
9053,
18,
3085,
273,
2652,
67,
9053,
31,
1082,
202,
2972,
9053,
18,
3624,
273,
2652,
67,
9053,
5,
33,
2011,
597,
8692,
67,
9053,
18,
588,
3759,
1763,
1435,
5,
33,
2011,
692,
9506,
202,
8692,
67,
9053,
18,
588,
3759,
1763,
1435,
294,
2652,
67,
9053,
31,
1082,
202,
2972,
9053,
18,
361,
5882,
1763,
774,
1638,
5621,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
8692,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
18,
3085,
31,
202,
202,
97,
202,
202,
2463,
9053,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2652,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
2652,
67,
9053,
273,
446,
31,
9506,
202,
12960,
2300,
5621,
202,
202,
430,
261,
2630,
1119,
18,
20885,
310,
631,
20,
13,
288,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
8692,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
18,
3085,
31,
1082,
202,
8692,
67,
9053,
273,
261,
9053,
13,
689,
1733,
18,
6540,
12,
261,
2
] |
AST __t392 = _t;
|
AST __t396 = _t;
|
public final void analyzestate(AST _t) throws RecognitionException { AST analyzestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t392 = _t; AST tmp258_AST_in = (AST)_t; match(_t,ANALYZE); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OUTPUT: { AST __t394 = _t; AST tmp259_AST_in = (AST)_t; match(_t,OUTPUT); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t394; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case ALL: case APPEND: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } { _loop396: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp260_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case ALL: { AST tmp261_AST_in = (AST)_t; match(_t,ALL); _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp262_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } default: { break _loop396; } } } while (true); } state_end(_t); _t = _retTree; _t = __t392; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
392,
4647,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
392,
4647,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
5520,
22,
273,
389,
88,
31,
202,
202,
9053,
1853,
2947,
28,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1258,
19448,
3794,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
3459,
280,
1132,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
3459,
280,
1132,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
11550,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
5520,
24,
273,
389,
88,
31,
1082,
202,
9053,
1853,
2947,
29,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
15527,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
3459,
280,
1132,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
5520,
24,
31,
1082,
202,
67,
88,
273,
389,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
392,
4647,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
392,
4647,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
5520,
22,
273,
389,
88,
31,
202,
202,
9053,
1853,
2947,
28,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1258,
19448,
3794,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
3459,
280,
1132,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
3459,
280,
1132,
24899,
88,
2
] |
public org.quickfix.field.QuantityType getQuantityType() throws FieldNotFound { org.quickfix.field.QuantityType value = new org.quickfix.field.QuantityType();
|
public quickfix.field.QuantityType getQuantityType() throws FieldNotFound { quickfix.field.QuantityType value = new quickfix.field.QuantityType();
|
public org.quickfix.field.QuantityType getQuantityType() throws FieldNotFound { org.quickfix.field.QuantityType value = new org.quickfix.field.QuantityType(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/IndicationOfInterest.java/clean/src/java/src/quickfix/fix43/IndicationOfInterest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
336,
12035,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
336,
12035,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (jj_scan_token(THROWS)) return true; if (jj_3R_308()) return true; return false; }
|
if (jj_scan_token(COMMA)) return true; if (jj_3R_285()) return true; return false; }
|
final private boolean jj_3R_286() { if (jj_scan_token(THROWS)) return true; if (jj_3R_308()) return true; return false; }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
5292,
1435,
288,
3639,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
2455,
28402,
3719,
327,
638,
31,
3639,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
28,
10756,
327,
638,
31,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
5292,
1435,
288,
3639,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
2455,
28402,
3719,
327,
638,
31,
3639,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
28,
10756,
327,
638,
31,
3639,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public File getWorkingDirectory() {
|
public Path getWorkingDirectory() {
|
public File getWorkingDirectory() { return workingDir; }
|
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/ee01fef4b4fb82c7492a4a747793839a4d14cd39/DistributedFileSystem.java/buggy/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
336,
14836,
2853,
1435,
288,
1377,
327,
5960,
1621,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
336,
14836,
2853,
1435,
288,
1377,
327,
5960,
1621,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (metaData == null) throw new IllegalArgumentException("the classname:methodMetaData tuple can not be null");
|
if (metaData == null) throw new IllegalArgumentException("classname:methodMetaData tuple can not be null");
|
public void enteringControlFlow(final ClassNameMethodMetaDataTuple metaData) { if (metaData == null) throw new IllegalArgumentException("the classname:methodMetaData tuple can not be null"); Set cflowSet = (Set)m_controlFlowLog.get(); if (cflowSet == null) { cflowSet = new HashSet(); } cflowSet.add(metaData); m_controlFlowLog.set(cflowSet); }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/b147fecbdfbb03a8c3a5bfed9c349908e93b15cb/AspectWerkz.java/buggy/aspectwerkz/src/main/org/codehaus/aspectwerkz/xmldef/AspectWerkz.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19014,
24762,
12,
6385,
19811,
1305,
6998,
9038,
11651,
13,
288,
3639,
309,
261,
3901,
751,
422,
446,
13,
604,
394,
2754,
2932,
18340,
30,
2039,
6998,
3193,
848,
486,
506,
446,
8863,
3639,
1000,
276,
2426,
694,
273,
261,
694,
13,
81,
67,
7098,
5249,
1343,
18,
588,
5621,
3639,
309,
261,
71,
2426,
694,
422,
446,
13,
288,
5411,
276,
2426,
694,
273,
394,
6847,
5621,
3639,
289,
3639,
276,
2426,
694,
18,
1289,
12,
3901,
751,
1769,
3639,
312,
67,
7098,
5249,
1343,
18,
542,
12,
71,
2426,
694,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19014,
24762,
12,
6385,
19811,
1305,
6998,
9038,
11651,
13,
288,
3639,
309,
261,
3901,
751,
422,
446,
13,
604,
394,
2754,
2932,
18340,
30,
2039,
6998,
3193,
848,
486,
506,
446,
8863,
3639,
1000,
276,
2426,
694,
273,
261,
694,
13,
81,
67,
7098,
5249,
1343,
18,
588,
5621,
3639,
309,
261,
71,
2426,
694,
422,
446,
13,
288,
5411,
276,
2426,
694,
273,
394,
6847,
5621,
3639,
289,
3639,
276,
2426,
694,
18,
1289,
12,
3901,
751,
1769,
3639,
312,
67,
7098,
5249,
1343,
18,
542,
12,
71,
2426,
694,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
options.addOption("l", "looping", false, "Loop through bitstreams");
|
options.addOption("l", "looping", false, "Loop once through bitstreams");
|
public static void main(String[] args) { // set up command line parser CommandLineParser parser = new PosixParser(); CommandLine line = null; // create an options object and populate it Options options = new Options(); options.addOption("l", "looping", false, "Loop through bitstreams"); options.addOption("L", "continuous", false, "Continuously loop through bitstreams"); options.addOption("h", "help", false, "Help"); options.addOption("d", "duration", true, "Checking duration"); options.addOption("c", "count", true, "Check count"); options.addOption("a", "handle", true, "Specify a handle to check"); options.addOption("e", "errors", false, "Report Errors Only"); OptionBuilder.withArgName("bitstream-ids").hasArgs().withDescription( "Space separated list of bitstream ids"); Option useBitstreamIds = OptionBuilder.create('b'); options.addOption(useBitstreamIds); options.addOption("p", "prune", false, "Prune configuration file"); options .addOption(OptionBuilder .withArgName("prune") .hasOptionalArgs(1) .withDescription( "Prune old results (optionally using specified properties file for configuration)") .create('p')); try { line = parser.parse(options, args); } catch (ParseException e) { LOG.fatal(e); System.exit(1); } // user asks for help if (line.hasOption('h')) { printHelp(options); } // Prune stage if (line.hasOption('p')) { ResultsPruner rp = null; try { rp = (line.getOptionValue('p') != null) ? ResultsPruner .getPruner(line.getOptionValue('p')) : ResultsPruner .getDefaultPruner(); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(1); } int count = rp.prune(); System.out.println("Pruned " + count + " old results from the database."); } Date processStart = Calendar.getInstance().getTime(); BitstreamDispatcher dispatcher = null; if (line.getOptions().length == 0) { dispatcher = new LimitedCountDispatcher(new SimpleDispatcher( processStart, false), 1); } else { // process should loop infinitely through // most_recent_checksum table if (line.hasOption('l')) { dispatcher = new SimpleDispatcher(processStart, false); } else if (line.hasOption('L')) { dispatcher = new SimpleDispatcher(processStart, true); } else if (line.hasOption('b')) { // check only specified bitstream(s) String[] ids = line.getOptionValues('b'); List idList = new ArrayList(ids.length); for (int i = 0; i < ids.length; i++) { try { idList.add(new Integer(ids[i])); } catch (NumberFormatException nfe) { System.err.println("The following argument: " + ids[i] + " is not an integer"); System.exit(0); } } dispatcher = new ListDispatcher(idList); } else if (line.hasOption('a')) { dispatcher = new HandleDispatcher(line.getOptionValue('a')); } else if (line.hasOption('d')) { // run checker process for specified duration try { dispatcher = new LimitedDurationDispatcher( new SimpleDispatcher(processStart, true), new Date( System.currentTimeMillis() + Utils.parseDuration(line .getOptionValue('d')))); } catch (Exception e) { LOG.fatal("Couldn't parse " + line.getOptionValue('d') + " as a duration: ", e); System.exit(0); } } else if (line.hasOption('c')) { // run checker process for specified number of bitstreams dispatcher = new LimitedCountDispatcher(new SimpleDispatcher( processStart, false)); } } if (dispatcher == null) { System.out .println("Error: insufficient option commands to run checker."); printHelp(options); } ResultsLogger logger = new ResultsLogger(processStart); CheckerCommand checker = new CheckerCommand(); // report errors only if (line.hasOption('e')) { checker.setReportErrorsOnly(true); } checker.configureLog(); checker.setProcessStartDate(processStart); checker.setDispatcher(dispatcher); checker.setCollector(logger); checker.process(); }
|
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/6c35684c85aea40f564514743cf353881f53e165/ChecksumChecker.java/clean/dspace/src/org/dspace/app/checker/ChecksumChecker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
368,
444,
731,
1296,
980,
2082,
3639,
15893,
2678,
2082,
273,
394,
6818,
697,
2678,
5621,
3639,
15893,
980,
273,
446,
31,
3639,
368,
752,
392,
702,
733,
471,
6490,
518,
3639,
5087,
702,
273,
394,
5087,
5621,
3639,
702,
18,
1289,
1895,
2932,
80,
3113,
315,
6498,
310,
3113,
629,
16,
315,
6452,
3647,
3059,
2831,
16320,
8863,
3639,
702,
18,
1289,
1895,
2932,
48,
3113,
315,
31056,
3113,
629,
16,
7734,
315,
26509,
715,
2798,
3059,
2831,
16320,
8863,
3639,
702,
18,
1289,
1895,
2932,
76,
3113,
315,
5201,
3113,
629,
16,
315,
6696,
8863,
3639,
702,
18,
1289,
1895,
2932,
72,
3113,
315,
8760,
3113,
638,
16,
315,
14294,
3734,
8863,
3639,
702,
18,
1289,
1895,
2932,
71,
3113,
315,
1883,
3113,
638,
16,
315,
1564,
1056,
8863,
3639,
702,
18,
1289,
1895,
2932,
69,
3113,
315,
4110,
3113,
638,
16,
315,
19302,
279,
1640,
358,
866,
8863,
3639,
702,
18,
1289,
1895,
2932,
73,
3113,
315,
4324,
3113,
629,
16,
315,
4820,
9372,
5098,
8863,
3639,
2698,
1263,
18,
1918,
4117,
461,
2932,
3682,
3256,
17,
2232,
20387,
5332,
2615,
7675,
1918,
3291,
12,
7734,
315,
3819,
8936,
666,
434,
28640,
3258,
8863,
3639,
2698,
999,
5775,
3256,
2673,
273,
2698,
1263,
18,
2640,
2668,
70,
8284,
3639,
702,
18,
1289,
1895,
12,
1202,
5775,
3256,
2673,
1769,
3639,
702,
18,
1289,
1895,
2932,
84,
3113,
315,
28545,
3113,
629,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
368,
444,
731,
1296,
980,
2082,
3639,
15893,
2678,
2082,
273,
394,
6818,
697,
2678,
5621,
3639,
15893,
980,
273,
446,
31,
3639,
368,
752,
392,
702,
733,
471,
6490,
518,
3639,
5087,
702,
273,
394,
5087,
5621,
3639,
702,
18,
1289,
1895,
2932,
80,
3113,
315,
6498,
310,
3113,
629,
16,
315,
6452,
3647,
3059,
2831,
16320,
8863,
3639,
702,
18,
1289,
1895,
2932,
48,
3113,
315,
31056,
3113,
629,
16,
7734,
315,
26509,
715,
2798,
3059,
2831,
16320,
8863,
3639,
702,
18,
1289,
1895,
2932,
76,
3113,
315,
5201,
3113,
629,
16,
315,
6696,
8863,
3639,
702,
18,
1289,
1895,
2932,
72,
3113,
315,
2
] |
x = x << 8 + (digest[i*4+1] & 0xff); x = x << 8 + (digest[i*4+2] & 0xff); x = x << 8 + (digest[i*4+3] & 0xff);
|
x = (x << 8) + (digest[i*4+1] & 0xff); x = (x << 8) + (digest[i*4+2] & 0xff); x = (x << 8) + (digest[i*4+3] & 0xff);
|
static public ClientCHKBlock encode(byte[] sourceData) throws CHKEncodeException { byte[] data; byte[] header; ClientCHK key; // Try to compress it - even if it fits into the block, // because compressing it improves its entropy. boolean compressed = false; if(sourceData.length > MAX_LENGTH_BEFORE_COMPRESSION) throw new CHKEncodeException("Too big"); if(sourceData.length > 0) { int sourceLength = sourceData.length; byte[] cbuf = new byte[32768+1024]; Deflater compressor = new Deflater(); compressor.setInput(sourceData); compressor.finish(); int compressedLength = compressor.deflate(cbuf); if(compressedLength+2 < sourceData.length) { // Yay sourceData = new byte[compressedLength+3]; System.arraycopy(cbuf, 0, sourceData, 3, compressedLength); sourceData[0] = (byte) ((sourceLength >> 16) & 0xff); sourceData[1] = (byte) ((sourceLength >> 8) & 0xff); sourceData[2] = (byte) ((sourceLength) & 0xff); compressed = true; } } if(sourceData.length > 32768) { throw new CHKEncodeException("Too big"); } MessageDigest md160; try { md160 = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException e2) { // FIXME: log properly? Not much we can do... But we could log a // more user-friendly message... throw new Error(e2); } MessageDigest md256; try { md256 = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e1) { // FIXME: log this properly? throw new Error(e1); } // First pad it if(sourceData.length < 32768) { // Hash the data if(sourceData.length > 0) md256.update(sourceData); byte[] digest = md256.digest(); // Turn digest into a seed array for the MT int[] seed = new int[8]; // 32/4=8 for(int i=0;i<8;i++) { int x = digest[i*4] & 0xff; x = x << 8 + (digest[i*4+1] & 0xff); x = x << 8 + (digest[i*4+2] & 0xff); x = x << 8 + (digest[i*4+3] & 0xff); seed[i] = x; } MersenneTwister mt = new MersenneTwister(seed); data = new byte[32768]; System.arraycopy(sourceData, 0, data, 0, sourceData.length); byte[] randomBytes = new byte[32768-sourceData.length]; mt.nextBytes(randomBytes); System.arraycopy(randomBytes, 0, data, sourceData.length, 32768-sourceData.length); } else { data = sourceData; } // Now make the header byte[] encKey = md256.digest(data); md256.reset(); // IV = E(H(crypto key)) byte[] plainIV = md256.digest(encKey); header = new byte[plainIV.length+2+2]; header[0] = (byte)(CHKBlock.HASH_SHA1 >> 8); header[1] = (byte)(CHKBlock.HASH_SHA1 & 0xff); System.arraycopy(plainIV, 0, header, 2, plainIV.length); header[plainIV.length+2] = (byte)(sourceData.length >> 8); header[plainIV.length+3] = (byte)(sourceData.length & 0xff); // GRRR, java 1.4 does not have any symmetric crypto // despite exposing asymmetric and hashes! // Now encrypt the header, then the data, using the same PCFB instance BlockCipher cipher; try { cipher = new Rijndael(256, 256); } catch (UnsupportedCipherException e) { // FIXME - log this properly throw new Error(e); } cipher.initialize(encKey); PCFBMode pcfb = new PCFBMode(cipher); pcfb.blockEncipher(header, 2, header.length-2); pcfb.blockEncipher(data, 0, data.length); // Now calculate the final hash md160.update(header); byte[] finalHash = md160.digest(data); // Now convert it into a ClientCHK key = new ClientCHK(finalHash, encKey, compressed, false, ClientCHK.ALGO_AES_PCFB_256); try { return new ClientCHKBlock(data, header, key, false); } catch (CHKVerifyException e3) { //WTF? throw new Error(e3); } }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/0400e73e7503ab43211657c44d8448afd6346cce/ClientCHKBlock.java/buggy/src/freenet/keys/ClientCHKBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
2445,
1792,
47,
1768,
2017,
12,
7229,
8526,
1084,
751,
13,
1216,
6469,
47,
5509,
503,
288,
3639,
1160,
8526,
501,
31,
3639,
1160,
8526,
1446,
31,
3639,
2445,
1792,
47,
498,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
1250,
8968,
273,
629,
31,
3639,
309,
12,
3168,
751,
18,
2469,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
6469,
47,
5509,
503,
2932,
10703,
5446,
8863,
3639,
309,
12,
3168,
751,
18,
2469,
405,
374,
13,
288,
5411,
509,
27406,
273,
1084,
751,
18,
2469,
31,
5411,
1160,
8526,
2875,
696,
273,
394,
1160,
63,
1578,
6669,
28,
15,
2163,
3247,
15533,
5411,
1505,
2242,
2045,
24892,
273,
394,
1505,
2242,
2045,
5621,
5411,
24892,
18,
542,
1210,
12,
3168,
751,
1769,
5411,
24892,
18,
13749,
5621,
5411,
509,
8968,
1782,
273,
24892,
18,
536,
20293,
12,
71,
4385,
1769,
5411,
309,
12,
15385,
1782,
15,
22,
411,
1084,
751,
18,
2469,
13,
288,
7734,
368,
1624,
528,
7734,
1084,
751,
273,
394,
1160,
63,
15385,
1782,
15,
23,
15533,
7734,
2332,
18,
1126,
3530,
12,
71,
4385,
16,
374,
16,
1084,
751,
16,
890,
16,
8968,
1782,
1769,
7734,
1084,
751,
63,
20,
65,
273,
261,
7229,
13,
14015,
3168,
1782,
1671,
2872,
13,
473,
374,
5297,
1769,
7734,
1084,
751,
63,
21,
65,
273,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
2445,
1792,
47,
1768,
2017,
12,
7229,
8526,
1084,
751,
13,
1216,
6469,
47,
5509,
503,
288,
3639,
1160,
8526,
501,
31,
3639,
1160,
8526,
1446,
31,
3639,
2445,
1792,
47,
498,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
1250,
8968,
273,
629,
31,
3639,
309,
12,
3168,
751,
18,
2469,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
6469,
47,
5509,
503,
2932,
10703,
5446,
8863,
3639,
309,
12,
3168,
751,
18,
2469,
405,
374,
13,
288,
5411,
509,
27406,
273,
1084,
751,
18,
2469,
31,
5411,
1160,
8526,
2
] |
if (owners[i] != sym.moduleClass()) {
|
if (owners[i] != (sym.isModule() ? sym.moduleClass() : sym)) {
|
protected void addInheritedMembers(Symbol sym, String inheritedMembers) { Symbol[] syms = ScalaSearch.collectMembers(sym); Pair grouped = ScalaSearch.groupSymbols(syms); Symbol[] owners = (Symbol[]) grouped.fst; Map/*<Symbol, Symbol[]>*/ group = (Map) grouped.snd; for (int i = 0; i < owners.length; i++) { if (owners[i] != sym.moduleClass()) { page.printlnOTag("table", ATTRS_MEMBER).indent(); // owner page.printlnOTag("tr").indent(); page.printlnOTag("td", new XMLAttribute[]{ new XMLAttribute("class", "inherited-owner")}).indent(); page.print(inheritedMembers + " inherited from "); printPath(owners[i], SELF_FRAME); page.undent(); page.printlnCTag("td").undent(); page.printlnCTag("tr"); // members page.printlnOTag("tr").indent(); page.printlnOTag("td", new XMLAttribute[]{ new XMLAttribute("class", "inherited-members")}).indent(); Symbol[] members = (Symbol[]) group.get(owners[i]); for (int j = 0; j < members.length; j++) { if (j > 0) page.print(", "); symtab.printSymbol(members[j], true); } page.undent(); page.printlnCTag("td").undent(); page.printlnCTag("tr").undent(); page.printlnCTag("table"); page.printlnSTag("br"); } } }
|
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/8848757a0d9ca8537e72eb29178cb4dbd7142626/HTMLGenerator.java/buggy/sources/scala/tools/scaladoc/HTMLGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
29078,
6918,
12,
5335,
5382,
16,
514,
12078,
6918,
13,
288,
3639,
8565,
8526,
24367,
273,
348,
771,
69,
2979,
18,
14676,
6918,
12,
8117,
1769,
202,
4154,
10303,
273,
348,
771,
69,
2979,
18,
1655,
14821,
12,
9009,
959,
1769,
202,
5335,
8526,
25937,
273,
261,
5335,
63,
5717,
10303,
18,
74,
334,
31,
202,
863,
20308,
32,
5335,
16,
8565,
8526,
34,
5549,
1041,
273,
261,
863,
13,
10303,
18,
87,
4880,
31,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
25937,
18,
2469,
31,
277,
27245,
288,
202,
565,
309,
261,
995,
414,
63,
77,
65,
480,
261,
8117,
18,
291,
3120,
1435,
692,
5382,
18,
2978,
797,
1435,
294,
5382,
3719,
288,
7734,
1363,
18,
8222,
51,
1805,
2932,
2121,
3113,
12759,
55,
67,
19630,
2934,
9355,
5621,
9506,
202,
759,
3410,
7734,
1363,
18,
8222,
51,
1805,
2932,
313,
20387,
9355,
5621,
7734,
1363,
18,
8222,
51,
1805,
2932,
4465,
3113,
394,
3167,
1499,
63,
7073,
1082,
565,
394,
3167,
1499,
2932,
1106,
3113,
315,
6018,
329,
17,
8443,
7923,
97,
2934,
9355,
5621,
7734,
1363,
18,
1188,
12,
6018,
329,
6918,
397,
315,
12078,
628,
315,
1769,
202,
202,
1188,
743,
12,
995,
414,
63,
77,
6487,
29918,
67,
15072,
1769,
7734,
1363,
18,
1074,
319,
5621,
7734,
1363,
18,
8222,
1268,
346,
2932,
4465,
20387,
1074,
319,
5621,
7734,
1363,
18,
8222,
1268,
346,
2932,
313,
8863,
202,
202,
759,
4833,
7734,
1363,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
29078,
6918,
12,
5335,
5382,
16,
514,
12078,
6918,
13,
288,
3639,
8565,
8526,
24367,
273,
348,
771,
69,
2979,
18,
14676,
6918,
12,
8117,
1769,
202,
4154,
10303,
273,
348,
771,
69,
2979,
18,
1655,
14821,
12,
9009,
959,
1769,
202,
5335,
8526,
25937,
273,
261,
5335,
63,
5717,
10303,
18,
74,
334,
31,
202,
863,
20308,
32,
5335,
16,
8565,
8526,
34,
5549,
1041,
273,
261,
863,
13,
10303,
18,
87,
4880,
31,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
25937,
18,
2469,
31,
277,
27245,
288,
202,
565,
309,
261,
995,
414,
63,
77,
65,
480,
261,
8117,
18,
291,
3120,
1435,
692,
5382,
18,
2978,
797,
1435,
294,
2
] |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 99: MethodDeclaration ::= MethodHeader MethodBody // case 99: { //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodHeader = (MethodDecl) getRhsSym(1); //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block MethodBody = (Block) getRhsSym(2); //#line 669 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" JPGPosition old_pos = (JPGPosition) MethodHeader.position(); setResult(MethodHeader.body(MethodBody) .position(pos(old_pos.getLeftIToken().getTokenIndex(), getRightSpan()))); break; } // // Rule 101: ResultType ::= void // case 101: { //#line 680 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 102: FormalParameterList ::= LastFormalParameter // case 102: { //#line 700 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 702 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 103: FormalParameterList ::= FormalParameters , LastFormalParameter // case 103: { //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 709 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 104: FormalParameters ::= FormalParameter // case 104: { //#line 714 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 716 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 105: FormalParameters ::= FormalParameters , FormalParameter // case 105: { //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 723 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 106: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 106: { //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 108: VariableModifiers ::= VariableModifiers VariableModifier // case 108: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 109: VariableModifier ::= final // case 109: { //#line 746 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 110: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 110: { //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 754 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 112: MethodModifiers ::= MethodModifiers MethodModifier // case 112: { //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 113: MethodModifier ::= public // case 113: { //#line 776 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 114: MethodModifier ::= protected // case 114: { //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 115: MethodModifier ::= private // case 115: { //#line 786 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 116: MethodModifier ::= abstract // case 116: { //#line 791 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 117: MethodModifier ::= static // case 117: { //#line 796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 118: MethodModifier ::= final // case 118: { //#line 801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 119: MethodModifier ::= native // case 119: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 120: MethodModifier ::= strictfp // case 120: { //#line 816 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 121: Throws ::= throws ExceptionTypeList // case 121: { //#line 820 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 822 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 122: ExceptionTypeList ::= ExceptionType // case 122: { //#line 826 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 828 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 123: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 123: { //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 126: MethodBody ::= ; // case 126: setResult(null); break; // // Rule 128: StaticInitializer ::= static Block // case 128: { //#line 855 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 857 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 129: SimpleTypeName ::= identifier // case 129: { //#line 872 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 131: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 131: { //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 881 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 132: ConstructorModifier ::= public // case 132: { //#line 889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 133: ConstructorModifier ::= protected // case 133: { //#line 894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 134: ConstructorModifier ::= private // case 134: { //#line 899 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 135: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 135: { //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; if (ExplicitConstructorInvocationopt == null) l = BlockStatementsopt; else { l = new TypedList(new LinkedList(), Stmt.class, false); l.add(ExplicitConstructorInvocationopt); l.addAll(BlockStatementsopt); } setResult(nf.Block(pos(), l)); break; } // // Rule 136: Arguments ::= ( ArgumentListopt ) // case 136: { //#line 936 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 938 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 139: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 139: { //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 140: InterfaceModifier ::= public // case 140: { //#line 964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 141: InterfaceModifier ::= protected // case 141: { //#line 969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 142: InterfaceModifier ::= private // case 142: { //#line 974 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 143: InterfaceModifier ::= abstract // case 143: { //#line 979 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 144: InterfaceModifier ::= static // case 144: { //#line 984 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 145: InterfaceModifier ::= strictfp // case 145: { //#line 989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 146: ExtendsInterfaces ::= extends InterfaceType // case 146: { //#line 993 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 995 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 147: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 147: { //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 148: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 148: { //#line 1012 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1014 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 150: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 150: { //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 152: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= ClassDeclaration // case 153: { //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1036 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 154: { //#line 1041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 155: InterfaceMemberDeclaration ::= ; // case 155: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 156: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 156: { //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1056 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 158: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 158: { //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1076 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 159: ConstantModifier ::= public // case 159: { //#line 1084 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 160: ConstantModifier ::= static // case 160: { //#line 1089 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 161: ConstantModifier ::= final // case 161: { //#line 1094 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 163: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 163: { //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1103 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 164: AbstractMethodModifier ::= public // case 164: { //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 165: AbstractMethodModifier ::= abstract // case 165: { //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 166: SimpleName ::= identifier // case 166: { //#line 1172 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 167: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 167: { //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1203 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 168: VariableInitializers ::= VariableInitializer // case 168: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 169: VariableInitializers ::= VariableInitializers , VariableInitializer // case 169: { //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 170: Block ::= { BlockStatementsopt } // case 170: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 171: BlockStatements ::= BlockStatement // case 171: { //#line 1243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1245 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 172: BlockStatements ::= BlockStatements BlockStatement // case 172: { //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1252 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 174: BlockStatement ::= ClassDeclaration // case 174: { //#line 1258 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 175: BlockStatement ::= Statement // case 175: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 177: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 177: { //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 201: IfThenStatement ::= if ( Expression ) Statement // case 201: { //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 202: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 202: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1346 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 203: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 203: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 204: EmptyStatement ::= ; // case 204: { //#line 1358 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 205: LabeledStatement ::= identifier : Statement // case 205: { //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1364 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 206: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 206: { //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 207: ExpressionStatement ::= StatementExpression ; // case 207: { //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1375 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 215: AssertStatement ::= assert Expression ; // case 215: { //#line 1396 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1398 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 216: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 216: { //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 217: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 217: { //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1409 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 218: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 218: { //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 220: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 220: { //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 221: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 221: { //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1430 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabel // case 222: { //#line 1437 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 223: SwitchLabels ::= SwitchLabels SwitchLabel // case 223: { //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1446 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 224: SwitchLabel ::= case ConstantExpression : // case 224: { //#line 1451 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1453 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 225: SwitchLabel ::= default : // case 225: { //#line 1460 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 226: WhileStatement ::= while ( Expression ) Statement // case 226: { //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1469 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 227: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 227: { //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1475 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 228: DoStatement ::= do Statement while ( Expression ) ; // case 228: { //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1481 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 231: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 231: { //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 232: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 232: { //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1496 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 234: ForInit ::= LocalVariableDeclaration // case 234: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1503 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpression // case 236: { //#line 1511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 237: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 237: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 238: BreakStatement ::= break identifieropt ; // case 238: { //#line 1528 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1530 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 239: ContinueStatement ::= continue identifieropt ; // case 239: { //#line 1536 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1538 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 240: ReturnStatement ::= return Expressionopt ; // case 240: { //#line 1544 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1546 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 241: ThrowStatement ::= throw Expression ; // case 241: { //#line 1550 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1552 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 242: TryStatement ::= try Block Catches // case 242: { //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1564 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 243: TryStatement ::= try Block Catchesopt Finally // case 243: { //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1569 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 244: Catches ::= CatchClause // case 244: { //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1575 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 245: Catches ::= Catches CatchClause // case 245: { //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1582 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 246: CatchClause ::= catch ( FormalParameter ) Block // case 246: { //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1589 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 247: Finally ::= finally Block // case 247: { //#line 1593 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 251: PrimaryNoNewArray ::= Type . class // case 251: { //#line 1613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 252: PrimaryNoNewArray ::= void . class // case 252: { //#line 1634 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 253: PrimaryNoNewArray ::= this // case 253: { //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 254: PrimaryNoNewArray ::= ClassName . this // case 254: { //#line 1643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1645 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 255: PrimaryNoNewArray ::= ( Expression ) // case 255: { //#line 1648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1650 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 260: Literal ::= IntegerLiteral$IntegerLiteral // case 260: { //#line 1658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1660 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 261: Literal ::= LongLiteral$LongLiteral // case 261: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 262: Literal ::= FloatingPointLiteral$FloatLiteral // case 262: { //#line 1670 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1672 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 263: Literal ::= DoubleLiteral$DoubleLiteral // case 263: { //#line 1676 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1678 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 264: Literal ::= BooleanLiteral // case 264: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 265: Literal ::= CharacterLiteral$CharacterLiteral // case 265: { //#line 1687 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1689 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 266: Literal ::= StringLiteral$str // case 266: { //#line 1693 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1695 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 267: Literal ::= null // case 267: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 268: BooleanLiteral ::= true$trueLiteral // case 268: { //#line 1705 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: BooleanLiteral ::= false$falseLiteral // case 269: { //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1712 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 270: ArgumentList ::= Expression // case 270: { //#line 1725 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1727 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 271: ArgumentList ::= ArgumentList , Expression // case 271: { //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 272: DimExprs ::= DimExpr // case 272: { //#line 1768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1770 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 273: DimExprs ::= DimExprs DimExpr // case 273: { //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1777 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 274: DimExpr ::= [ Expression ] // case 274: { //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1784 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 275: Dims ::= [ ] // case 275: { //#line 1790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 276: Dims ::= Dims [ ] // case 276: { //#line 1793 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 277: FieldAccess ::= Primary . identifier // case 277: { //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= super . identifier // case 278: { //#line 1804 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1806 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 279: FieldAccess ::= ClassName . super$sup . identifier // case 279: { //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 280: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 280: { //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1817 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 282: PostfixExpression ::= ExpressionName // case 282: { //#line 1840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 285: PostIncrementExpression ::= PostfixExpression ++ // case 285: { //#line 1848 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 286: PostDecrementExpression ::= PostfixExpression -- // case 286: { //#line 1854 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 289: UnaryExpression ::= + UnaryExpression // case 289: { //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1864 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 290: UnaryExpression ::= - UnaryExpression // case 290: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 292: PreIncrementExpression ::= ++ UnaryExpression // case 292: { //#line 1874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1876 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 293: PreDecrementExpression ::= -- UnaryExpression // case 293: { //#line 1880 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 295: { //#line 1887 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 296: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 296: { //#line 1892 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 299: { //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1908 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 300: { //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 301: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 301: { //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1918 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 303: { //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1925 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 304: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 304: { //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1930 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 306: { //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1937 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 307: { //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1942 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 308: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 308: { //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1948 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression < ShiftExpression // case 310: { //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression > ShiftExpression // case 311: { //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1961 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 312: { //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1966 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 313: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 313: { //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1971 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression == RelationalExpression // case 315: { //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1987 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 316: EqualityExpression ::= EqualityExpression != RelationalExpression // case 316: { //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1992 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 318: AndExpression ::= AndExpression & EqualityExpression // case 318: { //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1999 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 320: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 320: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2006 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 322: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 322: { //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2013 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 324: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 324: { //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2020 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 326: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 326: { //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 328: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 328: { //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 331: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 331: { //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 332: LeftHandSide ::= ExpressionName // case 332: { //#line 2047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2049 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 335: AssignmentOperator ::= = // case 335: { //#line 2057 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 336: AssignmentOperator ::= *= // case 336: { //#line 2062 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= /= // case 337: { //#line 2067 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= %= // case 338: { //#line 2072 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= += // case 339: { //#line 2077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= -= // case 340: { //#line 2082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= <<= // case 341: { //#line 2087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > = // case 342: { //#line 2092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= > > > = // case 343: { //#line 2098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= &= // case 344: { //#line 2104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= ^= // case 345: { //#line 2109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 346: AssignmentOperator ::= |= // case 346: { //#line 2114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 349: Dimsopt ::= $Empty // case 349: { //#line 2127 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 351: Catchesopt ::= $Empty // case 351: { //#line 2134 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 353: identifieropt ::= $Empty // case 353: setResult(null); break; // // Rule 354: identifieropt ::= identifier // case 354: { //#line 2141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2143 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 355: ForUpdateopt ::= $Empty // case 355: { //#line 2149 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 357: Expressionopt ::= $Empty // case 357: setResult(null); break; // // Rule 359: ForInitopt ::= $Empty // case 359: { //#line 2160 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 361: SwitchLabelsopt ::= $Empty // case 361: { //#line 2167 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 363: SwitchBlockStatementGroupsopt ::= $Empty // case 363: { //#line 2174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 365: VariableModifiersopt ::= $Empty // case 365: { //#line 2181 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 367: VariableInitializersopt ::= $Empty // case 367: setResult(null); break; // // Rule 369: AbstractMethodModifiersopt ::= $Empty // case 369: { //#line 2211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 371: ConstantModifiersopt ::= $Empty // case 371: { //#line 2218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 373: InterfaceMemberDeclarationsopt ::= $Empty // case 373: { //#line 2225 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 375: ExtendsInterfacesopt ::= $Empty // case 375: { //#line 2232 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 377: InterfaceModifiersopt ::= $Empty // case 377: { //#line 2239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 379: ClassBodyopt ::= $Empty // case 379: setResult(null); break; // // Rule 381: Argumentsopt ::= $Empty // case 381: setResult(null); break; // // Rule 382: Argumentsopt ::= Arguments // case 382: throw new Error("No action specified for rule " + 382); // // Rule 383: ,opt ::= $Empty // case 383: setResult(null); break; // // Rule 385: ArgumentListopt ::= $Empty // case 385: { //#line 2269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 387: BlockStatementsopt ::= $Empty // case 387: { //#line 2276 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 389: ExplicitConstructorInvocationopt ::= $Empty // case 389: setResult(null); break; // // Rule 391: ConstructorModifiersopt ::= $Empty // case 391: { //#line 2287 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 393: ...opt ::= $Empty // case 393: setResult(null); break; // // Rule 395: FormalParameterListopt ::= $Empty // case 395: { //#line 2298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 397: Throwsopt ::= $Empty // case 397: { //#line 2305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 399: MethodModifiersopt ::= $Empty // case 399: { //#line 2312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 401: FieldModifiersopt ::= $Empty // case 401: { //#line 2319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 403: ClassBodyDeclarationsopt ::= $Empty // case 403: { //#line 2326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 405: Interfacesopt ::= $Empty // case 405: { //#line 2333 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 407: Superopt ::= $Empty // case 407: { //#line 2340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 409: ClassModifiersopt ::= $Empty // case 409: { //#line 2351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 411: TypeDeclarationsopt ::= $Empty // case 411: { //#line 2363 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 413: ImportDeclarationsopt ::= $Empty // case 413: { //#line 2370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 415: PackageDeclarationopt ::= $Empty // case 415: setResult(null); break; // // Rule 417: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 717 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 418: { //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 726 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 419: PackageDeclaration ::= package PackageName ; // case 419: { //#line 732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 420: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 420: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 422: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 422: { //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 423: X10ClassModifier ::= ClassModifier // case 423: { //#line 761 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 763 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 424: X10ClassModifier ::= safe // case 424: { //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 425: PropertyList ::= ( Properties WhereClauseopt ) // case 425: { //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 426: PropertyList ::= ( WhereClause ) // case 426: { //#line 779 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 427: Properties ::= Property // case 427: { //#line 788 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 428: Properties ::= Properties , Property // case 428: { //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 797 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 429: Property ::= Type identifier // case 429: { //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 805 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 430: MethodHeader ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 430: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 813 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, null)); break; } // // Rule 431: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 431: { //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 432: { //#line 840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 433: { //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 847 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 434: { //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 852 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 435: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 435: { //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 858 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 436: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 436: { //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 875 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 437: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 900 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 907 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 439: { //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 915 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 440: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 440: { //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 924 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 441: { //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 442: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 442: { //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 934 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 444: AssignPropertyCall ::= property ( ArgumentList ) // case 444: { //#line 939 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 941 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 445: Type ::= DataType // case 445: { //#line 950 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 952 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 446: Type ::= nullable < Type > DepParametersopt // case 446: { //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 957 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 447: Type ::= future < Type > // case 447: { //#line 963 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 965 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 451: PrimitiveType ::= NumericType DepParametersopt // case 451: { //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 982 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 452: PrimitiveType ::= boolean DepParametersopt // case 452: { //#line 988 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 457: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 457: { //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 458: DepParameters ::= ( DepParameterExpr ) // case 458: { //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1023 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 459: DepParameterExpr ::= ArgumentList WhereClauseopt // case 459: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 460: DepParameterExpr ::= WhereClause // case 460: { //#line 1032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 461: WhereClause ::= : ConstExpression // case 461: { //#line 1038 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1040 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 462: ConstPrimary ::= Literal // case 462: { //#line 1045 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 463: ConstPrimary ::= Type . class // case 463: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1052 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 464: ConstPrimary ::= void . class // case 464: { //#line 1071 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 465: ConstPrimary ::= this // case 465: { //#line 1077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 466: ConstPrimary ::= here // case 466: { //#line 1082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 467: ConstPrimary ::= ClassName . this // case 467: { //#line 1085 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 468: ConstPrimary ::= ( ConstExpression ) // case 468: { //#line 1090 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 470: ConstPrimary ::= self // case 470: { //#line 1098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 471: ConstPostfixExpression ::= ConstPrimary // case 471: { //#line 1104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 472: ConstPostfixExpression ::= ExpressionName // case 472: { //#line 1109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 473: ConstUnaryExpression ::= ConstPostfixExpression // case 473: { //#line 1114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 474: ConstUnaryExpression ::= + ConstUnaryExpression // case 474: { //#line 1119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= - ConstUnaryExpression // case 475: { //#line 1124 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 476: ConstUnaryExpression ::= ! ConstUnaryExpression // case 476: { //#line 1129 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 477: { //#line 1135 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1137 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 478: { //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1142 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 479: { //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 480: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 480: { //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 481: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 481: { //#line 1156 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1158 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 482: { //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1163 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 483: { //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1168 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 484: ConstRelationalExpression ::= ConstAdditiveExpression // case 484: { //#line 1173 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 485: { //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 486: { //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1185 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 487: { //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1190 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 488: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 488: { //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1195 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 489: ConstEqualityExpression ::= ConstRelationalExpression // case 489: { //#line 1199 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 490: { //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1206 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 491: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 491: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 492: ConstAndExpression ::= ConstEqualityExpression // case 492: { //#line 1215 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1217 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 493: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 493: { //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1222 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstAndExpression // case 494: { //#line 1226 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1228 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 495: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 495: { //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1233 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 496: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 497: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 497: { //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1244 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression // case 498: { //#line 1248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 499: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 499: { //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1255 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 500: ConstFieldAccess ::= ConstPrimary . identifier // case 500: { //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= super . identifier // case 501: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 502: ConstFieldAccess ::= ClassName . super$sup . identifier // case 502: { //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1272 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 504: X10ArrayType ::= Type [ . ] // case 504: { //#line 1288 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1290 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 505: X10ArrayType ::= Type value [ . ] // case 505: { //#line 1293 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1295 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 506: X10ArrayType ::= Type [ DepParameterExpr ] // case 506: { //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1300 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 507: X10ArrayType ::= Type value [ DepParameterExpr ] // case 507: { //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 508: ObjectKind ::= value // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: ObjectKind ::= reference // case 509: throw new Error("No action specified for rule " + 509); // // Rule 510: MethodModifier ::= atomic // case 510: { //#line 1319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 511: MethodModifier ::= extern // case 511: { //#line 1324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 512: MethodModifier ::= safe // case 512: { //#line 1329 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 513: MethodModifier ::= sequential // case 513: { //#line 1334 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 514: MethodModifier ::= local // case 514: { //#line 1339 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 515: MethodModifier ::= nonblocking // case 515: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 518: { //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 519: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 519: { //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 520: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 520: { //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1383 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 521: ThisClause ::= this DepParameters // case 521: { //#line 1391 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1393 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 522: Super ::= extends DataType // case 522: { //#line 1397 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1399 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 523: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 523: { //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1405 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 524: MethodDeclarator ::= MethodDeclarator [ ] // case 524: { //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1417 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 525: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 525: { //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1425 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 526: { //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1461 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 527: { //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 528: { //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 529: { //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1482 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 530: { //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1487 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 531: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 531: { //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 532: Valueopt ::= $Empty // case 532: setResult(null); break; // // Rule 533: Valueopt ::= value // case 533: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 536: ArrayBaseType ::= nullable < Type > // case 536: { //#line 1508 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1510 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= future < Type > // case 537: { //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1515 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 538: ArrayBaseType ::= ( Type ) // case 538: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 539: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 539: { //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 540: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 540: { //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 557: NowStatement ::= now ( Clock ) Statement // case 557: { //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1561 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 558: ClockedClause ::= clocked ( ClockList ) // case 558: { //#line 1565 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 559: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 559: { //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 560: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 560: { //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1583 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 561: WhenStatement ::= when ( Expression ) Statement // case 561: { //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1592 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 562: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 562: { //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1597 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 563: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1604 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 564: { //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1614 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 565: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 565: { //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1624 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 566: FinishStatement ::= finish Statement // case 566: { //#line 1631 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 567: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 567: { //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 568: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 568: { //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1646 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 569: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 569: { //#line 1653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1655 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 570: { //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1661 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 571: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 571: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 572: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1673 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 573: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 574: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 574: { //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1694 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 575: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 575: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1703 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 576: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 576: { //#line 1708 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 578: NextStatement ::= next ; // case 578: { //#line 1718 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 579: AwaitStatement ::= await Expression ; // case 579: { //#line 1722 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 580: ClockList ::= Clock // case 580: { //#line 1728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 581: ClockList ::= ClockList , Clock // case 581: { //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1737 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 582: Clock ::= Expression // case 582: { //#line 1743 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1745 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 583: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 583: { //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1757 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 584: { //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1762 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 585: RelationalExpression ::= RelationalExpression instanceof Type // case 585: { //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 586: IdentifierList ::= identifier // case 586: { //#line 1780 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 587: IdentifierList ::= IdentifierList , identifier // case 587: { //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1789 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 588: Primary ::= here // case 588: { //#line 1796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 591: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 591: { //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1814 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 592: RegionExpressionList ::= RegionExpression // case 592: { //#line 1830 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1832 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 593: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 593: { //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1839 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 594: Primary ::= [ RegionExpressionList ] // case 594: { //#line 1844 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1846 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 595: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 595: { //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 596: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 596: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 597: FieldModifier ::= mutable // case 597: { //#line 1877 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 598: FieldModifier ::= const // case 598: { //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 599: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 607: throw new Error("No action specified for rule " + 607); // // Rule 608: MethodModifier ::= synchronized // case 608: { //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"synchronized\" is an invalid X10 Method Modifier"); setResult(Flags.SYNCHRONIZED); break; } // // Rule 609: FieldModifier ::= volatile // case 609: { //#line 1922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"volatile\" is an invalid X10 Field Modifier"); setResult(Flags.VOLATILE); break; } // // Rule 610: SynchronizedStatement ::= synchronized ( Expression ) Block // case 610: { //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1931 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "Synchronized Statement is invalid in X10"); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 611: ThisClauseopt ::= $Empty // case 611: setResult(null); break; // // Rule 613: PlaceTypeSpecifieropt ::= $Empty // case 613: setResult(null); break; // // Rule 615: DepParametersopt ::= $Empty // case 615: setResult(null); break; // // Rule 617: PropertyListopt ::= $Empty // case 617: setResult(null); break; // // Rule 619: WhereClauseopt ::= $Empty // case 619: setResult(null); break; // // Rule 621: ObjectKindopt ::= $Empty // case 621: setResult(null); break; // // Rule 623: ArrayInitializeropt ::= $Empty // case 623: setResult(null); break; // // Rule 625: PlaceExpressionSingleListopt ::= $Empty // case 625: setResult(null); break; // // Rule 627: ArgumentListopt ::= $Empty // case 627: setResult(null); break; // // Rule 629: X10ClassModifiersopt ::= $Empty // case 629: { //#line 1977 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 631: DepParametersopt ::= $Empty // case 631: setResult(null); break; // // Rule 633: Unsafeopt ::= $Empty // case 633: setResult(null); break; // // Rule 634: Unsafeopt ::= unsafe // case 634: { //#line 1989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 635: ParamIdopt ::= $Empty // case 635: setResult(null); break; // // Rule 636: ParamIdopt ::= identifier // case 636: { //#line 1996 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1998 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 637: ClockedClauseopt ::= $Empty // case 637: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
|
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/56cdb14fdb9589988a93eb9a76aae3872ab98272/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
5411,
368,
5411,
648,
404,
30,
288,
7734,
368,
7,
1369,
1666,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
7734,
1770,
21036,
273,
261,
461,
13,
4170,
4487,
11901,
12,
21,
1769,
7734,
368,
7,
1369,
1725,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
10792,
21582,
12,
2704,
1770,
12,
82,
74,
16,
4766,
1377,
3742,
16,
4766,
1377,
949,
12,
588,
3910,
6952,
9334,
16609,
6952,
1435,
3631,
4766,
1377,
21036,
16,
4766,
1377,
10971,
10019,
10792,
898,
31,
5411,
289,
5397,
368,
5411,
368,
6781,
576,
30,
225,
7508,
461,
493,
33,
7508,
461,
263,
1068,
548,
5411,
368,
5411,
648,
576,
30,
288,
7734,
368,
7,
1369,
2872,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
7734,
1770,
7508,
461,
273,
261,
461,
13,
4170,
4487,
11901,
12,
21,
1769,
7734,
368,
7,
1369,
6549,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
5411,
368,
5411,
648,
404,
30,
288,
7734,
368,
7,
1369,
1666,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
7734,
1770,
21036,
273,
261,
461,
13,
4170,
4487,
11901,
12,
21,
1769,
7734,
368,
7,
1369,
1725,
315,
39,
27824,
20416,
19,
4749,
26,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
10792,
21582,
12,
2704,
2
] |
||
JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane();
|
public void hide() { JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane(); layeredPane.remove(panel); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/Popup.java/clean/core/src/classpath/javax/javax/swing/Popup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6853,
1435,
565,
288,
1377,
804,
2375,
8485,
1365,
8485,
273,
26145,
11864,
18,
588,
2375,
8485,
12,
8443,
1769,
1377,
804,
4576,
329,
8485,
3018,
329,
8485,
273,
1365,
8485,
18,
588,
4576,
329,
8485,
5621,
1377,
3018,
329,
8485,
18,
4479,
12,
13916,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6853,
1435,
565,
288,
1377,
804,
2375,
8485,
1365,
8485,
273,
26145,
11864,
18,
588,
2375,
8485,
12,
8443,
1769,
1377,
804,
4576,
329,
8485,
3018,
329,
8485,
273,
1365,
8485,
18,
588,
4576,
329,
8485,
5621,
1377,
3018,
329,
8485,
18,
4479,
12,
13916,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
ph.setCommandStart(true);
|
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\004': // ^D case '\032': // ^Z case -1: //end of script. return 0; // white spaces case ' ': case '\t': case '\f': case '\r': case '\013': // '\v' space_seen = true; continue retry; case '#': // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n': switch (ph.getLexState()) { case LexState.EXPR_BEG: case LexState.EXPR_FNAME: case LexState.EXPR_DOT: continue retry; default: break; } ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*': if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=': if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (; ; ) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<': c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"': return parse_string(c, c, c); case '`': if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'': return parse_qstring(c, 0); case '?': if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.m_newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&': if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': return start_num(c); case ']': case '}': ph.setLexState(LexState.EXPR_END); return c; case ')': if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':': c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/': if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',': case ';': // ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return c; case '~': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(': if (cond_nest > 0) { cond_stack = (cond_stack << 1 ) | 0; } // ph.setCommandStart(true); if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (space_seen) { if (ph.getLexState() == LexState.EXPR_CMDARG) { c = Token.tLPAREN_ARG; } else if (ph.getLexState() == LexState.EXPR_ARG) { ph.rb_warning(tok() + " (...) interpreted as method call"); c = Token.tLPAREN_ARG; } } ph.setLexState(LexState.EXPR_BEG); return c; case '[': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{': if (!IS_ARG()) { if (space_seen && ph.getLexState() == LexState.EXPR_ENDARG) { c = Token.tLBRACE_ARG; } if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG) { c = Token.tLBRACE; } } ph.setLexState(LexState.EXPR_BEG); return c; case '\\': c = nextc(); if (c == '\n') { space_seen = true; continue retry; // skip \\n } pushback(c); return '\\'; case '%': quotation : for (; ; ) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q': return parse_string('"', term, paren); case 'q': return parse_qstring(term, paren); case 'w': return parse_quotedwords(term, paren); case 'x': return parse_string('`', term, paren); case 'r': return parse_regx(term, paren); default: yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$': ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_': // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~': // $~: match-data ph.local_cnt(c); // fall through case '*': // $*: argv case '$': // $$: pid case '?': // $?: last status case '!': // $!: error string case '@': // $@: error position case '/': // $/: input record separator case '\\':// $\: output record separator case ';': // $;: field separator case ',': // $,: output field separator case '.': // $.: last read line number case '=': // $=: ignorecase case ':': // $:: load path case '<': // $<: reading filename case '>': // $>: default output handle case '\"':// $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); return Token.tGVAR; case '-': tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); /* * xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&': // $&: last match case '`': // $`: string before last match case '\'':// $': string after last match case '+': // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default: if (!is_identchar(c)) { pushback(c); return '$'; } case '0': tokadd('$'); } break; case '@': c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default: if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); /* * if (ismbchar(c)) { * int i, len = mbclen(c)-1; * for (i = 0; i < len; i++) { * c = nextc(); * tokadd(c); * } * } */ c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$': ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@': ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default: if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P() && state != LexState.EXPR_CMDARG) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG || ph.getLexState() == LexState.EXPR_CMDARG) { if (cmd_state) { ph.setLexState(LexState.EXPR_CMDARG); } else { ph.setLexState(LexState.EXPR_ARG); } } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = /* last_id = */ ruby.intern(tok()); //XXX really overwrite last_id? return result; } }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273,
1844,
18,
291,
2189,
1685,
5621,
3639,
1844,
18,
542,
2189,
1685,
12,
5743,
1769,
3639,
3300,
294,
3639,
364,
261,
31,
274,
262,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
4278,
368,
423,
1506,
7734,
648,
2337,
26565,
4278,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
4278,
368,
3602,
62,
7734,
648,
300,
21,
30,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
7734,
368,
9578,
7292,
7734,
648,
296,
4290,
7734,
648,
2337,
88,
4278,
7734,
648,
2337,
74,
4278,
7734,
648,
2337,
86,
4278,
7734,
648,
2337,
1611,
23,
4278,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
273,
638,
31,
10792,
1324,
3300,
31,
7734,
648,
2946,
4278,
368,
518,
1807,
279,
2879,
10792,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
2337,
82,
6134,
288,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
327,
374,
31,
13491,
289,
10792,
289,
10792,
368,
4159,
3059,
7734,
648,
2337,
82,
4278,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
30,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
30,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
30,
18701,
1324,
3300,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273,
1844,
18,
291,
2189,
1685,
5621,
3639,
1844,
18,
542,
2189,
1685,
12,
5743,
1769,
3639,
3300,
294,
3639,
364,
261,
31,
274,
262,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
4278,
368,
423,
1506,
7734,
648,
2337,
26565,
4278,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
4278,
368,
3602,
62,
7734,
648,
300,
21,
30,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
7734,
368,
9578,
7292,
7734,
648,
296,
4290,
7734,
648,
2
] |
|
private void _continueAndNotify( boolean notify ) { if( _state != STOPPED || _semaphore.available() ) { if(ASS)ER.T(false,"_continueAndNotify called when not really stopped",this); return; }// if(ASS){System.out.println( "running again" );} // transition state _state = RUNNING; if( notify ) _notifyOfStateChange(); synchronized(_semaphore) { _semaphore.release(); _threadState.resume();// if(ASS){System.out.println( "returning after interrupt" );} } }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2de73cf99dce60cce549e7757f841284b68d1220/ControlTyrant.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/ControlTyrant.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
17143,
1876,
9168,
12,
1250,
5066,
262,
565,
288,
3639,
309,
12,
389,
2019,
480,
17815,
12120,
747,
389,
307,
1458,
76,
479,
18,
5699,
1435,
262,
3639,
288,
5411,
309,
12,
8423,
13,
654,
18,
56,
12,
5743,
10837,
67,
17143,
1876,
9168,
2566,
1347,
486,
8654,
9627,
3113,
2211,
1769,
5411,
327,
31,
3639,
289,
759,
3639,
309,
12,
8423,
15329,
3163,
18,
659,
18,
8222,
12,
315,
8704,
3382,
6,
11272,
97,
3639,
368,
6007,
919,
3639,
389,
2019,
273,
23574,
31,
3639,
309,
12,
5066,
262,
5411,
389,
12336,
951,
22505,
5621,
3639,
3852,
24899,
307,
1458,
76,
479,
13,
3639,
288,
5411,
389,
307,
1458,
76,
479,
18,
9340,
5621,
5411,
389,
5930,
1119,
18,
25158,
5621,
759,
5411,
309,
12,
8423,
15329,
3163,
18,
659,
18,
8222,
12,
315,
2463,
310,
1839,
13123,
6,
11272,
97,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
17143,
1876,
9168,
12,
1250,
5066,
262,
565,
288,
3639,
309,
12,
389,
2019,
480,
17815,
12120,
747,
389,
307,
1458,
76,
479,
18,
5699,
1435,
262,
3639,
288,
5411,
309,
12,
8423,
13,
654,
18,
56,
12,
5743,
10837,
67,
17143,
1876,
9168,
2566,
1347,
486,
8654,
9627,
3113,
2211,
1769,
5411,
327,
31,
3639,
289,
759,
3639,
309,
12,
8423,
15329,
3163,
18,
659,
18,
8222,
12,
315,
8704,
3382,
6,
11272,
97,
3639,
368,
6007,
919,
3639,
389,
2019,
273,
23574,
31,
3639,
309,
12,
5066,
262,
5411,
389,
12336,
951,
22505,
5621,
3639,
3852,
24899,
307,
1458,
76,
479,
13,
3639,
288,
5411,
389,
307,
1458,
76,
479,
18,
9340,
5621,
2
] |
||
shadow = UIManager.getColor("ComboBox.buttonShadow"); darkShadow = UIManager.getColor("ComboBox.buttonDarkShadow"); highlight = UIManager.getColor("ComboBox.buttonHighlight");
|
buttonBackground = UIManager.getColor("ComboBox.buttonBackground"); buttonShadow = UIManager.getColor("ComboBox.buttonShadow"); buttonDarkShadow = UIManager.getColor("ComboBox.buttonDarkShadow"); buttonHighlight = UIManager.getColor("ComboBox.buttonHighlight");
|
protected void installDefaults() { LookAndFeel.installColorsAndFont(comboBox, "ComboBox.background", "ComboBox.foreground", "ComboBox.font"); // fetch the button color scheme shadow = UIManager.getColor("ComboBox.buttonShadow"); darkShadow = UIManager.getColor("ComboBox.buttonDarkShadow"); highlight = UIManager.getColor("ComboBox.buttonHighlight"); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
7019,
1435,
225,
288,
565,
10176,
1876,
2954,
292,
18,
5425,
12570,
1876,
5711,
12,
25053,
3514,
16,
315,
22199,
18,
9342,
3113,
19694,
315,
22199,
18,
1405,
2915,
3113,
315,
22199,
18,
5776,
8863,
565,
368,
2158,
326,
3568,
2036,
4355,
565,
10510,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
12957,
8863,
565,
23433,
12957,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
40,
1313,
12957,
8863,
565,
8839,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
16205,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
7019,
1435,
225,
288,
565,
10176,
1876,
2954,
292,
18,
5425,
12570,
1876,
5711,
12,
25053,
3514,
16,
315,
22199,
18,
9342,
3113,
19694,
315,
22199,
18,
1405,
2915,
3113,
315,
22199,
18,
5776,
8863,
565,
368,
2158,
326,
3568,
2036,
4355,
565,
10510,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
12957,
8863,
565,
23433,
12957,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
40,
1313,
12957,
8863,
565,
8839,
273,
6484,
1318,
18,
588,
2957,
2932,
22199,
18,
5391,
16205,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (int i = 0; i < characterFiles.size(); i++)
|
for ( File file : characterFiles )
|
private PlayerCharacter loadCharacterFiles() { PlayerCharacter pc = null; for (int i = 0; i < characterFiles.size(); i++) { final File file = (File) characterFiles.get(i); pc = loadPCFromFile(file); } return pc; }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/Party.java/buggy/code/src/java/pcgen/core/party/Party.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
19185,
7069,
1262,
7069,
2697,
1435,
202,
95,
202,
202,
12148,
7069,
6125,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3351,
2697,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
6385,
1387,
585,
273,
261,
812,
13,
3351,
2697,
18,
588,
12,
77,
1769,
1082,
202,
2436,
273,
1262,
3513,
13087,
12,
768,
1769,
202,
202,
97,
202,
202,
2463,
6125,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
19185,
7069,
1262,
7069,
2697,
1435,
202,
95,
202,
202,
12148,
7069,
6125,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3351,
2697,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
6385,
1387,
585,
273,
261,
812,
13,
3351,
2697,
18,
588,
12,
77,
1769,
1082,
202,
2436,
273,
1262,
3513,
13087,
12,
768,
1769,
202,
202,
97,
202,
202,
2463,
6125,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.out.format(headerFormat, "", "----------", "----", "--------------------", "--------------------------------------------------", "--------------");
|
System.out.format(headerFormat, "", "----------------------------------------------------------------------------------------------------", "----", "--------------------", "--------------------------------------------------", "--------------");
|
private void dumpSearch(ZSearchResult sr, boolean verbose) throws ServiceException { mSearchResult = sr; if (verbose) { System.out.println(sr); return; } int offset = mSearchOffsets.peek(); int first = offset+1; int last = offset+sr.getHits().size(); System.out.printf("num: %d, more: %s%n%n", sr.getHits().size(), sr.hasMore()); int width = colWidth(last); if (sr.getHits().size() == 0) { return; } final int FROM_LEN = 20; Calendar c = Calendar.getInstance(); String headerFormat = String.format("%%%d.%ds %%10.10s %%4s %%-20.20s %%-50.50s %%s%%n", width, width); //String headerFormat = String.format("%10.10s %-20.20s %-50.50s %-6.6s %s%n"); String itemFormat = String.format( "%%%d.%ds. %%10.10s %%4s %%-20.20s %%-50.50s %%tD %%<tR%%n", width, width); //String itemFormat = "%10.10s %-20.20s %-50.50s %-6.6s %tD %5$tR%n"; System.out.format(headerFormat, "", "Id", "Type", "From", "Subject", "Date"); System.out.format(headerFormat, "", "----------", "----", "--------------------", "--------------------------------------------------", "--------------"); int i = first; for (ZSearchHit hit: sr.getHits()) { if (hit instanceof ZConversationHit) { ZConversationHit ch = (ZConversationHit) hit; c.setTimeInMillis(ch.getDate()); String sub = ch.getSubject(); String from = emailAddrs(ch.getRecipients()); if (ch.getMessageCount() > 1) { String numMsg = " ("+ch.getMessageCount()+")"; int space = FROM_LEN - numMsg.length(); from = ( (from.length() < space) ? from : from.substring(0, space)) + numMsg; } //if (ch.getFragment() != null || ch.getFragment().length() > 0) // sub += " (" + ch.getFragment()+")"; mIndexToId.put(i, ch.getId()); System.out.format(itemFormat, i++, ch.getId(), "conv", from, sub, c); } else if (hit instanceof ZContactHit) { ZContactHit ch = (ZContactHit) hit; c.setTimeInMillis(ch.getMetaDataChangedDate()); String from = getFirstEmail(ch); String sub = ch.getFileAsStr(); mIndexToId.put(i, ch.getId()); System.out.format(itemFormat, i++, ch.getId(), "cont", from, sub, c); } else if (hit instanceof ZMessageHit) { ZMessageHit mh = (ZMessageHit) hit; c.setTimeInMillis(mh.getDate()); String sub = mh.getSubject(); String from = mh.getSender() == null ? "<none>" : mh.getSender().getDisplay(); mIndexToId.put(i, mh.getId()); System.out.format(itemFormat, i++, mh.getId(), "mess", from, sub, c); } } System.out.println(); }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6a9bcda38b33183e64808a3c852a5171f2eda612/ZMailboxUtil.java/buggy/ZimbraServer/src/java/com/zimbra/cs/zclient/ZMailboxUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4657,
2979,
12,
62,
24916,
9133,
16,
1250,
3988,
13,
1216,
16489,
288,
3639,
312,
24916,
273,
225,
9133,
31,
3639,
309,
261,
11369,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
11254,
1769,
5411,
327,
31,
3639,
289,
7734,
509,
1384,
273,
312,
2979,
13830,
18,
347,
3839,
5621,
3639,
509,
1122,
273,
1384,
15,
21,
31,
3639,
509,
1142,
273,
1384,
15,
11254,
18,
588,
20950,
7675,
1467,
5621,
3639,
2332,
18,
659,
18,
1461,
2932,
2107,
30,
738,
72,
16,
1898,
30,
738,
87,
9,
82,
9,
82,
3113,
9133,
18,
588,
20950,
7675,
1467,
9334,
9133,
18,
5332,
7417,
10663,
3639,
509,
1835,
273,
645,
2384,
12,
2722,
1769,
3639,
309,
261,
11254,
18,
588,
20950,
7675,
1467,
1435,
422,
374,
13,
288,
5411,
327,
31,
3639,
289,
7734,
727,
509,
4571,
67,
13017,
273,
4200,
31,
7734,
5542,
276,
273,
5542,
18,
588,
1442,
5621,
3639,
514,
1446,
1630,
273,
514,
18,
2139,
2932,
11438,
9,
72,
7866,
2377,
225,
26510,
2163,
18,
2163,
87,
225,
26510,
24,
87,
282,
26510,
17,
3462,
18,
3462,
87,
225,
26510,
17,
3361,
18,
3361,
87,
225,
26510,
87,
11438,
82,
3113,
1835,
16,
1835,
1769,
3639,
368,
780,
1446,
1630,
273,
514,
18,
2139,
27188,
2163,
18,
2163,
87,
225,
738,
17,
3462,
18,
3462,
87,
225,
738,
17,
3361,
18,
3361,
87,
225,
738,
17,
26,
18,
26,
87,
225,
738,
87,
9,
82,
8863,
7734,
514,
761,
1630,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4657,
2979,
12,
62,
24916,
9133,
16,
1250,
3988,
13,
1216,
16489,
288,
3639,
312,
24916,
273,
225,
9133,
31,
3639,
309,
261,
11369,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
11254,
1769,
5411,
327,
31,
3639,
289,
7734,
509,
1384,
273,
312,
2979,
13830,
18,
347,
3839,
5621,
3639,
509,
1122,
273,
1384,
15,
21,
31,
3639,
509,
1142,
273,
1384,
15,
11254,
18,
588,
20950,
7675,
1467,
5621,
3639,
2332,
18,
659,
18,
1461,
2932,
2107,
30,
738,
72,
16,
1898,
30,
738,
87,
9,
82,
9,
82,
3113,
9133,
18,
588,
20950,
7675,
1467,
9334,
9133,
18,
5332,
7417,
10663,
3639,
509,
1835,
273,
645,
2384,
12,
2722,
1769,
3639,
309,
2
] |
CRL ccCRL = certFactorySpi.engineGenerateCRL((InputStream) bais);
|
CRL ccCRL = certFactorySpi.engineGenerateCRL(bais);
|
public void testCertificateFactorySpi01() throws CertificateException, CRLException { CertificateFactorySpi certFactorySpi = (CertificateFactorySpi) new extCertificateFactorySpi(); assertTrue(certFactorySpi instanceof CertificateFactorySpi); ByteArrayInputStream bais = new ByteArrayInputStream(new byte[0]); try { certFactorySpi.engineGenerateCertPath((InputStream) bais); fail("UnsupportedOperationException must be thrown"); } catch (UnsupportedOperationException e) { } try { certFactorySpi.engineGenerateCertPath((InputStream) bais, ""); fail("UnsupportedOperationException must be thrown"); } catch (UnsupportedOperationException e) { } try { List list = null; certFactorySpi.engineGenerateCertPath(list); fail("UnsupportedOperationException must be thrown"); } catch (UnsupportedOperationException e) { } try { certFactorySpi.engineGetCertPathEncodings(); fail("UnsupportedOperationException must be thrown"); } catch (UnsupportedOperationException e) { } Certificate cc = certFactorySpi .engineGenerateCertificate((InputStream) bais); assertNull("Not null Cerificate", cc); try { certFactorySpi.engineGenerateCertificate(null); fail("CertificateException must be thrown"); } catch (CertificateException e) { } Collection col = certFactorySpi .engineGenerateCertificates((InputStream) bais); assertNull("Not null Collection", col); try { certFactorySpi.engineGenerateCertificates(null); fail("CertificateException must be thrown"); } catch (CertificateException e) { } CRL ccCRL = certFactorySpi.engineGenerateCRL((InputStream) bais); assertNull("Not null CRL", ccCRL); try { certFactorySpi.engineGenerateCRL(null); fail("CRLException must be thrown"); } catch (CRLException e) { } Collection colCRL = certFactorySpi .engineGenerateCRLs((InputStream) bais); assertNull("Not null CRL", colCRL); try { certFactorySpi.engineGenerateCRLs(null); fail("CRLException must be thrown"); } catch (CRLException e) { } }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/725ae047c421126dd0fcfebb60f514948e7cc007/CertificateFactorySpiTest.java/clean/modules/security/src/test/java/common/java/security/cert/CertificateFactorySpiTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4719,
1733,
21887,
1611,
1435,
1216,
29551,
16,
5411,
26526,
503,
288,
3639,
6660,
1733,
21887,
3320,
1733,
21887,
273,
261,
4719,
1733,
21887,
13,
394,
1110,
4719,
1733,
21887,
5621,
3639,
1815,
5510,
12,
7593,
1733,
21887,
1276,
6660,
1733,
21887,
1769,
3639,
16180,
9846,
291,
273,
394,
16180,
12,
2704,
1160,
63,
20,
19226,
3639,
775,
288,
5411,
3320,
1733,
21887,
18,
8944,
4625,
5461,
743,
12443,
4348,
13,
9846,
291,
1769,
5411,
2321,
2932,
8544,
10602,
1297,
506,
6718,
8863,
3639,
289,
1044,
261,
8544,
10602,
425,
13,
288,
3639,
289,
3639,
775,
288,
5411,
3320,
1733,
21887,
18,
8944,
4625,
5461,
743,
12443,
4348,
13,
9846,
291,
16,
1408,
1769,
5411,
2321,
2932,
8544,
10602,
1297,
506,
6718,
8863,
3639,
289,
1044,
261,
8544,
10602,
425,
13,
288,
3639,
289,
3639,
775,
288,
5411,
987,
666,
273,
446,
31,
5411,
3320,
1733,
21887,
18,
8944,
4625,
5461,
743,
12,
1098,
1769,
5411,
2321,
2932,
8544,
10602,
1297,
506,
6718,
8863,
3639,
289,
1044,
261,
8544,
10602,
425,
13,
288,
3639,
289,
3639,
775,
288,
5411,
3320,
1733,
21887,
18,
8944,
967,
5461,
743,
25100,
899,
5621,
5411,
2321,
2932,
8544,
10602,
1297,
506,
6718,
8863,
3639,
289,
1044,
261,
8544,
10602,
425,
13,
288,
3639,
289,
3639,
6660,
4946,
273,
3320,
1733,
21887,
7734,
263,
8944,
4625,
4719,
12443,
4348,
13,
9846,
291,
1769,
3639,
1815,
2041,
2932,
1248,
446,
385,
264,
1507,
340,
3113,
4946,
1769,
3639,
775,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4719,
1733,
21887,
1611,
1435,
1216,
29551,
16,
5411,
26526,
503,
288,
3639,
6660,
1733,
21887,
3320,
1733,
21887,
273,
261,
4719,
1733,
21887,
13,
394,
1110,
4719,
1733,
21887,
5621,
3639,
1815,
5510,
12,
7593,
1733,
21887,
1276,
6660,
1733,
21887,
1769,
3639,
16180,
9846,
291,
273,
394,
16180,
12,
2704,
1160,
63,
20,
19226,
3639,
775,
288,
5411,
3320,
1733,
21887,
18,
8944,
4625,
5461,
743,
12443,
4348,
13,
9846,
291,
1769,
5411,
2321,
2932,
8544,
10602,
1297,
506,
6718,
8863,
3639,
289,
1044,
261,
8544,
10602,
425,
13,
288,
3639,
289,
3639,
775,
288,
5411,
3320,
1733,
21887,
18,
8944,
4625,
5461,
743,
12443,
4348,
13,
9846,
291,
16,
1408,
1769,
5411,
2
] |
fixnumClass.defineMethod("hash", IndexedCallback.create(M_HASH, 0));
|
fixnumClass.defineMethod("hash", IndexedCallback.create(M_HASH, 0)); fixnumClass.defineMethod("id2name", IndexedCallback.create(M_ID2NAME, 0));
|
public static RubyClass createFixnumClass(Ruby ruby) { RubyClass fixnumClass = ruby.defineClass("Fixnum", ruby.getClasses().getIntegerClass()); fixnumClass.includeModule(ruby.getClasses().getPrecisionModule()); fixnumClass.defineSingletonMethod("induced_from", CallbackFactory.getSingletonMethod(RubyFixnum.class, "induced_from", RubyObject.class)); fixnumClass.defineMethod("to_f", IndexedCallback.create(M_TO_F, 0)); fixnumClass.defineMethod("to_s", IndexedCallback.create(M_TO_S, 0)); fixnumClass.defineMethod("to_str", IndexedCallback.create(M_TO_S, 0)); fixnumClass.defineMethod("taint", CallbackFactory.getSelfMethod(0)); fixnumClass.defineMethod("freeze", CallbackFactory.getSelfMethod(0)); fixnumClass.defineMethod("<<", IndexedCallback.create(M_OP_LSHIFT, 1)); fixnumClass.defineMethod(">>", IndexedCallback.create(M_OP_RSHIFT, 1)); fixnumClass.defineMethod("+", IndexedCallback.create(M_OP_PLUS, 1)); fixnumClass.defineMethod("-", IndexedCallback.create(M_OP_MINUS, 1)); fixnumClass.defineMethod("*", IndexedCallback.create(M_OP_MUL, 1)); fixnumClass.defineMethod("/", IndexedCallback.create(M_OP_DIV, 1)); fixnumClass.defineMethod("%", IndexedCallback.create(M_OP_MOD, 1)); fixnumClass.defineMethod("**", IndexedCallback.create(M_OP_POW, 1)); fixnumClass.defineMethod("==", IndexedCallback.create(M_EQUAL, 1)); fixnumClass.defineMethod("eql?", IndexedCallback.create(M_EQUAL, 1)); fixnumClass.defineMethod("equal?", IndexedCallback.create(M_EQUAL, 1)); fixnumClass.defineMethod("<=>", IndexedCallback.create(M_OP_CMP, 1)); fixnumClass.defineMethod(">", IndexedCallback.create(M_OP_GT, 1)); fixnumClass.defineMethod(">=", IndexedCallback.create(M_OP_GE, 1)); fixnumClass.defineMethod("<", IndexedCallback.create(M_OP_LT, 1)); fixnumClass.defineMethod("<=", IndexedCallback.create(M_OP_LE, 1)); fixnumClass.defineMethod("&", IndexedCallback.create(M_OP_AND, 1)); fixnumClass.defineMethod("|", CallbackFactory.getMethod(RubyFixnum.class, "op_or", RubyInteger.class)); fixnumClass.defineMethod("^", CallbackFactory.getMethod(RubyFixnum.class, "op_xor", RubyInteger.class)); fixnumClass.defineMethod("size", IndexedCallback.create(M_SIZE, 0)); fixnumClass.defineMethod("[]", CallbackFactory.getMethod(RubyFixnum.class, "aref", RubyInteger.class)); fixnumClass.defineMethod("hash", IndexedCallback.create(M_HASH, 0)); return fixnumClass; }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/a387d516d26e5f7ff453c52c2282ee687da0a99b/RubyFixnum.java/clean/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
8585,
2107,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4818,
7675,
588,
4522,
797,
10663,
3639,
2917,
2107,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
15410,
3120,
10663,
3639,
2917,
2107,
797,
18,
11255,
19571,
1305,
2932,
728,
26372,
67,
2080,
3113,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
728,
26372,
67,
2080,
3113,
19817,
921,
18,
1106,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
74,
3113,
22524,
2428,
18,
2640,
12,
49,
67,
4296,
67,
42,
16,
374,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
22524,
2428,
18,
2640,
12,
49,
67,
4296,
67,
55,
16,
374,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
701,
3113,
22524,
2428,
18,
2640,
12,
49,
67,
4296,
67,
55,
16,
374,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
88,
1598,
3113,
8444,
1733,
18,
588,
10084,
1305,
12,
20,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
29631,
3113,
8444,
1733,
18,
588,
10084,
1305,
12,
20,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
17685,
3113,
22524,
2428,
18,
2640,
12,
49,
67,
3665,
67,
48,
23191,
16,
404,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
34,
2984,
16,
22524,
2428,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
8585,
2107,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4818,
7675,
588,
4522,
797,
10663,
3639,
2917,
2107,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
15410,
3120,
10663,
3639,
2917,
2107,
797,
18,
11255,
19571,
1305,
2932,
728,
26372,
67,
2080,
3113,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
728,
26372,
67,
2080,
3113,
19817,
921,
18,
1106,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
74,
3113,
22524,
2428,
18,
2640,
12,
49,
67,
4296,
67,
42,
16,
374,
2
] |
if (eFolder != null) parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID);
|
if (eFolder != null) { String path = eFolder.getAttribute(MailService.A_PATH, null); if (path != null) parentId = mbox.getFolderByPath(octxt, path).getId() + ""; else parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID); }
|
public Element handle(Element request, Map<String, Object> context) throws ServiceException, SoapFaultException { ZimbraSoapContext lc = getZimbraSoapContext(context); Mailbox mbox = getRequestedMailbox(lc); Mailbox.OperationContext octxt = lc.getOperationContext(); Session session = getSession(context); String parentId = DEFAULT_FOLDER_ID; Element eFolder = request.getOptionalElement(MailService.E_FOLDER); if (eFolder != null) parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID); ItemId iid = new ItemId(parentId, lc); Element response = lc.createElement(MailService.GET_FOLDER_RESPONSE); GetFolderTreeOperation op = new GetFolderTreeOperation(session, octxt, mbox, Requester.SOAP, iid); op.schedule(); FolderNode resultFolder = op.getResult(); Element folderRoot = encodeFolderNode(lc, response, resultFolder); if (resultFolder.mFolder instanceof Mountpoint) { handleMountpoint(request, context, iid, (Mountpoint) resultFolder.mFolder, folderRoot); } return response; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/00e351834a97af769a4a32d7f5bbe656e985c2ed/GetFolder.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/mail/GetFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
16,
21789,
7083,
503,
288,
202,
202,
62,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
202,
30239,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
202,
202,
30239,
18,
2988,
1042,
320,
20364,
273,
9109,
18,
588,
2988,
1042,
5621,
202,
202,
2157,
1339,
273,
7183,
12,
2472,
1769,
9506,
202,
780,
11582,
273,
3331,
67,
17357,
67,
734,
31,
202,
202,
1046,
425,
3899,
273,
590,
18,
588,
6542,
1046,
12,
6759,
1179,
18,
41,
67,
17357,
1769,
202,
202,
430,
261,
73,
3899,
480,
446,
13,
1082,
202,
2938,
548,
273,
425,
3899,
18,
588,
1499,
12,
6759,
1179,
18,
37,
67,
17357,
16,
3331,
67,
17357,
67,
734,
1769,
202,
202,
17673,
22819,
273,
394,
4342,
548,
12,
2938,
548,
16,
9109,
1769,
202,
202,
1046,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
3264,
67,
17357,
67,
14508,
1769,
9506,
202,
967,
3899,
2471,
2988,
1061,
273,
394,
968,
3899,
2471,
2988,
12,
3184,
16,
320,
20364,
16,
312,
2147,
16,
868,
21207,
18,
27952,
16,
22819,
1769,
202,
202,
556,
18,
10676,
5621,
202,
202,
3899,
907,
563,
3899,
273,
1061,
18,
588,
1253,
5621,
9506,
202,
1046,
3009,
2375,
273,
2017,
3899,
907,
12,
17704,
16,
766,
16,
563,
3899,
1769,
202,
202,
430,
261,
2088,
3899,
18,
81,
3899,
1276,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
16,
21789,
7083,
503,
288,
202,
202,
62,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
202,
30239,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
202,
202,
30239,
18,
2988,
1042,
320,
20364,
273,
9109,
18,
588,
2988,
1042,
5621,
202,
202,
2157,
1339,
273,
7183,
12,
2472,
1769,
9506,
202,
780,
11582,
273,
3331,
67,
17357,
67,
734,
31,
202,
202,
1046,
425,
3899,
273,
590,
18,
588,
6542,
1046,
12,
6759,
1179,
18,
41,
67,
17357,
1769,
202,
202,
430,
261,
73,
3899,
480,
446,
13,
1082,
202,
2938,
2
] |
Proxy p = Proxy.NO_PROXY;
|
Proxy proxy = Proxy.NO_PROXY;
|
public URLConnection getUrlConnection(URL url) throws IOException, NoSuchAlgorithmException, KeyManagementException{ SSLContext ctx = SSLContext.getInstance("TLS"); javax.net.ssl.TrustManager[] tm = new javax.net.ssl.TrustManager[]{new TrustAll()}; ctx.init(null, tm, null); HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory()); Proxy p = Proxy.NO_PROXY; if (UpdateCore.getPlugin().getPluginPreferences().getBoolean(UpdateCore.HTTP_PROXY_ENABLE)) { String proxyHost = UpdateCore.getPlugin().getPluginPreferences().getString(UpdateCore.HTTP_PROXY_HOST); int proxyPort = UpdateCore.getPlugin().getPluginPreferences().getInt(UpdateCore.HTTP_PROXY_PORT); InetSocketAddress sockAddr = new InetSocketAddress(proxyHost, proxyPort); p = new Proxy(Type.HTTP, sockAddr); } URLConnection cntx = url.openConnection(p); return cntx; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/b4016faeda6bdf1004a5730c560c199d84b4b51f/BugzillaPlugin.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1976,
1952,
8928,
1952,
12,
1785,
880,
13,
1216,
1860,
16,
17684,
16,
1929,
10998,
503,
95,
202,
202,
6745,
1042,
1103,
273,
26886,
18,
588,
1442,
2932,
9905,
8863,
9506,
202,
28384,
18,
2758,
18,
8157,
18,
14146,
1318,
8526,
6118,
273,
394,
6863,
18,
2758,
18,
8157,
18,
14146,
1318,
63,
7073,
2704,
20246,
1595,
17767,
31,
202,
202,
5900,
18,
2738,
12,
2011,
16,
6118,
16,
446,
1769,
202,
202,
22077,
14790,
18,
542,
1868,
1260,
25831,
1733,
12,
5900,
18,
588,
4534,
1733,
10663,
9506,
202,
3886,
293,
273,
7659,
18,
3417,
67,
16085,
31,
202,
202,
430,
261,
1891,
4670,
18,
588,
3773,
7675,
588,
3773,
12377,
7675,
588,
5507,
12,
1891,
4670,
18,
3693,
67,
16085,
67,
29377,
3719,
288,
1082,
202,
780,
2889,
2594,
273,
2315,
4670,
18,
588,
3773,
7675,
588,
3773,
12377,
7675,
588,
780,
12,
1891,
4670,
18,
3693,
67,
16085,
67,
8908,
1769,
1082,
202,
474,
2889,
2617,
273,
2315,
4670,
18,
588,
3773,
7675,
588,
3773,
12377,
7675,
588,
1702,
12,
1891,
4670,
18,
3693,
67,
16085,
67,
6354,
1769,
25083,
202,
382,
278,
15520,
7313,
3178,
273,
394,
17943,
12,
5656,
2594,
16,
2889,
2617,
1769,
1082,
202,
84,
273,
394,
7659,
12,
559,
18,
3693,
16,
7313,
3178,
1769,
202,
202,
97,
202,
202,
14790,
7599,
92,
273,
880,
18,
3190,
1952,
12,
84,
1769,
202,
202,
2463,
7599,
92,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1976,
1952,
8928,
1952,
12,
1785,
880,
13,
1216,
1860,
16,
17684,
16,
1929,
10998,
503,
95,
202,
202,
6745,
1042,
1103,
273,
26886,
18,
588,
1442,
2932,
9905,
8863,
9506,
202,
28384,
18,
2758,
18,
8157,
18,
14146,
1318,
8526,
6118,
273,
394,
6863,
18,
2758,
18,
8157,
18,
14146,
1318,
63,
7073,
2704,
20246,
1595,
17767,
31,
202,
202,
5900,
18,
2738,
12,
2011,
16,
6118,
16,
446,
1769,
202,
202,
22077,
14790,
18,
542,
1868,
1260,
25831,
1733,
12,
5900,
18,
588,
4534,
1733,
10663,
9506,
202,
3886,
293,
273,
7659,
18,
3417,
67,
16085,
31,
202,
202,
430,
261,
1891,
4670,
18,
588,
3773,
7675,
588,
3773,
12377,
7675,
588,
5507,
12,
1891,
2
] |
} else
|
} else
|
private List preparePatterns(ArrayList list, RECompiler recompiler) { ArrayList result = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { String element = (String)iter.next(); if ((element != null) && (element.length()>0)) { // substitute variables in the pattern element = this.vs.substitute(element, "plain"); // check whether the pattern is absolute or relative File f = new File (element); // if it is relative, make it absolute and prepend the installation path // (this is a bit dangerous...) if (! f.isAbsolute()) { element = new File (this.absolute_installpath, element).toString(); } // now parse the element and construct a regular expression from it // (we have to parse it one character after the next because every // character should only be processed once - it's not possible to get this // correct using regular expression replacing) StringBuffer element_re = new StringBuffer (); int lookahead = -1; int pos = 0; while (pos < element.length()) { char c; if (lookahead != -1) { c = (char)lookahead; lookahead = -1; } else c = element.charAt(pos++); switch (c) { case '/': { element_re.append (File.separator); break; } // escape backslash and dot case '\\': case '.': { element_re.append ("\\"); element_re.append (c); break; } case '*': { if (pos == element.length()) { element_re.append ("[^"+File.separator+"]*"); break; } lookahead = element.charAt(pos++); // check for "**" if (lookahead == '*') { element_re.append (".*"); // consume second star lookahead = -1; } else { element_re.append ("[^"+File.separator+"]*"); // lookahead stays there } break; } default: { element_re.append (c); break; } } // switch } // make sure that the whole expression is matched element_re.append ('$'); // replace \ by \\ and create a RE from the result try { result.add (new RE(recompiler.compile (element_re.toString()))); } catch (RESyntaxException e) { this.handler.emitNotification("internal error: pattern \""+element+"\" produced invalid RE \""+f.getPath()+"\""); } } } return result; }
|
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/Unpacker.java/buggy/src/lib/com/izforge/izpack/installer/Unpacker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
987,
2911,
11268,
12,
19558,
666,
16,
4202,
2438,
9213,
283,
9576,
13,
225,
288,
565,
2407,
563,
273,
394,
2407,
5621,
3639,
364,
261,
3198,
1400,
273,
666,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
565,
288,
1377,
514,
930,
273,
261,
780,
13,
2165,
18,
4285,
5621,
5411,
309,
14015,
2956,
480,
446,
13,
597,
261,
2956,
18,
2469,
1435,
34,
20,
3719,
1377,
288,
3639,
368,
14811,
3152,
316,
326,
1936,
3639,
930,
273,
333,
18,
6904,
18,
1717,
17207,
12,
2956,
16,
315,
7446,
8863,
7734,
368,
866,
2856,
326,
1936,
353,
4967,
578,
3632,
3639,
1387,
284,
273,
394,
1387,
261,
2956,
1769,
7734,
368,
309,
518,
353,
3632,
16,
1221,
518,
4967,
471,
8254,
326,
13193,
589,
3639,
368,
261,
2211,
353,
279,
2831,
27308,
1481,
21846,
3639,
309,
16051,
284,
18,
291,
10368,
10756,
3639,
288,
1850,
930,
273,
394,
1387,
261,
2211,
18,
12547,
67,
5425,
803,
16,
930,
2934,
10492,
5621,
7734,
289,
7734,
368,
2037,
1109,
326,
930,
471,
4872,
279,
6736,
2652,
628,
518,
3639,
368,
261,
1814,
1240,
358,
1109,
518,
1245,
3351,
1839,
326,
1024,
2724,
3614,
3639,
368,
3351,
1410,
1338,
506,
5204,
3647,
300,
518,
1807,
486,
3323,
358,
336,
333,
3639,
368,
3434,
1450,
6736,
2652,
13993,
13,
3639,
6674,
930,
67,
266,
273,
394,
6674,
261,
1769,
7734,
509,
16029,
273,
300,
21,
31,
3639,
509,
949,
273,
374,
31,
7734,
1323,
261,
917,
411,
930,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
987,
2911,
11268,
12,
19558,
666,
16,
4202,
2438,
9213,
283,
9576,
13,
225,
288,
565,
2407,
563,
273,
394,
2407,
5621,
3639,
364,
261,
3198,
1400,
273,
666,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
565,
288,
1377,
514,
930,
273,
261,
780,
13,
2165,
18,
4285,
5621,
5411,
309,
14015,
2956,
480,
446,
13,
597,
261,
2956,
18,
2469,
1435,
34,
20,
3719,
1377,
288,
3639,
368,
14811,
3152,
316,
326,
1936,
3639,
930,
273,
333,
18,
6904,
18,
1717,
17207,
12,
2956,
16,
315,
7446,
8863,
7734,
368,
866,
2856,
326,
1936,
353,
4967,
578,
3632,
3639,
1387,
284,
273,
394,
1387,
261,
2956,
1769,
7734,
368,
309,
518,
353,
3632,
16,
2
] |
service.addParameter( new ParameterImpl( AbstractMessageReceiver.SERVICE_CLASS, className));
|
service.addParameter(new ParameterImpl(AbstractMessageReceiver.SERVICE_CLASS, className));
|
public static AxisService createSimpleService( QName serviceName, MessageReceiver messageReceiver, String className, QName opName) { AxisService service = new AxisService(serviceName); service.setClassLoader(Thread.currentThread().getContextClassLoader()); service.addParameter( new ParameterImpl( AbstractMessageReceiver.SERVICE_CLASS, className)); AxisOperation axisOp = new AxisOperation(opName); axisOp.setMessageReciever(messageReceiver); service.addOperation(axisOp); return service; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/300f5888904c5abbc97474bfee7c9727b7c7451a/Utils.java/buggy/modules/core/src/org/apache/axis/util/Utils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15509,
1179,
752,
5784,
1179,
12,
3639,
16723,
6773,
16,
3639,
2350,
12952,
883,
12952,
16,
3639,
514,
2658,
16,
16723,
1061,
461,
13,
288,
3639,
15509,
1179,
1156,
273,
394,
15509,
1179,
12,
15423,
1769,
3639,
1156,
18,
542,
7805,
12,
3830,
18,
2972,
3830,
7675,
29120,
7805,
10663,
3639,
1156,
18,
1289,
1662,
12,
5411,
394,
5498,
2828,
12,
7734,
4115,
1079,
12952,
18,
12426,
67,
5237,
16,
5411,
2658,
10019,
3639,
15509,
2988,
2654,
3817,
273,
394,
15509,
2988,
12,
556,
461,
1769,
3639,
2654,
3817,
18,
542,
1079,
5650,
1385,
502,
12,
2150,
12952,
1769,
3639,
1156,
18,
1289,
2988,
12,
4890,
3817,
1769,
3639,
327,
1156,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15509,
1179,
752,
5784,
1179,
12,
3639,
16723,
6773,
16,
3639,
2350,
12952,
883,
12952,
16,
3639,
514,
2658,
16,
16723,
1061,
461,
13,
288,
3639,
15509,
1179,
1156,
273,
394,
15509,
1179,
12,
15423,
1769,
3639,
1156,
18,
542,
7805,
12,
3830,
18,
2972,
3830,
7675,
29120,
7805,
10663,
3639,
1156,
18,
1289,
1662,
12,
5411,
394,
5498,
2828,
12,
7734,
4115,
1079,
12952,
18,
12426,
67,
5237,
16,
5411,
2658,
10019,
3639,
15509,
2988,
2654,
3817,
273,
394,
15509,
2988,
12,
556,
461,
1769,
3639,
2654,
3817,
18,
542,
1079,
5650,
1385,
502,
12,
2150,
12952,
1769,
3639,
1156,
18,
1289,
2988,
12,
4890,
3817,
1769,
3639,
327,
1156,
31,
565,
289,
2,
-100,
-100
] |
if (fontDefinition == null) return;
|
if (fontDefinition == null) { return; }
|
protected void performApply() { super.performApply(); //Apply the default font to the dialog. Font oldFont = appliedDialogFont; FontDefinition fontDefinition = themeRegistry .findFont(JFaceResources.DIALOG_FONT); if (fontDefinition == null) return; FontData[] newData = getFontValue(fontDefinition); appliedDialogFont = new Font(getControl().getDisplay(), newData); updateForDialogFontChange(appliedDialogFont); getApplyButton().setFont(appliedDialogFont); getDefaultsButton().setFont(appliedDialogFont); if (oldFont != null) oldFont.dispose(); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ColorsAndFontsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3073,
7001,
1435,
288,
3639,
2240,
18,
16092,
7001,
5621,
3639,
368,
7001,
326,
805,
3512,
358,
326,
6176,
18,
3639,
10063,
1592,
5711,
273,
6754,
6353,
5711,
31,
3639,
10063,
1852,
3512,
1852,
273,
5006,
4243,
7734,
263,
4720,
5711,
12,
46,
11824,
3805,
18,
2565,
18683,
67,
25221,
1769,
3639,
309,
261,
5776,
1852,
422,
446,
13,
5411,
327,
31,
3639,
10063,
751,
8526,
16026,
273,
18776,
620,
12,
5776,
1852,
1769,
3639,
6754,
6353,
5711,
273,
394,
10063,
12,
588,
3367,
7675,
588,
4236,
9334,
16026,
1769,
3639,
1089,
1290,
6353,
5711,
3043,
12,
438,
3110,
6353,
5711,
1769,
3639,
336,
7001,
3616,
7675,
542,
5711,
12,
438,
3110,
6353,
5711,
1769,
3639,
4829,
87,
3616,
7675,
542,
5711,
12,
438,
3110,
6353,
5711,
1769,
3639,
309,
261,
1673,
5711,
480,
446,
13,
5411,
1592,
5711,
18,
2251,
4150,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3073,
7001,
1435,
288,
3639,
2240,
18,
16092,
7001,
5621,
3639,
368,
7001,
326,
805,
3512,
358,
326,
6176,
18,
3639,
10063,
1592,
5711,
273,
6754,
6353,
5711,
31,
3639,
10063,
1852,
3512,
1852,
273,
5006,
4243,
7734,
263,
4720,
5711,
12,
46,
11824,
3805,
18,
2565,
18683,
67,
25221,
1769,
3639,
309,
261,
5776,
1852,
422,
446,
13,
5411,
327,
31,
3639,
10063,
751,
8526,
16026,
273,
18776,
620,
12,
5776,
1852,
1769,
3639,
6754,
6353,
5711,
273,
394,
10063,
12,
588,
3367,
7675,
588,
4236,
9334,
16026,
1769,
3639,
1089,
1290,
6353,
5711,
3043,
12,
438,
3110,
6353,
5711,
1769,
3639,
336,
7001,
3616,
7675,
542,
5711,
12,
438,
3110,
6353,
5711,
1769,
3639,
2
] |
case 513 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); }
|
case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); }
|
protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 47 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 49 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 50 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 53 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 54 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 59 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 60 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 69 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 70 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 86 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 88 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 90 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 91 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 92 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 94 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ consumePackageComment(); break; case 99 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 100 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 102 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 105 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 109 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 121 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 122 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 123 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 126 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 127 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 128 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 130 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 131 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 138 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 139 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 140 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 147 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 150 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 152 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 155 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 156 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 157 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 158 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 159 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 164 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 165 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 166 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(false); break; case 168 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(false); break; case 169 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 170 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 171 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 172 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 173 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 174 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 176 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 177 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 178 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 180 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 181 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 182 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 183 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 184 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 185 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 186 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 187 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 200 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 201 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 204 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 205 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 208 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 211 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ consumeInvalidMethodDeclaration(); break; case 212 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(true); break; case 213 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(false); break; case 221 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 222 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 224 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 226 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 227 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 228 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 230 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 234 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ consumeInvalidInterfaceDeclaration(); break; case 235 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ consumeInvalidAnnotationTypeDeclaration(); break; case 236 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ consumeInvalidEnumDeclaration(); break; case 237 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 238 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 239 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 240 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 241 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 242 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 268 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 269 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 270 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 271 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 280 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 281 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 282 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 283 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 287 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 289 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 290 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 292 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 293 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 294 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 295 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 296 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 297 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 298 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 299 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 300 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 304 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 305 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 306 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 307 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 308 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 309 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 310 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 311 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 312 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 313 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 314 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 315 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 316 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 318 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 320 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 321 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 323 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 324 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 338 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 339 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 342 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 345 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 346 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 347 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 348 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 349 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 350 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 352 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 354 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 359 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 360 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 364 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 365 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 368 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 369 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 370 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 375 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 376 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 378 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 381 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 384 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 385 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 386 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 389 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 390 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 392 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 393 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 395 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 396 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 401 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 402 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 403 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 405 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 406 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 409 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 410 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 412 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 413 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 416 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 421 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 422 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 424 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 426 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 427 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 429 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 431 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 433 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 435 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 437 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 439 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 442 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 444 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 460 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 465 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 466 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 467 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 468 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 469 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 471 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 473 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 477 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 481 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 482 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 483 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 484 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 486 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 490 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 492 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 493 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 494 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 497 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 500 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 501 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 502 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 503 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 504 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 505 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 506 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 508 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 513 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeaderInit(false); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ consumeEnhancedForStatementHeaderInit(true); break; case 515 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(); break; case 516 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 517 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 518 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 519 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 520 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 521 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 523 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 525 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 526 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 531 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 533 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 536 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 537 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 539 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 542 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 543 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 544 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 547 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 548 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 549 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 552 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 553 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 555 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 556 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 557 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 558 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 560 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 562 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 564 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 565 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 567 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 568 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 570 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 571 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 573 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 575 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 576 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 582 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 583 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 586 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 587 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 595 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 600 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 607 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 616 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 618 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(); break; case 619 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 624 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 626 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 627 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 629 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 630 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 632 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 633 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 635 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 636 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 638 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 639 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 641 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 642 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 646 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 649 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationsopt() ; break; case 654 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 655 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 659 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 660 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 668 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 669 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 670 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 673 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 674 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 675 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ consumeEnterMemberValue() ; break; case 676 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ consumeExitMemberValue() ; break; case 678 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 681 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 682 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 684 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 686 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 687 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 691 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 692 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/189d8495dd269a3e1a6eabd4118e6586a867755d/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
9934,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
7928,
559,
15772,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17160,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
30982,
493,
33,
1659,
1162,
1358,
1412,
4628,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
30982,
5621,
565,
1082,
202,
8820,
31,
377,
648,
6437,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
Assert.fail(e.getMessage());
|
Assert.fail(msg + e.getMessage());
|
protected static void testImm( GrouperSession s, Group g, Subject subj, String list ) { try { Field f = FieldFinder.find(list); Member m = MemberFinder.findBySubject(s, subj); Assert.assertTrue("m.subj == subj", m.getSubject().equals(subj)); Assert.assertTrue("g hasMember" , g.hasMember(subj, f)); Assert.assertTrue("g hasImmMember", g.hasImmediateMember(subj, f)); Assert.assertTrue("m isMember" , m.isMember(g, f)); Assert.assertTrue("m isImmMember" , m.isImmediateMember(g, f)); Membership ms = MembershipFinder.findImmediateMembership( s, g, subj, f ); Assert.assertNotNull("found ms", ms); Assert.assertTrue("ms group " , ms.getGroup().equals(g) ); Assert.assertTrue("ms member" , ms.getMember().equals(m)); Assert.assertTrue("ms list" , ms.getList().equals(f) ); Assert.assertTrue("ms depth" , ms.getDepth() == 0 ); try { Group via = ms.getViaGroup(); Assert.fail("imm ms has via group"); } catch (GroupNotFoundException eGNF) { Assert.assertTrue("imm ms has no via group", true); } } catch (Exception e) { Assert.fail(e.getMessage()); } } // protected static TestImm(s, g, subj, list)
|
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/829e76dab74fff5b128699597d87711b0f10c4a4/MembershipHelper.java/buggy/grouper/java/tests/test/edu/internet2/middleware/grouper/MembershipHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
918,
1842,
1170,
81,
12,
565,
3756,
264,
2157,
272,
16,
3756,
314,
16,
9912,
15333,
16,
514,
666,
225,
262,
282,
288,
565,
775,
288,
1377,
2286,
282,
284,
273,
2286,
8441,
18,
4720,
12,
1098,
1769,
1377,
8596,
225,
312,
273,
8596,
8441,
18,
4720,
858,
6638,
12,
87,
16,
15333,
1769,
1377,
5452,
18,
11231,
5510,
2932,
81,
18,
1717,
78,
422,
15333,
3113,
312,
18,
588,
6638,
7675,
14963,
12,
1717,
78,
10019,
1377,
5452,
18,
11231,
5510,
2932,
75,
711,
4419,
6,
282,
269,
314,
18,
5332,
4419,
12,
1717,
78,
16,
284,
10019,
1377,
5452,
18,
11231,
5510,
2932,
75,
711,
1170,
81,
4419,
3113,
314,
18,
5332,
22651,
4419,
12,
1717,
78,
16,
284,
10019,
1377,
5452,
18,
11231,
5510,
2932,
81,
353,
4419,
6,
565,
269,
312,
18,
291,
4419,
12,
75,
16,
284,
10019,
1377,
5452,
18,
11231,
5510,
2932,
81,
353,
1170,
81,
4419,
6,
269,
312,
18,
291,
22651,
4419,
12,
75,
16,
284,
10019,
1377,
28100,
4086,
273,
28100,
8441,
18,
4720,
22651,
13447,
12,
3639,
272,
16,
314,
16,
15333,
16,
284,
1377,
11272,
1377,
5452,
18,
11231,
5962,
2932,
7015,
4086,
3113,
4086,
1769,
1377,
5452,
18,
11231,
5510,
2932,
959,
1041,
282,
315,
269,
4086,
18,
588,
1114,
7675,
14963,
12,
75,
13,
11272,
1377,
5452,
18,
11231,
5510,
2932,
959,
3140,
6,
282,
269,
4086,
18,
588,
4419,
7675,
14963,
12,
81,
10019,
1377,
5452,
18,
11231,
5510,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
918,
1842,
1170,
81,
12,
565,
3756,
264,
2157,
272,
16,
3756,
314,
16,
9912,
15333,
16,
514,
666,
225,
262,
282,
288,
565,
775,
288,
1377,
2286,
282,
284,
273,
2286,
8441,
18,
4720,
12,
1098,
1769,
1377,
8596,
225,
312,
273,
8596,
8441,
18,
4720,
858,
6638,
12,
87,
16,
15333,
1769,
1377,
5452,
18,
11231,
5510,
2932,
81,
18,
1717,
78,
422,
15333,
3113,
312,
18,
588,
6638,
7675,
14963,
12,
1717,
78,
10019,
1377,
5452,
18,
11231,
5510,
2932,
75,
711,
4419,
6,
282,
269,
314,
18,
5332,
4419,
12,
1717,
78,
16,
284,
10019,
1377,
5452,
18,
11231,
5510,
2932,
75,
711,
1170,
81,
4419,
3113,
314,
18,
5332,
22651,
4419,
2
] |
for ( DesignElementHandle elementHandle = handle; elementHandle != null; elementHandle = elementHandle.getContainer( ) )
|
for ( DesignElementHandle elementHandle = handle; elementHandle != null; elementHandle = elementHandle .getContainer( ) )
|
public static DataSetHandle getFirstDataSet( DesignElementHandle handle ) { DataSetHandle dataSetHandle = null; if ( handle instanceof ReportItemHandle ) { dataSetHandle = ( (ReportItemHandle) handle ).getDataSet( ); } if ( dataSetHandle == null ) { for ( DesignElementHandle elementHandle = handle; elementHandle != null; elementHandle = elementHandle.getContainer( ) ) { if ( elementHandle instanceof ListingHandle && ( dataSetHandle = ( (ListingHandle) elementHandle ).getDataSet( ) ) != null ) { return dataSetHandle; } } } return dataSetHandle; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ca4edaffeaa16cb189cd6d5fe0b1d125ff3cca1a/DEUtil.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14065,
3259,
7521,
13676,
12,
29703,
1046,
3259,
1640,
262,
202,
95,
202,
202,
13676,
3259,
14837,
3259,
273,
446,
31,
202,
202,
430,
261,
1640,
1276,
8706,
1180,
3259,
262,
202,
202,
95,
1082,
202,
892,
694,
3259,
273,
261,
261,
4820,
1180,
3259,
13,
1640,
262,
18,
588,
13676,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
14837,
3259,
422,
446,
262,
202,
202,
95,
1082,
202,
1884,
261,
29703,
1046,
3259,
930,
3259,
273,
1640,
31,
930,
3259,
480,
446,
31,
930,
3259,
273,
930,
3259,
18,
588,
2170,
12,
262,
262,
1082,
202,
95,
9506,
202,
430,
261,
930,
3259,
1276,
987,
310,
3259,
25083,
202,
10,
10,
261,
14837,
3259,
273,
261,
261,
19081,
3259,
13,
930,
3259,
262,
18,
588,
13676,
12,
262,
262,
480,
446,
262,
9506,
202,
95,
6862,
202,
2463,
14837,
3259,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
14837,
3259,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14065,
3259,
7521,
13676,
12,
29703,
1046,
3259,
1640,
262,
202,
95,
202,
202,
13676,
3259,
14837,
3259,
273,
446,
31,
202,
202,
430,
261,
1640,
1276,
8706,
1180,
3259,
262,
202,
202,
95,
1082,
202,
892,
694,
3259,
273,
261,
261,
4820,
1180,
3259,
13,
1640,
262,
18,
588,
13676,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
14837,
3259,
422,
446,
262,
202,
202,
95,
1082,
202,
1884,
261,
29703,
1046,
3259,
930,
3259,
273,
1640,
31,
930,
3259,
480,
446,
31,
930,
3259,
273,
930,
3259,
18,
588,
2170,
12,
262,
262,
1082,
202,
95,
9506,
202,
430,
261,
930,
3259,
1276,
987,
310,
3259,
25083,
202,
10,
10,
261,
14837,
2
] |
private XSParticleDecl traverseSeqChoice(Element decl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, boolean choice) { // General Attribute Checking Object[] attrValues = fAttrChecker.checkAttributes(decl, false, schemaDoc); Element content = DOMUtil.getFirstChildElement(decl); Element child = checkContent(content, attrValues, schemaDoc); XSParticleDecl left = null; XSParticleDecl right = null; boolean hadContent = false; String childName = null; XSParticleDecl particle, temp; for (;child != null;child = DOMUtil.getNextSiblingElement(child)) { particle = null; childName = child.getLocalName(); if (childName.equals(SchemaSymbols.ELT_ELEMENT)) { particle = fSchemaHandler.fElementTraverser.traverseLocal(child, schemaDoc, grammar, NOT_ALL_CONTEXT); } else if (childName.equals(SchemaSymbols.ELT_GROUP)) { particle = fSchemaHandler.fGroupTraverser.traverseLocal(child, schemaDoc, grammar); // A content type of all can only appear // as the content type of a complex type definition. if (hasAllContent(particle)) { Object [] args; if (choice) { args = new Object[]{SchemaSymbols.ELT_CHOICE}; } else { args = new Object[]{SchemaSymbols.ELT_SEQUENCE}; } fErrorReporter.reportError(XSMessageFormatter.SCHEMA_DOMAIN, "AllContentLimited", args, XMLErrorReporter.SEVERITY_ERROR); } } else if (childName.equals(SchemaSymbols.ELT_CHOICE)) { particle = traverseChoice( child,schemaDoc, grammar, NOT_ALL_CONTEXT); } else if (childName.equals(SchemaSymbols.ELT_SEQUENCE)) { particle = traverseSequence(child,schemaDoc, grammar, NOT_ALL_CONTEXT); } else if (childName.equals(SchemaSymbols.ELT_ANY)) { particle = fSchemaHandler.fWildCardTraverser.traverseAny(child, schemaDoc, grammar); } else { Object [] args; if (choice) { args = new Object[]{SchemaSymbols.ELT_CHOICE}; } else { args = new Object[]{SchemaSymbols.ELT_SEQUENCE}; } fErrorReporter.reportError(XSMessageFormatter.SCHEMA_DOMAIN, "SeqChoiceContentRestricted", args, XMLErrorReporter.SEVERITY_ERROR); } if (left == null) { left = particle; } else if (right == null) { right = particle; } else { temp = new XSParticleDecl(); if (choice) temp.fType = XSParticleDecl.PARTICLE_CHOICE; else temp.fType = XSParticleDecl.PARTICLE_SEQUENCE; temp.fValue = left; temp.fOtherValue = right; left = temp; right = particle; } } // REVISIT: model group // Quick fix for the case that particles <choice> | <sequence> do not have any children. // For now we return null. In the future we might want to return model group decl. if (left !=null) { temp = new XSParticleDecl(); if (choice) temp.fType = XSParticleDecl.PARTICLE_CHOICE; else temp.fType = XSParticleDecl.PARTICLE_SEQUENCE; temp.fValue = left; temp.fOtherValue = right; left = temp; XInt minAtt = (XInt)attrValues[XSAttributeChecker.ATTIDX_MINOCCURS]; XInt maxAtt = (XInt)attrValues[XSAttributeChecker.ATTIDX_MAXOCCURS]; Long defaultVals = (Long)attrValues[XSAttributeChecker.ATTIDX_FROMDEFAULT]; left.fMinOccurs = minAtt.intValue(); left.fMaxOccurs = maxAtt.intValue(); left = checkOccurrences(left, choice ? SchemaSymbols.ELT_CHOICE : SchemaSymbols.ELT_SEQUENCE, (Element)decl.getParentNode(), allContextFlags, defaultVals.longValue()); } fAttrChecker.returnAttrArray(attrValues, schemaDoc); return left; }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/4b0def86a1a96df8c8cbd5bf50c757023d94325b/XSDAbstractParticleTraverser.java/buggy/src/org/apache/xerces/impl/v2/XSDAbstractParticleTraverser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1139,
55,
1988,
3711,
3456,
10080,
6926,
10538,
12,
1046,
3496,
16,
4766,
2398,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
2398,
4611,
18576,
6473,
16,
4766,
2398,
509,
777,
1042,
5094,
16,
4766,
2398,
1250,
6023,
13,
288,
3639,
368,
9544,
3601,
24471,
3639,
1033,
8526,
1604,
1972,
273,
284,
3843,
8847,
18,
1893,
2498,
12,
8840,
16,
629,
16,
1963,
1759,
1769,
3639,
3010,
913,
273,
4703,
1304,
18,
588,
3759,
1763,
1046,
12,
8840,
1769,
3639,
3010,
1151,
273,
866,
1350,
12,
1745,
16,
1604,
1972,
16,
1963,
1759,
1769,
3639,
1139,
55,
1988,
3711,
3456,
2002,
273,
446,
31,
3639,
1139,
55,
1988,
3711,
3456,
2145,
273,
446,
31,
3639,
1250,
9323,
1350,
273,
629,
31,
3639,
514,
27440,
273,
446,
31,
3639,
1139,
55,
1988,
3711,
3456,
20036,
16,
1906,
31,
3639,
364,
261,
31,
3624,
480,
446,
31,
3624,
273,
4703,
1304,
18,
588,
2134,
10291,
1046,
12,
3624,
3719,
288,
5411,
20036,
273,
446,
31,
5411,
27440,
273,
1151,
18,
588,
29583,
5621,
5411,
309,
261,
3624,
461,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
10976,
3719,
288,
7734,
20036,
273,
284,
3078,
1503,
18,
74,
1046,
15844,
264,
18,
2033,
2476,
2042,
12,
3624,
16,
1963,
1759,
16,
6473,
16,
4269,
67,
4685,
67,
13181,
1769,
5411,
289,
5411,
469,
309,
261,
3624,
461,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
8468,
3719,
288,
7734,
20036,
273,
284,
3078,
1503,
18,
74,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1139,
55,
1988,
3711,
3456,
10080,
6926,
10538,
12,
1046,
3496,
16,
4766,
2398,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
2398,
4611,
18576,
6473,
16,
4766,
2398,
509,
777,
1042,
5094,
16,
4766,
2398,
1250,
6023,
13,
288,
3639,
368,
9544,
3601,
24471,
3639,
1033,
8526,
1604,
1972,
273,
284,
3843,
8847,
18,
1893,
2498,
12,
8840,
16,
629,
16,
1963,
1759,
1769,
3639,
3010,
913,
273,
4703,
1304,
18,
588,
3759,
1763,
1046,
12,
8840,
1769,
3639,
3010,
1151,
273,
866,
1350,
12,
1745,
16,
1604,
1972,
16,
1963,
1759,
1769,
3639,
1139,
55,
1988,
3711,
3456,
2002,
273,
446,
31,
3639,
1139,
55,
1988,
3711,
3456,
2145,
273,
446,
31,
3639,
1250,
9323,
2
] |
||
result = runtime.yield(result, null, null, false);
|
result = threadContext.yield(result, null, null, false);
|
public void visitYieldNode(YieldNode iVisited) { eval(iVisited.getArgsNode()); if (iVisited.getArgsNode() instanceof ExpandArrayNode && ((RubyArray) result).getLength() == 1) { result = ((RubyArray) result).entry(0); } result = runtime.yield(result, null, null, false); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/aa3fe2195e86c2c426f4012089ef8c66a66e925c/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
16348,
907,
12,
16348,
907,
277,
30019,
13,
288,
3639,
5302,
12,
77,
30019,
18,
588,
2615,
907,
10663,
3639,
309,
261,
77,
30019,
18,
588,
2615,
907,
1435,
1276,
16429,
1076,
907,
597,
14015,
54,
10340,
1076,
13,
563,
2934,
588,
1782,
1435,
422,
404,
13,
288,
5411,
563,
273,
14015,
54,
10340,
1076,
13,
563,
2934,
4099,
12,
20,
1769,
3639,
289,
3639,
563,
273,
2650,
1042,
18,
23604,
12,
2088,
16,
446,
16,
446,
16,
629,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
16348,
907,
12,
16348,
907,
277,
30019,
13,
288,
3639,
5302,
12,
77,
30019,
18,
588,
2615,
907,
10663,
3639,
309,
261,
77,
30019,
18,
588,
2615,
907,
1435,
1276,
16429,
1076,
907,
597,
14015,
54,
10340,
1076,
13,
563,
2934,
588,
1782,
1435,
422,
404,
13,
288,
5411,
563,
273,
14015,
54,
10340,
1076,
13,
563,
2934,
4099,
12,
20,
1769,
3639,
289,
3639,
563,
273,
2650,
1042,
18,
23604,
12,
2088,
16,
446,
16,
446,
16,
629,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new IdFunction(this, getIdName(id), id);
|
IdFunction f = new IdFunction(this, getIdName(id), id); if (sealFunctions) { f.sealObject(); } return f;
|
protected IdFunction newIdFunction(int id) { return new IdFunction(this, getIdName(id), id); }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/8961afa95f58c2380a8167427d0d8841e91900c1/IdScriptable.java/clean/js/rhino/src/org/mozilla/javascript/IdScriptable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3124,
2083,
27598,
2083,
12,
474,
612,
13,
288,
3639,
3124,
2083,
284,
273,
394,
3124,
2083,
12,
2211,
16,
2634,
461,
12,
350,
3631,
612,
1769,
309,
261,
307,
287,
7503,
13,
288,
284,
18,
307,
287,
921,
5621,
289,
327,
284,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3124,
2083,
27598,
2083,
12,
474,
612,
13,
288,
3639,
3124,
2083,
284,
273,
394,
3124,
2083,
12,
2211,
16,
2634,
461,
12,
350,
3631,
612,
1769,
309,
261,
307,
287,
7503,
13,
288,
284,
18,
307,
287,
921,
5621,
289,
327,
284,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_t = __t1105;
|
_t = __t1106;
|
public final void setstate(AST _t) throws RecognitionException { AST setstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST head = null; AST __t1105 = _t; head = _t==ASTNULL ? null :(AST)_t; match(_t,SET); _t = _t.getFirstChild(); if ( inputState.guessing==0 ) { action.frameInitializingStatement(head); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STREAM: { stream_name(_t); _t = _retTree; break; } case EOF: case PERIOD: case EXCEPT: case GOON: case IN_KW: case NOERROR_KW: case UNLESSHIDDEN: case WITH: case Editing_phrase: case Form_item: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNLESSHIDDEN: { AST tmp1514_AST_in = (AST)_t; match(_t,UNLESSHIDDEN); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case EXCEPT: case GOON: case IN_KW: case NOERROR_KW: case WITH: case Editing_phrase: case Form_item: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1109: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { form_item(_t,CQ.UPDATING); _t = _retTree; } else { break _loop1109; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case GOON: { goonphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case EXCEPT: case IN_KW: case NOERROR_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t1112 = _t; AST tmp1515_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop1114: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld1(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop1114; } } while (true); } _t = __t1112; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case IN_KW: case NOERROR_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1116 = _t; AST tmp1516_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp1517_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1116; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case NOERROR_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case NOERROR_KW: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.frameStatementEnd(); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Editing_phrase: { editingphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp1518_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1105; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
444,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
444,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
910,
273,
446,
31,
9506,
202,
9053,
1001,
88,
17506,
25,
273,
389,
88,
31,
202,
202,
1978,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
4043,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
1128,
18,
3789,
29782,
3406,
12,
1978,
1769,
202,
202,
97,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
19917,
30,
202,
202,
95,
1082,
202,
3256,
67,
529,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6431,
30,
202,
202,
3593,
10950,
21054,
30,
202,
202,
3593,
5675,
14514,
30,
202,
202,
3593,
12389,
673,
30,
202,
202,
3593,
2120,
67,
30134,
30,
202,
202,
3593,
3741,
3589,
67,
30134,
30,
202,
202,
3593,
5019,
900,
12559,
18216,
30,
202,
202,
3593,
13601,
30,
202,
202,
3593,
15328,
310,
67,
9429,
30,
202,
202,
3593,
2748,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
444,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
444,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
910,
273,
446,
31,
9506,
202,
9053,
1001,
88,
17506,
25,
273,
389,
88,
31,
202,
202,
1978,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
4043,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
1128,
18,
3789,
29782,
3406,
12,
1978,
2
] |
} catch (NeutralException e) {}
|
} catch (NeutralException e) { }
|
protected String getExplanation() { String result = ""; SPF1Command searchCommand; for (int i = 0; i < spfMechanisms.size(); i++) { searchCommand = (SPF1Command) spfMechanisms.get(i); if (searchCommand.isCommand("exp")) { try { result = searchCommand.runExpCommand(); } catch (Exception e) { result = ""; } } } // if the domain has no explanation , generate one! if (result == null || result.equals("") ) { String explanation = "http://www.openspf.org/why.html?sender=%{S}&ip=%{I}"; try { return new MacroExpand(spfData).expandExplanation(explanation); } catch (NeutralException e) {} } return result; }
|
49306 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49306/6e6ffa12113fbe68883f640f9724043c8f2f5e9c/SPF1Record.java/buggy/src/main/java/org/apache/spf/SPF1Record.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
26246,
15854,
1435,
288,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
3118,
42,
21,
2189,
1623,
2189,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1694,
74,
4667,
28757,
18,
1467,
5621,
277,
27245,
288,
1082,
202,
3072,
2189,
273,
261,
3118,
42,
21,
2189,
13,
1694,
74,
4667,
28757,
18,
588,
12,
77,
1769,
1082,
202,
430,
261,
3072,
2189,
18,
291,
2189,
2932,
2749,
6,
3719,
288,
9506,
202,
698,
288,
6862,
202,
2088,
273,
1623,
2189,
18,
2681,
2966,
2189,
5621,
9506,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
202,
2088,
273,
1408,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
9506,
202,
759,
309,
326,
2461,
711,
1158,
21285,
269,
2103,
1245,
5,
202,
202,
430,
261,
2088,
422,
446,
747,
563,
18,
14963,
2932,
7923,
262,
288,
1082,
202,
780,
21285,
273,
315,
2505,
2207,
5591,
18,
20346,
14241,
18,
3341,
19,
3350,
93,
18,
2620,
35,
15330,
5095,
95,
55,
22705,
625,
5095,
95,
45,
1532,
31,
1082,
202,
698,
288,
9506,
202,
2463,
394,
31203,
12271,
12,
1752,
74,
751,
2934,
12320,
424,
15854,
12,
338,
15854,
1769,
1082,
202,
97,
1044,
261,
6586,
14566,
287,
503,
425,
13,
2618,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
26246,
15854,
1435,
288,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
3118,
42,
21,
2189,
1623,
2189,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1694,
74,
4667,
28757,
18,
1467,
5621,
277,
27245,
288,
1082,
202,
3072,
2189,
273,
261,
3118,
42,
21,
2189,
13,
1694,
74,
4667,
28757,
18,
588,
12,
77,
1769,
1082,
202,
430,
261,
3072,
2189,
18,
291,
2189,
2932,
2749,
6,
3719,
288,
9506,
202,
698,
288,
6862,
202,
2088,
273,
1623,
2189,
18,
2681,
2966,
2189,
5621,
9506,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
202,
2088,
273,
1408,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
9506,
2
] |
for (Enumeration i = getWeapons(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement();
|
for(Mounted mounted : getWeaponList()) {
|
public boolean isEligibleForTargetingPhase() { if(isAssaultDropInProgress()) { return false; } for (Enumeration i = getWeapons(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement(); WeaponType wtype = (WeaponType)mounted.getType(); if ((wtype != null) && (wtype.hasFlag(WeaponType.F_ARTILLERY))) { return true; } } return false; }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/Entity.java/clean/megamek/src/megamek/common/Entity.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
4958,
16057,
1290,
20898,
11406,
1435,
288,
3639,
309,
12,
291,
2610,
3714,
7544,
13434,
10756,
288,
5411,
327,
629,
31,
3639,
289,
3639,
364,
261,
21847,
277,
273,
336,
3218,
438,
7008,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
2868,
13076,
329,
20919,
273,
261,
8725,
329,
13,
77,
18,
4285,
1046,
5621,
2868,
1660,
28629,
559,
341,
723,
273,
261,
3218,
28629,
559,
13,
4778,
329,
18,
588,
559,
5621,
2868,
309,
14015,
91,
723,
480,
446,
13,
597,
261,
91,
723,
18,
5332,
4678,
12,
3218,
28629,
559,
18,
42,
67,
4928,
15125,
8404,
20349,
288,
5375,
327,
638,
31,
2868,
289,
1850,
289,
1850,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
4958,
16057,
1290,
20898,
11406,
1435,
288,
3639,
309,
12,
291,
2610,
3714,
7544,
13434,
10756,
288,
5411,
327,
629,
31,
3639,
289,
3639,
364,
261,
21847,
277,
273,
336,
3218,
438,
7008,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
2868,
13076,
329,
20919,
273,
261,
8725,
329,
13,
77,
18,
4285,
1046,
5621,
2868,
1660,
28629,
559,
341,
723,
273,
261,
3218,
28629,
559,
13,
4778,
329,
18,
588,
559,
5621,
2868,
309,
14015,
91,
723,
480,
446,
13,
597,
261,
91,
723,
18,
5332,
4678,
12,
3218,
28629,
559,
18,
42,
67,
4928,
15125,
8404,
20349,
288,
5375,
327,
638,
31,
2868,
289,
1850,
289,
1850,
327,
629,
31,
565,
289,
2
] |
boolean newSuccess = cvQualifier(d); if( newSuccess ) successful = true;
|
IToken newSuccess = cvQualifier(d); if( newSuccess != null ) successful = newSuccess;
|
protected void consumePointerOperators(Declarator d, boolean consumeOnlyOne) throws Backtrack { for( ; ; ) { int t = LT(1); if (t == IToken.tAMPER) { consume( IToken.tAMPER ); d.addPtrOp(ASTPointerOperator.REFERENCE); if( consumeOnlyOne ) return; continue; } IToken mark = mark(); IToken tokenType = LA(1); ITokenDuple nameDuple = null; if (t == IToken.tIDENTIFIER || t == IToken.tCOLONCOLON) { try { nameDuple = name(); } catch( Backtrack bt ) { backup( mark ); return; } t = LT(1); } if (t == IToken.tSTAR) { tokenType = consume(Token.tSTAR); // tokenType = "*" d.setPointerOperatorName(nameDuple); boolean successful = false; for (;;) { boolean newSuccess = cvQualifier(d); if( newSuccess ) successful = true; else break; } if( !successful ) { d.addPtrOp( ASTPointerOperator.POINTER ); } if( consumeOnlyOne ) return; continue; } backup(mark); return; } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/322dcaad49939895e0f66cffb7537bc6b968ebd3/Parser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
7865,
4926,
24473,
12,
31419,
302,
16,
1250,
7865,
3386,
3335,
13,
1216,
4297,
4101,
565,
288,
377,
202,
1884,
12,
274,
274,
262,
377,
202,
95,
202,
3639,
509,
268,
273,
11807,
12,
21,
1769,
202,
3639,
309,
261,
88,
422,
467,
1345,
18,
88,
2192,
3194,
13,
202,
3639,
288,
202,
540,
202,
21224,
12,
467,
1345,
18,
88,
2192,
3194,
11272,
3196,
5411,
302,
18,
1289,
5263,
3817,
12,
9053,
4926,
5592,
18,
14617,
1769,
202,
5411,
309,
12,
7865,
3386,
3335,
262,
327,
31,
202,
5411,
1324,
31,
202,
3639,
289,
202,
3639,
467,
1345,
2267,
273,
2267,
5621,
202,
3639,
467,
1345,
22302,
273,
2928,
12,
21,
1769,
202,
3639,
467,
1345,
40,
2268,
508,
40,
2268,
273,
446,
31,
202,
3639,
309,
261,
88,
422,
467,
1345,
18,
88,
16606,
747,
268,
422,
467,
1345,
18,
88,
4935,
673,
4935,
673,
13,
202,
3639,
288,
202,
540,
202,
698,
202,
540,
202,
95,
1082,
5411,
508,
40,
2268,
273,
508,
5621,
202,
540,
202,
97,
202,
540,
202,
14683,
12,
4297,
4101,
10921,
262,
202,
540,
202,
95,
202,
540,
202,
202,
9572,
12,
2267,
11272,
28277,
202,
202,
2463,
31,
202,
540,
202,
97,
202,
5411,
268,
273,
11807,
12,
21,
1769,
202,
3639,
289,
202,
3639,
309,
261,
88,
422,
467,
1345,
18,
88,
20943,
13,
202,
3639,
288,
202,
5411,
22302,
273,
7865,
12,
1345,
18,
88,
20943,
1769,
368,
22302,
273,
10971,
6862,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
7865,
4926,
24473,
12,
31419,
302,
16,
1250,
7865,
3386,
3335,
13,
1216,
4297,
4101,
565,
288,
377,
202,
1884,
12,
274,
274,
262,
377,
202,
95,
202,
3639,
509,
268,
273,
11807,
12,
21,
1769,
202,
3639,
309,
261,
88,
422,
467,
1345,
18,
88,
2192,
3194,
13,
202,
3639,
288,
202,
540,
202,
21224,
12,
467,
1345,
18,
88,
2192,
3194,
11272,
3196,
5411,
302,
18,
1289,
5263,
3817,
12,
9053,
4926,
5592,
18,
14617,
1769,
202,
5411,
309,
12,
7865,
3386,
3335,
262,
327,
31,
202,
5411,
1324,
31,
202,
3639,
289,
202,
3639,
467,
1345,
2267,
273,
2267,
5621,
202,
3639,
467,
1345,
22302,
273,
2928,
12,
21,
1769,
202,
3639,
467,
2
] |
public VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i)
|
public VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i)
|
public VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i) throws Exception { Class claz = obj.getClass(); VelPropertySet vs = null; VelMethod vm = null; try { /* * first, we introspect for the set<identifier> setter method */ Object[] params = {arg}; try { vm = getMethod(obj, "set" + identifier, params, i); if (vm == null) { throw new NoSuchMethodException(); } } catch(NoSuchMethodException nsme2) { StringBuffer sb = new StringBuffer("set"); sb.append(identifier); if (Character.isLowerCase( sb.charAt(3))) { sb.setCharAt(3, Character.toUpperCase(sb.charAt(3))); } else { sb.setCharAt(3, Character.toLowerCase(sb.charAt(3))); } vm = getMethod(obj, sb.toString(), params, i); if (vm == null) { throw new NoSuchMethodException(); } } } catch (NoSuchMethodException nsme) { /* * right now, we only support the Map interface */ if (Map.class.isAssignableFrom(claz)) { Object[] params = {new Object(), new Object()}; vm = getMethod(obj, "put", params, i); if (vm!=null) return new VelSetterImpl(vm, identifier); } } return (vm!=null) ? new VelSetterImpl(vm) : null; }
|
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e128e4125429834f73621c8aa67036ca877e731e/UberspectImpl.java/clean/src/java/org/apache/velocity/util/introspection/UberspectImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
776,
292,
1396,
694,
3911,
694,
12,
921,
1081,
16,
514,
2756,
16,
1033,
1501,
16,
3807,
277,
13,
5411,
1216,
1185,
565,
288,
3639,
1659,
927,
1561,
273,
1081,
18,
588,
797,
5621,
3639,
776,
292,
1396,
694,
6195,
273,
446,
31,
3639,
776,
292,
1305,
4268,
273,
446,
31,
3639,
775,
3639,
288,
5411,
1748,
2398,
380,
225,
1122,
16,
732,
30165,
364,
326,
444,
32,
5644,
34,
7794,
707,
2398,
1195,
5411,
1033,
8526,
859,
273,
288,
3175,
20451,
5411,
775,
5411,
288,
7734,
4268,
273,
6272,
12,
2603,
16,
315,
542,
6,
397,
2756,
16,
859,
16,
277,
1769,
7734,
309,
261,
3489,
422,
446,
13,
7734,
288,
10402,
604,
394,
15959,
5621,
7734,
289,
5411,
289,
5411,
1044,
12,
28341,
14513,
3153,
3501,
22,
13,
5411,
288,
7734,
6674,
2393,
273,
394,
6674,
2932,
542,
8863,
7734,
2393,
18,
6923,
12,
5644,
1769,
7734,
309,
261,
7069,
18,
291,
5630,
12,
2393,
18,
3001,
861,
12,
23,
20349,
7734,
288,
10792,
2393,
18,
542,
2156,
861,
12,
23,
16,
6577,
18,
869,
8915,
12,
18366,
18,
3001,
861,
12,
23,
3719,
1769,
7734,
289,
7734,
469,
7734,
288,
10792,
2393,
18,
542,
2156,
861,
12,
23,
16,
6577,
18,
869,
5630,
12,
18366,
18,
3001,
861,
12,
23,
3719,
1769,
7734,
289,
7734,
4268,
273,
6272,
12,
2603,
16,
2393,
18,
10492,
9334,
859,
16,
277,
1769,
7734,
309,
261,
3489,
422,
446,
13,
7734,
288,
10402,
604,
394,
15959,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
776,
292,
1396,
694,
3911,
694,
12,
921,
1081,
16,
514,
2756,
16,
1033,
1501,
16,
3807,
277,
13,
5411,
1216,
1185,
565,
288,
3639,
1659,
927,
1561,
273,
1081,
18,
588,
797,
5621,
3639,
776,
292,
1396,
694,
6195,
273,
446,
31,
3639,
776,
292,
1305,
4268,
273,
446,
31,
3639,
775,
3639,
288,
5411,
1748,
2398,
380,
225,
1122,
16,
732,
30165,
364,
326,
444,
32,
5644,
34,
7794,
707,
2398,
1195,
5411,
1033,
8526,
859,
273,
288,
3175,
20451,
5411,
775,
5411,
288,
7734,
4268,
273,
6272,
12,
2603,
16,
315,
542,
6,
397,
2756,
16,
859,
16,
277,
1769,
7734,
309,
261,
3489,
422,
446,
13,
7734,
288,
10402,
604,
394,
15959,
5621,
2
] |
InetAddress detectPrimaryIPAddress() {
|
FreenetInetAddress detectPrimaryIPAddress() {
|
InetAddress detectPrimaryIPAddress() { if(overrideIPAddress != null) { Logger.minor(this, "Returning overridden address: "+overrideIPAddress); lastIPAddress = overrideIPAddress; return overrideIPAddress; } Logger.minor(this, "IP address not overridden"); InetAddress addr = ipDetector.getAddress(); if(addr != null) { lastIPAddress = addr; return addr; } // Try to pick it up from our connections if(peers != null) { PeerNode[] peerList = peers.connectedPeers; HashMap countsByPeer = new HashMap(); // FIXME use a standard mutable int object, we have one somewhere for(int i=0;i<peerList.length;i++) { Peer p = peerList[i].getRemoteDetectedPeer(); if(p == null || p.isNull()) continue; InetAddress ip = p.getAddress(); if(!IPUtil.checkAddress(ip)) continue; if(countsByPeer.containsKey(ip)) { Integer count = (Integer) countsByPeer.get(ip); Integer newCount = new Integer(count.intValue()+1); countsByPeer.put(ip, newCount); } else { countsByPeer.put(ip, new Integer(1)); } } if(countsByPeer.size() == 0) return null; Iterator it = countsByPeer.keySet().iterator(); if(countsByPeer.size() == 1) { return (InetAddress) it.next(); } // Pick most popular address // FIXME use multi-homing here InetAddress best = null; int bestPopularity = 0; while(it.hasNext()) { InetAddress cur = (InetAddress) it.next(); int curPop = ((Integer) (countsByPeer.get(best))).intValue(); if(curPop > bestPopularity) { bestPopularity = curPop; best = cur; } } lastIPAddress = best; } else { lastIPAddress = oldIPAddress; } if (lastIPAddress == null) { this.alerts.register(primaryIPUndetectedAlert); } else { this.alerts.unregister(primaryIPUndetectedAlert); } return lastIPAddress; }
|
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/474d190c633c367c5c3ff7fbe0f75a1ea669294b/Node.java/buggy/src/freenet/node/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
478,
2842,
278,
382,
278,
1887,
5966,
6793,
22507,
1435,
288,
3639,
309,
12,
10601,
22507,
480,
446,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
28365,
11000,
1758,
30,
13773,
10601,
22507,
1769,
5411,
1142,
22507,
273,
3849,
22507,
31,
5411,
327,
3849,
22507,
31,
3639,
289,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
2579,
1758,
486,
11000,
8863,
3639,
202,
382,
278,
1887,
3091,
273,
2359,
12594,
18,
588,
1887,
5621,
3639,
202,
430,
12,
4793,
480,
446,
13,
288,
3639,
202,
202,
2722,
22507,
273,
3091,
31,
3639,
202,
202,
2463,
3091,
31,
3639,
202,
97,
565,
202,
202,
759,
6161,
358,
6002,
518,
731,
628,
3134,
5921,
3639,
202,
430,
12,
30502,
480,
446,
13,
288,
3639,
202,
202,
6813,
907,
8526,
4261,
682,
273,
10082,
18,
8537,
14858,
31,
3639,
202,
202,
8658,
6880,
858,
6813,
273,
394,
4317,
5621,
3639,
202,
202,
759,
9852,
999,
279,
4529,
16074,
509,
733,
16,
732,
1240,
1245,
22234,
3639,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
12210,
682,
18,
2469,
31,
77,
27245,
288,
3639,
1082,
202,
6813,
293,
273,
4261,
682,
63,
77,
8009,
588,
5169,
22614,
6813,
5621,
3639,
1082,
202,
430,
12,
84,
422,
446,
747,
293,
18,
291,
2041,
10756,
1324,
31,
3639,
1082,
202,
382,
278,
1887,
2359,
273,
293,
18,
588,
1887,
5621,
3639,
1082,
202,
430,
12,
5,
2579,
1304,
18,
1893,
1887,
12,
625,
3719,
1324,
31,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
478,
2842,
278,
382,
278,
1887,
5966,
6793,
22507,
1435,
288,
3639,
309,
12,
10601,
22507,
480,
446,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
28365,
11000,
1758,
30,
13773,
10601,
22507,
1769,
5411,
1142,
22507,
273,
3849,
22507,
31,
5411,
327,
3849,
22507,
31,
3639,
289,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
2579,
1758,
486,
11000,
8863,
3639,
202,
382,
278,
1887,
3091,
273,
2359,
12594,
18,
588,
1887,
5621,
3639,
202,
430,
12,
4793,
480,
446,
13,
288,
3639,
202,
202,
2722,
22507,
273,
3091,
31,
3639,
202,
202,
2463,
3091,
31,
3639,
202,
97,
565,
202,
202,
759,
6161,
358,
6002,
518,
731,
628,
3134,
5921,
3639,
202,
430,
12,
2
] |
imageEmitter = new HTMLImageEmitter( this ); pageSetupEmitter = new HTMLPageSetupEmitter( this ); tableEmitter = new HTMLTableEmitter( this ); textEmitter = new HTMLTextEmitter( this ); containerEmitter = new HTMLContainerEmitter( this );
|
imageEmitter = new HTMLImageEmitter( this, isEmbeddable ); pageSetupEmitter = new HTMLPageSetupEmitter( this, isEmbeddable ); tableEmitter = new HTMLTableEmitter( this, isEmbeddable ); textEmitter = new HTMLTextEmitter( this, isEmbeddable ); containerEmitter = new HTMLContainerEmitter( this, isEmbeddable );
|
public void initialize( IEmitterServices services ) { this.services = services; IRepository repository = services.getRepository( ); saveImgFile = ( services.getEngineMode( ) == IEmitterServices.ENGINE_STANDALONE_MODE ); writer = new HTMLWriter( ); resourceManager = new ResourceManager( repository ); if ( services.getEngineMode( ) == IEmitterServices.ENGINE_EMBEDDED_MODE ) hyperlinkProcessor = new EmbeddedHyperlinkProcessor( services .getBaseURL( ) ); else if ( services.getEngineMode( ) == IEmitterServices.ENGINE_STANDALONE_MODE ) hyperlinkProcessor = new DefaultHyperlinkProcessor( ); imageEmitter = new HTMLImageEmitter( this ); pageSetupEmitter = new HTMLPageSetupEmitter( this ); tableEmitter = new HTMLTableEmitter( this ); textEmitter = new HTMLTextEmitter( this ); containerEmitter = new HTMLContainerEmitter( this ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e2252ceb99e59335a6e8aa8661b5d99de8ec8d61/HTMLReportEmitter.java/buggy/engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
12,
467,
13476,
5676,
4028,
262,
202,
95,
202,
202,
2211,
18,
8387,
273,
4028,
31,
202,
202,
45,
3305,
3352,
273,
4028,
18,
588,
3305,
12,
11272,
202,
202,
5688,
12804,
812,
273,
261,
4028,
18,
588,
4410,
2309,
12,
262,
422,
467,
13476,
5676,
18,
28980,
67,
882,
4307,
1013,
5998,
67,
7038,
11272,
202,
202,
6299,
273,
394,
3982,
2289,
12,
11272,
202,
202,
3146,
1318,
273,
394,
2591,
1318,
12,
3352,
11272,
202,
202,
430,
261,
4028,
18,
588,
4410,
2309,
12,
262,
422,
467,
13476,
5676,
18,
28980,
67,
3375,
22235,
7660,
67,
7038,
262,
1082,
202,
17203,
1232,
5164,
273,
394,
21829,
15996,
1232,
5164,
12,
4028,
6862,
202,
18,
588,
29064,
12,
262,
11272,
202,
202,
12107,
309,
261,
4028,
18,
588,
4410,
2309,
12,
262,
422,
467,
13476,
5676,
18,
28980,
67,
882,
4307,
1013,
5998,
67,
7038,
262,
1082,
202,
17203,
1232,
5164,
273,
394,
2989,
15996,
1232,
5164,
12,
11272,
202,
202,
2730,
13476,
273,
394,
3982,
2040,
13476,
12,
333,
11272,
202,
202,
2433,
7365,
13476,
273,
394,
3982,
1964,
7365,
13476,
12,
333,
11272,
202,
202,
2121,
13476,
273,
394,
3982,
1388,
13476,
12,
333,
11272,
202,
202,
955,
13476,
273,
394,
3982,
1528,
13476,
12,
333,
11272,
202,
202,
3782,
13476,
273,
394,
3982,
2170,
13476,
12,
333,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
12,
467,
13476,
5676,
4028,
262,
202,
95,
202,
202,
2211,
18,
8387,
273,
4028,
31,
202,
202,
45,
3305,
3352,
273,
4028,
18,
588,
3305,
12,
11272,
202,
202,
5688,
12804,
812,
273,
261,
4028,
18,
588,
4410,
2309,
12,
262,
422,
467,
13476,
5676,
18,
28980,
67,
882,
4307,
1013,
5998,
67,
7038,
11272,
202,
202,
6299,
273,
394,
3982,
2289,
12,
11272,
202,
202,
3146,
1318,
273,
394,
2591,
1318,
12,
3352,
11272,
202,
202,
430,
261,
4028,
18,
588,
4410,
2309,
12,
262,
422,
467,
13476,
5676,
18,
28980,
67,
3375,
22235,
7660,
67,
7038,
262,
1082,
202,
17203,
1232,
5164,
273,
394,
21829,
15996,
1232,
5164,
12,
4028,
6862,
2
] |
throw getRuntime().newNameError("`" + varName + "' is not allowable as an instance variable name");
|
throw getRuntime().newNameError("`" + varName + "' is not allowable as an instance variable name", varName);
|
public IRubyObject instance_variable_set(IRubyObject var, IRubyObject value) { String varName = var.asSymbol(); if (!varName.startsWith("@")) { throw getRuntime().newNameError("`" + varName + "' is not allowable as an instance variable name"); } return setInstanceVariable(var.asSymbol(), value); }
|
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/1278c5bb3507a052d150d814f15453542ae41aed/RubyObject.java/clean/src/org/jruby/RubyObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
791,
67,
6105,
67,
542,
12,
7937,
10340,
921,
569,
16,
15908,
10340,
921,
460,
13,
288,
377,
202,
780,
13722,
273,
569,
18,
345,
5335,
5621,
377,
202,
430,
16051,
1401,
461,
18,
17514,
1190,
2932,
27614,
3719,
288,
377,
202,
202,
12849,
18814,
7675,
2704,
461,
668,
2932,
17039,
397,
13722,
397,
2491,
353,
486,
30727,
487,
392,
791,
2190,
508,
3113,
13722,
1769,
377,
202,
97,
377,
202,
2463,
444,
1442,
3092,
12,
1401,
18,
345,
5335,
9334,
460,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
791,
67,
6105,
67,
542,
12,
7937,
10340,
921,
569,
16,
15908,
10340,
921,
460,
13,
288,
377,
202,
780,
13722,
273,
569,
18,
345,
5335,
5621,
377,
202,
430,
16051,
1401,
461,
18,
17514,
1190,
2932,
27614,
3719,
288,
377,
202,
202,
12849,
18814,
7675,
2704,
461,
668,
2932,
17039,
397,
13722,
397,
2491,
353,
486,
30727,
487,
392,
791,
2190,
508,
3113,
13722,
1769,
377,
202,
97,
377,
202,
2463,
444,
1442,
3092,
12,
1401,
18,
345,
5335,
9334,
460,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (getLogger().isDebugEnabled()) getLogger().debug("done rolling back"); String prefix = (String) this.settings.get("key-prefix", PREFIX ); if (prefix!="") { ObjectModelHelper.getRequest(objectModel).setAttribute(prefix+":",e.getMessage());
|
String prefix = (String) this.settings.get("key-prefix", PREFIX); if (prefix.equals("")) { request.setAttribute("errorMessage", e.getMessage());
|
public void rollback( Configuration modeConf, Map objectModel, Exception e ) { if (this.settings.get("isolation-level","0").equals("1")) { if (getLogger().isDebugEnabled()) getLogger().debug("rolling back"); this.rollback(objectModel, TRANS_PREFIX); } else { if (getLogger().isDebugEnabled()) getLogger().debug("start rolling back"); Request request = ObjectModelHelper.getRequest(objectModel); Object tmp = this.prepareCommit(objectModel,ROLLBACK_LIST); if (tmp != null) { Map rollbackList = (Map) tmp; Iterator iter = rollbackList.keySet().iterator(); while(iter.hasNext()) { String key = (String) iter.next(); Object val = rollbackList.get(key); if (val != null) { if (getLogger().isDebugEnabled()) getLogger().debug("rolling back ['"+key+"'] to ['"+val+"']"); request.setAttribute(key, val); } else { if (getLogger().isDebugEnabled()) getLogger().debug("rolling back ['"+key+"']"); request.removeAttribute(key); } } } } if (getLogger().isDebugEnabled()) getLogger().debug("done rolling back"); String prefix = (String) this.settings.get("key-prefix", PREFIX ); if (prefix!="") { ObjectModelHelper.getRequest(objectModel).setAttribute(prefix+":",e.getMessage()); } else { ObjectModelHelper.getRequest(objectModel).setAttribute("errorMessage",e.getMessage()); } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/d1c2d6218fff2ebecf72d01d6e78afaf727c5f8d/RequestAttributeOutputModule.java/buggy/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8006,
12,
4659,
1965,
3976,
16,
1635,
733,
1488,
16,
1185,
425,
262,
288,
3639,
309,
261,
2211,
18,
4272,
18,
588,
2932,
291,
12255,
17,
2815,
15937,
20,
20387,
14963,
2932,
21,
6,
3719,
288,
5411,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
7734,
7156,
7675,
4148,
2932,
15742,
1473,
8863,
5411,
333,
18,
20050,
12,
1612,
1488,
16,
28093,
67,
6307,
1769,
3639,
289,
469,
288,
5411,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
7734,
7156,
7675,
4148,
2932,
1937,
21793,
1473,
8863,
13491,
1567,
590,
273,
1033,
1488,
2276,
18,
588,
691,
12,
1612,
1488,
1769,
5411,
1033,
1853,
273,
333,
18,
9366,
5580,
12,
1612,
1488,
16,
14555,
8720,
67,
7085,
1769,
5411,
309,
261,
5645,
480,
446,
13,
288,
7734,
1635,
8006,
682,
273,
261,
863,
13,
1853,
31,
7734,
4498,
1400,
273,
8006,
682,
18,
856,
694,
7675,
9838,
5621,
7734,
1323,
12,
2165,
18,
5332,
2134,
10756,
288,
10792,
514,
498,
273,
261,
780,
13,
1400,
18,
4285,
5621,
10792,
1033,
1244,
273,
8006,
682,
18,
588,
12,
856,
1769,
10792,
309,
261,
1125,
480,
446,
13,
288,
13491,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
18701,
7156,
7675,
4148,
2932,
15742,
1473,
306,
4970,
15,
856,
9078,
3546,
358,
306,
4970,
15,
1125,
9078,
3546,
8863,
13491,
590,
18,
542,
1499,
12,
856,
16,
1244,
1769,
10792,
289,
469,
288,
13491,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8006,
12,
4659,
1965,
3976,
16,
1635,
733,
1488,
16,
1185,
425,
262,
288,
3639,
309,
261,
2211,
18,
4272,
18,
588,
2932,
291,
12255,
17,
2815,
15937,
20,
20387,
14963,
2932,
21,
6,
3719,
288,
5411,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
7734,
7156,
7675,
4148,
2932,
15742,
1473,
8863,
5411,
333,
18,
20050,
12,
1612,
1488,
16,
28093,
67,
6307,
1769,
3639,
289,
469,
288,
5411,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
7734,
7156,
7675,
4148,
2932,
1937,
21793,
1473,
8863,
13491,
1567,
590,
273,
1033,
1488,
2276,
18,
588,
691,
12,
1612,
1488,
1769,
5411,
1033,
1853,
273,
333,
18,
9366,
5580,
12,
1612,
1488,
16,
14555,
2
] |
WordRelation wordRelation) { expandLargeNumber(numberString, "billion", 9, wordRelation);
|
WordRelation wordRelation,Item tokenItem) { expandLargeNumber(numberString, "billion", 9, wordRelation, tokenItem);
|
private static void expandBelow13DigitNumber(String numberString, WordRelation wordRelation) { expandLargeNumber(numberString, "billion", 9, wordRelation); }
|
48071 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48071/460d07833503253a5c476790f8921bd1e3c702a9/NumberExpander.java/clean/java/de/dfki/lt/mary/modules/en/NumberExpander.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4542,
28730,
3437,
10907,
1854,
12,
780,
1300,
780,
16,
6862,
1082,
9926,
3963,
2076,
3963,
13,
288,
202,
12320,
20020,
1854,
12,
2696,
780,
16,
315,
17240,
285,
3113,
2468,
16,
2076,
3963,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4542,
28730,
3437,
10907,
1854,
12,
780,
1300,
780,
16,
6862,
1082,
9926,
3963,
2076,
3963,
13,
288,
202,
12320,
20020,
1854,
12,
2696,
780,
16,
315,
17240,
285,
3113,
2468,
16,
2076,
3963,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
addBean(key, dictionary.get(key));
|
try { Object val = dictionary.get(key); addBean(key, val); } catch (BuildException ex) { }
|
public void addBeans(Map dictionary) { for (Iterator i = dictionary.keySet().iterator(); i.hasNext();) { String key = (String) i.next(); addBean(key, dictionary.get(key)); } }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/b3d2f33791994d168cbe92642f879e6087a6e712/ScriptRunner.java/buggy/src/main/org/apache/tools/ant/util/ScriptRunner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
14495,
12,
863,
3880,
13,
288,
3639,
364,
261,
3198,
277,
273,
3880,
18,
856,
694,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
514,
498,
273,
261,
780,
13,
277,
18,
4285,
5621,
5411,
775,
288,
1033,
1244,
273,
3880,
18,
588,
12,
856,
1769,
527,
3381,
12,
856,
16,
1244,
1769,
289,
1044,
261,
3116,
503,
431,
13,
288,
377,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
14495,
12,
863,
3880,
13,
288,
3639,
364,
261,
3198,
277,
273,
3880,
18,
856,
694,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
514,
498,
273,
261,
780,
13,
277,
18,
4285,
5621,
5411,
775,
288,
1033,
1244,
273,
3880,
18,
588,
12,
856,
1769,
527,
3381,
12,
856,
16,
1244,
1769,
289,
1044,
261,
3116,
503,
431,
13,
288,
377,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sbuf.append("'").append(df.format(x)).append('.').append(decimal).append("+00'");
|
sbuf.append("'"); int l_year = x.getYear() + 1900; sbuf.append(l_year); sbuf.append('-'); int l_month = x.getMonth() + 1; if (l_month < 10) sbuf.append('0'); sbuf.append(l_month); sbuf.append('-'); int l_day = x.getDate(); if (l_day < 10) sbuf.append('0'); sbuf.append(l_day); sbuf.append(' '); int l_hours = x.getHours(); if (l_hours < 10) sbuf.append('0'); sbuf.append(l_hours); sbuf.append(':'); int l_minutes = x.getMinutes(); if (l_minutes < 10) sbuf.append('0'); sbuf.append(l_minutes); sbuf.append(':'); int l_seconds = x.getSeconds(); if (l_seconds < 10) sbuf.append('0'); sbuf.append(l_seconds); char[] l_decimal = {'0','0','0','0','0','0','0','0','0'}; char[] l_nanos = Integer.toString(x.getNanos()).toCharArray(); System.arraycopy(l_nanos, 0, l_decimal, l_decimal.length - l_nanos.length, l_nanos.length); sbuf.append('.'); if (connection.haveMinimumServerVersion("7.2")) { sbuf.append(l_decimal,0,6); } else { sbuf.append(l_decimal,0,2); } int l_offset = -(x.getTimezoneOffset()); int l_houros = l_offset/60; if (l_houros >= 0) { sbuf.append('+'); } else { sbuf.append('-'); } if (l_houros > -10 && l_houros < 10) sbuf.append('0'); if (l_houros >= 0) { sbuf.append(l_houros); } else { sbuf.append(-l_houros); } int l_minos = l_offset - (l_houros *60); if (l_minos != 0) { if (l_minos < 10) sbuf.append('0'); sbuf.append(l_minos); } sbuf.append("'");
|
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { if (null == x) { setNull(parameterIndex, Types.OTHER); } else { SimpleDateFormat df = (SimpleDateFormat) tl_tsdf.get(); if (df == null) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("GMT")); tl_tsdf.set(df); } // Make decimal from nanos. StringBuffer decimal = new StringBuffer("000000000"); // max nanos length String nanos = String.valueOf(x.getNanos()); decimal.setLength(decimal.length() - nanos.length()); decimal.append(nanos); if (! connection.haveMinimumServerVersion("7.2")) { // Because 7.1 include bug that "hh:mm:59.999" becomes "hh:mm:60.00". decimal.setLength(2); } // Use the shared StringBuffer synchronized (sbuf) { sbuf.setLength(0); sbuf.append("'").append(df.format(x)).append('.').append(decimal).append("+00'"); set(parameterIndex, sbuf.toString()); } // The above works, but so does the following. I'm leaving the above in, but this seems // to be identical. Pays to read the docs ;-) //set(parameterIndex,"'"+x.toString()+"'"); } }
|
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/cdebcad6af70ec13bd89f11cf7f3d8b7d5278f50/PreparedStatement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25251,
12,
474,
25412,
16,
8159,
619,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2011,
422,
619,
13,
202,
202,
95,
1082,
202,
542,
2041,
12,
6775,
1016,
16,
7658,
18,
23940,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
5784,
11878,
3013,
273,
261,
5784,
11878,
13,
8332,
67,
3428,
2180,
18,
588,
5621,
1082,
202,
430,
261,
2180,
422,
446,
13,
1082,
202,
95,
9506,
202,
2180,
273,
394,
17005,
2932,
17722,
17,
8206,
17,
449,
20842,
30,
7020,
30,
1049,
8863,
9506,
202,
2180,
18,
542,
16760,
12,
16760,
18,
588,
16760,
2932,
25315,
7923,
1769,
9506,
202,
6172,
67,
3428,
2180,
18,
542,
12,
2180,
1769,
1082,
202,
97,
1082,
202,
759,
4344,
6970,
628,
22865,
18,
1082,
202,
780,
1892,
6970,
273,
394,
6674,
2932,
2787,
11706,
8863,
202,
759,
943,
22865,
769,
1082,
202,
780,
22865,
273,
514,
18,
1132,
951,
12,
92,
18,
588,
15739,
10663,
13491,
6970,
18,
542,
1782,
12,
12586,
18,
2469,
1435,
300,
22865,
18,
2469,
10663,
1082,
202,
12586,
18,
6923,
12,
13569,
538,
1769,
1082,
202,
430,
16051,
1459,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
22,
6,
3719,
288,
9506,
202,
759,
15191,
2371,
18,
21,
2341,
7934,
716,
315,
21622,
30,
7020,
30,
6162,
18,
11984,
6,
12724,
315,
21622,
30,
7020,
30,
4848,
18,
713,
9654,
9506,
202,
12586,
18,
542,
1782,
12,
22,
1769,
1082,
202,
97,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25251,
12,
474,
25412,
16,
8159,
619,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2011,
422,
619,
13,
202,
202,
95,
1082,
202,
542,
2041,
12,
6775,
1016,
16,
7658,
18,
23940,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
5784,
11878,
3013,
273,
261,
5784,
11878,
13,
8332,
67,
3428,
2180,
18,
588,
5621,
1082,
202,
430,
261,
2180,
422,
446,
13,
1082,
202,
95,
9506,
202,
2180,
273,
394,
17005,
2932,
17722,
17,
8206,
17,
449,
20842,
30,
7020,
30,
1049,
8863,
9506,
202,
2180,
18,
542,
16760,
12,
16760,
18,
588,
16760,
2932,
25315,
7923,
1769,
9506,
202,
6172,
67,
3428,
2180,
18,
542,
12,
2180,
2
] |
int c;
|
protected int dotNumber() throws IOException { int c; loop: for (;;) { switch (c = inputBuffer.next()) { default: break loop; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': } } return numberUnit(c, false); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/9275bbcced0ae3e1d23dc6e4de73913cf9ca452f/Scanner.java/buggy/sources/org/apache/batik/css/parser/Scanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3928,
1854,
1435,
1216,
1860,
288,
9079,
2798,
30,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
810,
1892,
18,
4285,
10756,
288,
5411,
805,
30,
7734,
898,
2798,
31,
5411,
648,
296,
20,
4278,
648,
296,
21,
4278,
648,
296,
22,
4278,
648,
296,
23,
4278,
648,
296,
24,
4278,
5411,
648,
296,
25,
4278,
648,
296,
26,
4278,
648,
296,
27,
4278,
648,
296,
28,
4278,
648,
296,
29,
4278,
5411,
289,
3639,
289,
3639,
327,
1300,
2802,
12,
71,
16,
629,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3928,
1854,
1435,
1216,
1860,
288,
9079,
2798,
30,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
810,
1892,
18,
4285,
10756,
288,
5411,
805,
30,
7734,
898,
2798,
31,
5411,
648,
296,
20,
4278,
648,
296,
21,
4278,
648,
296,
22,
4278,
648,
296,
23,
4278,
648,
296,
24,
4278,
5411,
648,
296,
25,
4278,
648,
296,
26,
4278,
648,
296,
27,
4278,
648,
296,
28,
4278,
648,
296,
29,
4278,
5411,
289,
3639,
289,
3639,
327,
1300,
2802,
12,
71,
16,
629,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
break;
|
this.noMoreWicketHeadTagsAllowed = true;
|
private final int nextHeaderMarkup(final MarkupStream associatedMarkupStream) { // No associated markup => no header section if (associatedMarkupStream == null) { return -1; } // Scan the markup for <wicket:head>. MarkupElement elem = associatedMarkupStream.get(); while (elem != null) { if (elem instanceof WicketTag) { WicketTag tag = (WicketTag)elem; if (tag.isOpen() && tag.isHeadTag()) { return associatedMarkupStream.getCurrentIndex(); } // wicket:head must be before border, panel or extend else if (tag.isOpen() && (tag.isPanelTag() || tag.isBorderTag() || tag.isExtendTag())) { break; } } else if (elem instanceof ComponentTag) { ComponentTag tag = (ComponentTag)elem; // wicket:head must be before </head> if (tag.isClose() && TagUtils.isHeadTag(tag)) { break; } // wicket:head must be before <body> else if (tag.isOpen() && TagUtils.isBodyTag(tag)) { break; } } elem = associatedMarkupStream.next(); } // No (more) wicket:head found return -1; }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/575786997e66406049c69610ce1d981d123603c3/ContainerWithAssociatedMarkupHelper.java/buggy/wicket/src/java/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
509,
1024,
1864,
13111,
12,
6385,
26420,
1228,
3627,
13111,
1228,
13,
202,
95,
202,
202,
759,
2631,
3627,
9813,
516,
1158,
1446,
2442,
202,
202,
430,
261,
28441,
13111,
1228,
422,
446,
13,
202,
202,
95,
1082,
202,
2463,
300,
21,
31,
202,
202,
97,
202,
202,
759,
8361,
326,
9813,
364,
411,
91,
29378,
30,
1978,
18652,
202,
202,
13111,
1046,
3659,
273,
3627,
13111,
1228,
18,
588,
5621,
202,
202,
17523,
261,
10037,
480,
446,
13,
202,
202,
95,
1082,
202,
430,
261,
10037,
1276,
678,
29378,
1805,
13,
1082,
202,
95,
9506,
202,
59,
29378,
1805,
1047,
273,
261,
59,
29378,
1805,
13,
10037,
31,
9506,
202,
430,
261,
2692,
18,
291,
3678,
1435,
597,
1047,
18,
291,
1414,
1805,
10756,
9506,
202,
95,
6862,
202,
2463,
3627,
13111,
1228,
18,
588,
3935,
1016,
5621,
9506,
202,
97,
9506,
202,
759,
341,
29378,
30,
1978,
1297,
506,
1865,
5795,
16,
6594,
578,
2133,
9506,
202,
12107,
309,
261,
2692,
18,
291,
3678,
1435,
25083,
202,
10,
10,
261,
2692,
18,
291,
5537,
1805,
1435,
747,
1047,
18,
291,
8107,
1805,
1435,
747,
1047,
18,
291,
16675,
1805,
1435,
3719,
9506,
202,
95,
6862,
202,
8820,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
309,
261,
10037,
1276,
5435,
1805,
13,
1082,
202,
95,
9506,
202,
1841,
1805,
1047,
273,
261,
1841,
1805,
13,
10037,
31,
9506,
202,
759,
341,
29378,
30,
1978,
1297,
506,
1865,
7765,
1978,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
509,
1024,
1864,
13111,
12,
6385,
26420,
1228,
3627,
13111,
1228,
13,
202,
95,
202,
202,
759,
2631,
3627,
9813,
516,
1158,
1446,
2442,
202,
202,
430,
261,
28441,
13111,
1228,
422,
446,
13,
202,
202,
95,
1082,
202,
2463,
300,
21,
31,
202,
202,
97,
202,
202,
759,
8361,
326,
9813,
364,
411,
91,
29378,
30,
1978,
18652,
202,
202,
13111,
1046,
3659,
273,
3627,
13111,
1228,
18,
588,
5621,
202,
202,
17523,
261,
10037,
480,
446,
13,
202,
202,
95,
1082,
202,
430,
261,
10037,
1276,
678,
29378,
1805,
13,
1082,
202,
95,
9506,
202,
59,
29378,
1805,
1047,
273,
261,
59,
29378,
1805,
13,
10037,
31,
9506,
202,
430,
261,
2692,
18,
2
] |
activityMap.put("/loanAccountAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-cancelChangeLog", SecurityConstants.VIEW);
|
activityMap.put("/loanAccountAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-cancelChangeLog", SecurityConstants.VIEW);
|
private ActivityMapper() { //m2 search action activityMap.put("/custSearchAction-loadSearch", SecurityConstants.VIEW); activityMap.put("/custSearchAction-search", SecurityConstants.VIEW); activityMap.put("/custSearchAction-load", SecurityConstants.VIEW); activityMap.put("/custSearchAction-loadMainSearch", SecurityConstants.VIEW); activityMap.put("/custSearchAction-mainSearch", SecurityConstants.VIEW); activityMap.put("/custSearchAction-getHomePage", SecurityConstants.VIEW); activityMap.put("/AdminAction-load", SecurityConstants.VIEW); activityMap.put("/custSearchAction-loadAllBranches", SecurityConstants.VIEW); activityMap.put("/custSearchAction-get", SecurityConstants.VIEW); activityMap.put("/custSearchAction-preview", SecurityConstants.VIEW); activityMap.put("/custSearchAction-getOfficeHomePage", SecurityConstants.VIEW); // customer serach action activityMap.put("/CustomerSearchAction-load", SecurityConstants.VIEW); activityMap.put("/CustomerSearchAction-search", SecurityConstants.SEARCH); activityMap.put("/CustomerSearchAction-preview", SecurityConstants.SEARCH); activityMap.put("/CustomerSearchAction-get", SecurityConstants.SEARCH); activityMap.put("/CustomerSearchAction-getHomePage", SecurityConstants.VIEW); activityMap.put("/CustomerSearchAction-getOfficeHomePage", SecurityConstants.VIEW); activityMap.put("/CustomerSearchAction-loadAllBranches", SecurityConstants.VIEW); activityMap.put("/loginAction-logout", SecurityConstants.VIEW); activityMap.put("/loginAction-updatePassword", SecurityConstants.VIEW); // Office related mapping activityMap.put("/OfficeAction-loadall", SecurityConstants.VIEW); activityMap.put("/OfficeAction-load", SecurityConstants.OFFICE_CREATE_OFFICE); activityMap.put("/OfficeAction-loadParent", SecurityConstants.VIEW); activityMap.put("/OfficeAction-preview", SecurityConstants.VIEW); activityMap.put("/OfficeAction-create", SecurityConstants.OFFICE_CREATE_OFFICE); activityMap.put("/OfficeAction-get", SecurityConstants.VIEW); activityMap.put("/OfficeAction-manage", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/OfficeAction-previous", SecurityConstants.VIEW); activityMap.put("/OfficeAction-update", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap .put("/OfficeHierarchyAction-cancel", SecurityConstants.VIEW); activityMap.put("/OfficeHierarchyAction-load", SecurityConstants.VIEW); activityMap.put("/OfficeHierarchyAction-update", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/offhierarchyaction-cancel", SecurityConstants.VIEW); activityMap.put("/offhierarchyaction-load", SecurityConstants.VIEW); activityMap.put("/offhierarchyaction-update",SecurityConstants.OFFICE_HIERATCHY_UPDATE); //m2 office action activityMap.put("/offAction-load", SecurityConstants.OFFICE_CREATE_OFFICE); activityMap.put("/offAction-loadParent", SecurityConstants.VIEW); activityMap.put("/offAction-preview", SecurityConstants.VIEW); activityMap.put("/offAction-previous", SecurityConstants.VIEW); activityMap.put("/offAction-create", SecurityConstants.OFFICE_CREATE_OFFICE); activityMap.put("/offAction-get", SecurityConstants.VIEW); activityMap.put("/offAction-edit", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/offAction-editpreview", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/offAction-editprevious", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/offAction-update", SecurityConstants.OFFICE_EDIT_OFFICE); activityMap.put("/offAction-getAllOffices", SecurityConstants.VIEW); // roles and permission related mappings activityMap.put("/manageRolesAndPermission-manage", SecurityConstants.VIEW); activityMap .put("/manageRolesAndPermission-get", SecurityConstants.VIEW); activityMap.put("/manageRolesAndPermission-load", SecurityConstants.ROLES_CREATE_ROLES); activityMap.put("/manageRolesAndPermission-create", SecurityConstants.ROLES_CREATE_ROLES); activityMap.put("/manageRolesAndPermission-update", SecurityConstants.ROLES_EDIT_ROLES); activityMap.put("/manageRolesAndPermission-cancel", SecurityConstants.VIEW); activityMap.put("/manageRolesAndPermission-preview", SecurityConstants.ROLES_DELETE_ROLES); activityMap.put("/manageRolesAndPermission-delete", SecurityConstants.ROLES_DELETE_ROLES); // Group ralated mappings // activities related to create group activityMap.put("/GroupAction-chooseOffice", SecurityConstants.VIEW); activityMap.put("/GroupAction-hierarchyCheck", SecurityConstants.VIEW); activityMap.put("/GroupAction-load", SecurityConstants.VIEW); activityMap.put("/GroupAction-loadMeeting", SecurityConstants.MEETING_CREATE_GROUP_MEETING); activityMap.put("/GroupAction-setDefaultFormedByPersonnel", SecurityConstants.VIEW); activityMap.put("/GroupAction-previous", SecurityConstants.VIEW); activityMap.put("/GroupAction-preview", SecurityConstants.VIEW); activityMap.put("/GroupAction-create", SecurityConstants.VIEW); activityMap.put("/GroupAction-search", SecurityConstants.VIEW); // activities related to retrieve group for Group Module activityMap.put("/GroupAction-getDetails", SecurityConstants.VIEW); activityMap.put("/GroupAction-get", SecurityConstants.VIEW); // activities related to update group status for Group Module activityMap.put("/GroupAction-loadStatus", SecurityConstants.VIEW); activityMap.put("/GroupAction-updateStatus", SecurityConstants.VIEW); // activities related to update group for Group Module activityMap.put("/GroupAction-manage", SecurityConstants.GROUP_EDIT_GROUP); activityMap.put("/GroupAction-update", SecurityConstants.GROUP_EDIT_GROUP); // activities related to change center membership for Group Module activityMap.put("/GroupAction-loadParentTransfer", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/GroupAction-confirmParentTransfer", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/GroupAction-updateParent", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); // activities related to change center membership for Group Module activityMap.put("/GroupAction-loadParentTransfer", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/GroupAction-confirmParentTransfer", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/GroupAction-updateParent", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); // activities related to transfer the group for Group Module activityMap.put("/GroupAction-loadTransfer", SecurityConstants.GROUP_TRANSFER_THE_GROUP); activityMap.put("/GroupAction-confirmBranchTransfer", SecurityConstants.GROUP_TRANSFER_THE_GROUP); activityMap.put("/GroupAction-updateBranch", SecurityConstants.GROUP_TRANSFER_THE_GROUP); // apply charges activityMap.put("/closedaccsearchaction-search", SecurityConstants.GROUP_APPLY_CHARGES_TO_GROUP_ACCOUNT); activityMap.put("/GroupAction-loadSearch", SecurityConstants.VIEW); // Customer Notes related mapping // activityMap.put("/CustomerNoteAction-load",SecurityConstants.CUSTOMER_ADD_NOTES_TO_CENTER_GROUP_CLIENT); activityMap.put("/CustomerNoteAction-preview", SecurityConstants.VIEW); activityMap.put("/CustomerNoteAction-previous", SecurityConstants.VIEW); activityMap.put("/CustomerNoteAction-create", SecurityConstants.VIEW); activityMap.put("/CustomerNoteAction-get", SecurityConstants.VIEW); activityMap.put("/CustomerNoteAction-search", SecurityConstants.VIEW); // mapping for group activityMap.put("/CustomerNoteAction-load-Group", SecurityConstants.GROUP_ADD_NOTE_TO_GROUP); activityMap.put("/CustomerNoteAction-load-Client", SecurityConstants.CLIENT_ADD_NOTE_TO_CLIENT); activityMap.put("/CustomerNoteAction-load-Center", SecurityConstants.CENTER_ADD_NOTE_TO_CENTER); // Customer Historical Data related mapping activityMap.put("/CustomerHistoricalDataAction-load-Group", SecurityConstants.GROUP_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/CustomerHistoricalDataAction-load-Client", SecurityConstants.CIENT_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/CustomerHistoricalDataAction-get", SecurityConstants.VIEW); activityMap.put("/CustomerHistoricalDataAction-preview", SecurityConstants.VIEW); activityMap.put("/CustomerHistoricalDataAction-previous", SecurityConstants.VIEW); activityMap.put("/CustomerHistoricalDataAction-update", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-load-Group", SecurityConstants.GROUP_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/custHistoricalDataAction-load-Client", SecurityConstants.CIENT_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/custHistoricalDataAction-get", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-preview", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-previous", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-update", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-loadHistoricalData-Group", SecurityConstants.GROUP_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/custHistoricalDataAction-loadHistoricalData-Client", SecurityConstants.CIENT_ADD_EDIT_HISTORICAL_DATA); activityMap.put("/custHistoricalDataAction-getHistoricalData", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-previewHistoricalData", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-previousHistoricalData", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-updateHistoricalData", SecurityConstants.VIEW); activityMap.put("/custHistoricalDataAction-cancelHistoricalData", SecurityConstants.VIEW); // personnel related mappings activityMap.put("/PersonnelAction-chooseOffice", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonnelAction-load", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonnelAction-preview", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-previous", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-create", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonnelAction-get", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-manage", SecurityConstants.PERSONNEL_EDIT_PERSONNEL); activityMap.put("/PersonnelAction-update", SecurityConstants.PERSONNEL_EDIT_PERSONNEL); activityMap.put("/PersonnelAction-loadSearch", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-search", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-loadUnLockUser", SecurityConstants.PERSONNEL_UNLOCK_PERSONNEL); activityMap.put("/PersonnelAction-unLockUserAccount", SecurityConstants.PERSONNEL_UNLOCK_PERSONNEL); //m2 personnel related mappings activityMap.put("/PersonAction-get",SecurityConstants.VIEW); activityMap.put("/PersonAction-loadSearch",SecurityConstants.VIEW); activityMap.put("/PersonAction-search",SecurityConstants.VIEW); activityMap.put("/PersonAction-chooseOffice", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonAction-load", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonAction-manage", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/PersonAction-previewManage", SecurityConstants.VIEW); activityMap.put("/PersonAction-previousManage", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/PersonAction-update", SecurityConstants.PERSONNEL_EDIT_PERSONNEL); activityMap.put("/PersonnelAction-prevPersonalInfo", SecurityConstants.VIEW); activityMap.put("/PersonAction-preview", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonAction-previous", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonAction-create", SecurityConstants.PERSONNEL_CREATE_PERSONNEL); activityMap.put("/PersonAction-loadUnLockUser", SecurityConstants.PERSONNEL_UNLOCK_PERSONNEL); activityMap.put("/PersonAction-unLockUserAccount", SecurityConstants.PERSONNEL_UNLOCK_PERSONNEL); activityMap.put("/PersonAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/PersonAction-cancelChangeLog", SecurityConstants.VIEW); // for your settings link activityMap.put("/PersonnelAction-getDetails", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-editPersonalInfo", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/PersonnelAction-previewPersonalInfo", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-prevPersonalInfo", SecurityConstants.VIEW); activityMap.put("/PersonnelAction-updateSettings", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/PersonnelAction-loadChangePassword", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/PersonnelNotesAction-load", SecurityConstants.PERSONNEL_EDIT_PERSONNEL); activityMap .put("/PersonnelNotesAction-preview", SecurityConstants.VIEW); activityMap.put("/PersonnelNotesAction-previous", SecurityConstants.VIEW); activityMap.put("/PersonnelNotesAction-create", SecurityConstants.PERSONNEL_EDIT_PERSONNEL); activityMap.put("/PersonnelNotesAction-search", SecurityConstants.VIEW); activityMap.put("/PersonnelNotesAction-get", SecurityConstants.VIEW); //M2 personnel notes activityMap.put("/personnelNoteAction-load",SecurityConstants.PERSONNEL_NOTE_CREATE); activityMap.put("/personnelNoteAction-preview", SecurityConstants.VIEW); activityMap.put("/personnelNoteAction-previous",SecurityConstants.VIEW); activityMap.put("/personnelNoteAction-create",SecurityConstants.PERSONNEL_NOTE_CREATE); activityMap.put("/personnelNoteAction-search", SecurityConstants.VIEW); // center ralated mappings activityMap.put("/centerAction-chooseOffice", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap.put("/centerAction-load", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap.put("/centerAction-loadMeeting-CenterCreate", SecurityConstants.MEETING_CREATE_CENTER_MEETING); activityMap.put("/centerAction-loadMeeting-Center", SecurityConstants.MEETING_UPDATE_CENTER_MEETING); activityMap.put("/centerAction-getDetails", SecurityConstants.VIEW); activityMap.put("/centerAction-get", SecurityConstants.VIEW); activityMap.put("/centerAction-loadStatus", SecurityConstants.CENTER_EDIT_STATUS); activityMap.put("/centerAction-updateStatus", SecurityConstants.CENTER_EDIT_STATUS); activityMap .put( "/centerAction-manage", SecurityConstants.CENTER_MODIFY_CENTER_INFORMATION_AND_CHANGE_CENTER_STATUS); activityMap.put("/centerAction-previous", SecurityConstants.VIEW); activityMap.put("/centerAction-preview", SecurityConstants.VIEW); activityMap.put("/centerAction-create", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap .put( "/centerAction-update", SecurityConstants.CENTER_MODIFY_CENTER_INFORMATION_AND_CHANGE_CENTER_STATUS); activityMap.put("/centerAction-loadSearch", SecurityConstants.VIEW); activityMap.put("/centerAction-search", SecurityConstants.VIEW); //For M2 Center ------------------------ activityMap.put("/centerCustAction-chooseOffice", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap.put("/centerCustAction-load", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap.put("/centerCustAction-loadMeeting-CenterCreate", SecurityConstants.MEETING_CREATE_CENTER_MEETING); activityMap.put("/centerCustAction-previous", SecurityConstants.VIEW); activityMap.put("/centerCustAction-preview", SecurityConstants.VIEW); activityMap.put("/centerCustAction-create", SecurityConstants.CENTER_CREATE_NEW_CENTER); activityMap.put( "/centerCustAction-manage", SecurityConstants.CENTER_MODIFY_CENTER_INFORMATION_AND_CHANGE_CENTER_STATUS); activityMap.put("/centerCustAction-editPrevious", SecurityConstants.VIEW); activityMap.put("/centerCustAction-editPreview", SecurityConstants.VIEW); activityMap.put( "/centerCustAction-update", SecurityConstants.CENTER_MODIFY_CENTER_INFORMATION_AND_CHANGE_CENTER_STATUS); activityMap.put("/centerCustAction-get", SecurityConstants.VIEW); activityMap.put("/centerCustAction-loadSearch", SecurityConstants.VIEW); activityMap.put("/centerCustAction-search", SecurityConstants.VIEW); activityMap.put("/centerCustAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/centerCustAction-cancelChangeLog", SecurityConstants.VIEW); // For M2 Center ends // colsed account searchaction in center details page activityMap .put("/closedaccsearchaction-search", SecurityConstants.VIEW); // CustomerSearch // activityMap.put("/CustomerSearchAction-validate",SecurityConstants.VIEW); // client creation action activityMap .put("/clientCreationAction-preLoad", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-load", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-chooseOffice", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-setDefaultFormedByPersonnel", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-next", SecurityConstants.VIEW); activityMap .put("/clientCreationAction-preview", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-prevPersonalInfo", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-prevMFIInfo", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-create", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-get", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-getDetails", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-loadStatus", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-loadTransfer", SecurityConstants.CIENT_CHANGE_GROUP_MEMBERSHIP); activityMap.put("/clientCreationAction-loadBranchTransfer", SecurityConstants.CIENT_TRANSFER_THE_CLIENT); activityMap.put("/clientCreationAction-editMFIInfo", SecurityConstants.CIENT_EDIT_MFI_INFORMATION); activityMap.put("/clientCreationAction-editPersonalInfo", SecurityConstants.CLIENT_UPDATE_PERSONNEL_INFO); activityMap.put("/clientCreationAction-update", SecurityConstants.CLIENT_UPDATE_PERSONNEL_INFO); activityMap.put("/clientCreationAction-updateMfi", SecurityConstants.CIENT_EDIT_MFI_INFORMATION); activityMap.put("/clientCreationAction-loadMeeting-ClientCreate", SecurityConstants.MEETING_CREATE_CLIENT_MEETING); activityMap.put("/clientCreationAction-loadMeeting-Client", SecurityConstants.MEETING_UPDATE_CLIENT_MEETING); activityMap.put("/clientCreationAction-previous", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-retrievePictureOnPreview", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-retrievePicture", SecurityConstants.VIEW); activityMap.put("/clientCreationAction-showPicture", SecurityConstants.VIEW); activityMap .put( "/clientCreationAction-loadHistoricalData", SecurityConstants.CUSTOMER_ADD_HISTORICAL_DATA_TO_CENTER_GROUP_CLIENT); activityMap.put("/clientStatusAction-load", SecurityConstants.VIEW); activityMap.put("/clientStatusAction-preview", SecurityConstants.VIEW); activityMap.put("/clientStatusAction-previous", SecurityConstants.VIEW); activityMap.put("/clientStatusAction-update", SecurityConstants.VIEW); activityMap.put("/clientTransferAction-loadParents",SecurityConstants.CIENT_CHANGE_GROUP_MEMBERSHIP); activityMap.put("/clientTransferAction-loadBranches",SecurityConstants.CIENT_TRANSFER_THE_CLIENT); activityMap.put("/clientTransferAction-previewBranchTransfer",SecurityConstants.VIEW); activityMap.put("/clientTransferAction-previewParentTransfer",SecurityConstants.VIEW); activityMap.put("/clientTransferAction-updateParent", SecurityConstants.CIENT_CHANGE_GROUP_MEMBERSHIP); activityMap.put("/clientTransferAction-transferToBranch",SecurityConstants.CIENT_TRANSFER_THE_CLIENT); activityMap.put("/groupTransferAction-loadParents",SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/groupTransferAction-loadBranches",SecurityConstants.GROUP_TRANSFER_THE_GROUP); activityMap.put("/groupTransferAction-previewBranchTransfer",SecurityConstants.VIEW); activityMap.put("/groupTransferAction-previewParentTransfer",SecurityConstants.VIEW); activityMap.put("/groupTransferAction-transferToCenter", SecurityConstants.GROUP_CHANGE_CENTER_MEMBERSHIP); activityMap.put("/groupTransferAction-transferToBranch",SecurityConstants.GROUP_TRANSFER_THE_GROUP); // meeting action /*activityMap.put("/MeetingAction-load", SecurityConstants.VIEW); activityMap.put("/MeetingAction-loadMeeting-Group", SecurityConstants.MEETING_UPDATE_GROUP_MEETING); activityMap.put("/MeetingAction-loadMeeting-Client", SecurityConstants.MEETING_UPDATE_CLIENT_MEETING); activityMap.put("/MeetingAction-create", SecurityConstants.VIEW); activityMap.put("/MeetingAction-get-Group", SecurityConstants.MEETING_UPDATE_GROUP_MEETING); activityMap.put("/MeetingAction-get-Client", SecurityConstants.MEETING_UPDATE_CLIENT_MEETING); activityMap.put("/MeetingAction-get-Center", SecurityConstants.MEETING_UPDATE_CENTER_MEETING); activityMap.put("/MeetingAction-update", SecurityConstants.VIEW); activityMap.put("/MeetingAction-preview", SecurityConstants.VIEW); activityMap.put("/MeetingAction-previous", SecurityConstants.VIEW);*/ activityMap.put("/meetingAction-load", SecurityConstants.VIEW); activityMap.put("/meetingAction-create", SecurityConstants.VIEW); activityMap.put("/meetingAction-update", SecurityConstants.VIEW); activityMap.put("/meetingAction-edit-Group", SecurityConstants.MEETING_UPDATE_GROUP_MEETING); activityMap.put("/meetingAction-edit-Center", SecurityConstants.MEETING_UPDATE_CENTER_MEETING); activityMap.put("/meetingAction-edit-Client", SecurityConstants.MEETING_UPDATE_CLIENT_MEETING); activityMap.put("/meetingAction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/meetingAction-cancelUpdate", SecurityConstants.VIEW); // product categories mapping activityMap.put("/productCategoryAction-load", SecurityConstants.DEFINE_NEW_PRODUCT_CATEGORIES); activityMap.put("/productCategoryAction-createPreview", SecurityConstants.VIEW); activityMap.put("/productCategoryAction-create", SecurityConstants.DEFINE_NEW_PRODUCT_CATEGORIES); activityMap.put("/productCategoryAction-get", SecurityConstants.VIEW); activityMap.put("/productCategoryAction-managePreview", SecurityConstants.VIEW); activityMap.put("/productCategoryAction-manage", SecurityConstants.EDIT_PRODUCT_CATEGORIES); activityMap.put("/productCategoryAction-update", SecurityConstants.EDIT_PRODUCT_CATEGORIES); activityMap.put("/productCategoryAction-getAllCategories", SecurityConstants.VIEW); activityMap.put("/productCategoryAction-createPrevious", SecurityConstants.VIEW); activityMap.put("/productCategoryAction-managePrevious", SecurityConstants.VIEW); // saving product mappeings activityMap.put("/savingsprdaction-search", SecurityConstants.VIEW); activityMap.put("/savingsprdaction-load", SecurityConstants.DEFINE_NEW_SAVING_PRODUCT_INSTANCE); activityMap.put("/savingsprdaction-preview", SecurityConstants.VIEW); activityMap.put("/savingsprdaction-previous", SecurityConstants.VIEW); activityMap.put("/savingsprdaction-create", SecurityConstants.DEFINE_NEW_SAVING_PRODUCT_INSTANCE); activityMap.put("/savingsprdaction-get", SecurityConstants.VIEW); activityMap.put("/savingsprdaction-manage", SecurityConstants.EDIT_SAVING_PRODUCT); activityMap.put("/savingsprdaction-update", SecurityConstants.EDIT_SAVING_PRODUCT); activityMap.put("/savingsproductaction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-cancelChangeLog", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-search", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-load", SecurityConstants.DEFINE_NEW_SAVING_PRODUCT_INSTANCE); activityMap.put("/savingsproductaction-preview", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-previous", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-create", SecurityConstants.DEFINE_NEW_SAVING_PRODUCT_INSTANCE); activityMap.put("/savingsproductaction-get", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-manage", SecurityConstants.EDIT_SAVING_PRODUCT); activityMap.put("/savingsproductaction-previewManage", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-previousManage", SecurityConstants.VIEW); activityMap.put("/savingsproductaction-update", SecurityConstants.EDIT_SAVING_PRODUCT); activityMap.put("/savingsproductaction-cancelEdit", SecurityConstants.VIEW); // view lateness mappings activityMap.put("/prdconfigurationaction-search", SecurityConstants.VIEW); activityMap.put("/prdconfigurationaction-update", SecurityConstants.EDIT_PRODUCT_CATEGORIES); activityMap.put("/prdconfaction-load", SecurityConstants.VIEW); activityMap.put("/prdconfaction-update", SecurityConstants.UPDATE_LATENESS_DORMANCY); // loan product categories activityMap.put("/loanprdaction-load", SecurityConstants.DEFINE_NEW_LOAN_PRODUCT_INSTANCE); activityMap.put("/loanprdaction-preview", SecurityConstants.VIEW); activityMap.put("/loanprdaction-previous", SecurityConstants.VIEW); activityMap.put("/loanprdaction-create", SecurityConstants.DEFINE_NEW_LOAN_PRODUCT_INSTANCE); activityMap.put("/loanprdaction-search", SecurityConstants.VIEW); activityMap.put("/loanprdaction-get", SecurityConstants.VIEW); activityMap.put("/loanprdaction-manage", SecurityConstants.EDIT_LOAN_PRODUCT); activityMap.put("/loanprdaction-update", SecurityConstants.EDIT_LOAN_PRODUCT); activityMap.put("/loanproductaction-load",SecurityConstants.DEFINE_NEW_LOAN_PRODUCT_INSTANCE); activityMap.put("/loanproductaction-preview", SecurityConstants.VIEW); activityMap.put("/loanproductaction-previous", SecurityConstants.VIEW); activityMap.put("/loanproductaction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/loanproductaction-validate", SecurityConstants.VIEW); activityMap.put("/loanproductaction-create",SecurityConstants.DEFINE_NEW_LOAN_PRODUCT_INSTANCE); activityMap.put("/loanproductaction-viewAllLoanProducts", SecurityConstants.VIEW); activityMap.put("/loanproductaction-get", SecurityConstants.VIEW); activityMap.put("/loanproductaction-editPreview", SecurityConstants.VIEW); activityMap.put("/loanproductaction-editPrevious", SecurityConstants.VIEW); activityMap.put("/loanproductaction-editCancel", SecurityConstants.VIEW); activityMap.put("/loanproductaction-manage",SecurityConstants.EDIT_LOAN_PRODUCT); activityMap.put("/loanproductaction-update",SecurityConstants.EDIT_LOAN_PRODUCT); activityMap.put("/loanproductaction-update",SecurityConstants.EDIT_LOAN_PRODUCT); activityMap.put("/loanproductaction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/loanproductaction-cancelChangeLog", SecurityConstants.VIEW); // Fee mapping activityMap.put("/feesAction-search", SecurityConstants.VIEW); activityMap.put("/feesAction-load", SecurityConstants.FEES_CREATE_FEES); activityMap.put("/feesAction-preview", SecurityConstants.VIEW); activityMap.put("/feesAction-create", SecurityConstants.FEES_CREATE_FEES); activityMap.put("/feesAction-get", SecurityConstants.VIEW); activityMap.put("/feesAction-manage", SecurityConstants.FEES_EDIT_FEES); activityMap.put("/feesAction-update", SecurityConstants.FEES_EDIT_FEES); activityMap.put("/feesAction-previous", SecurityConstants.VIEW); activityMap.put("/feeaction-search", SecurityConstants.VIEW); activityMap.put("/feeaction-load", SecurityConstants.FEES_CREATE_FEES); activityMap.put("/feeaction-preview", SecurityConstants.VIEW); activityMap.put("/feeaction-editPreview", SecurityConstants.VIEW); activityMap .put("/feeaction-create", SecurityConstants.FEES_CREATE_FEES); activityMap.put("/feeaction-get", SecurityConstants.VIEW); activityMap.put("/feeaction-manage", SecurityConstants.FEES_EDIT_FEES); activityMap.put("/feeaction-update", SecurityConstants.FEES_EDIT_FEES); activityMap.put("/feeaction-previous", SecurityConstants.VIEW); activityMap.put("/feeaction-editPrevious", SecurityConstants.VIEW); activityMap.put("/feeaction-viewAll", SecurityConstants.VIEW); activityMap.put("/feeaction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/feeaction-cancelEdit", SecurityConstants.VIEW); // checklist mapping activityMap.put("/chkListAction-load", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/chkListAction-getStates", SecurityConstants.VIEW); activityMap.put("/chkListAction-preview", SecurityConstants.VIEW); activityMap.put("/chkListAction-previous", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/chkListAction-create", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/chkListAction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/chkListAction-cancelManage", SecurityConstants.VIEW); activityMap.put("/chkListAction-manage", SecurityConstants.CHECKLIST_EDIT_CHECKLIST); activityMap.put("/chkListAction-getEditStates", SecurityConstants.VIEW); activityMap.put("/chkListAction-managePreview", SecurityConstants.VIEW); activityMap.put("/chkListAction-managePrevious", SecurityConstants.VIEW); activityMap.put("/chkListAction-update", SecurityConstants.CHECKLIST_EDIT_CHECKLIST); activityMap.put("/chkListAction-loadAllChecklist", SecurityConstants.VIEW); activityMap.put("/chkListAction-get", SecurityConstants.VIEW); activityMap.put("/checkListAction-loadall", SecurityConstants.VIEW); activityMap.put("/checkListAction-load", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/checkListAction-create", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/checkListAction-preview", SecurityConstants.VIEW); activityMap.put("/checkListAction-previous", SecurityConstants.VIEW); activityMap.put("/checkListAction-previous", SecurityConstants.CHECKLIST_CREATE_CHECKLIST); activityMap.put("/checkListAction-loadParent", SecurityConstants.VIEW); activityMap.put("/checkListAction-get", SecurityConstants.VIEW); activityMap.put("/checkListAction-manage", SecurityConstants.CHECKLIST_EDIT_CHECKLIST); activityMap.put("/checkListAction-update", SecurityConstants.CHECKLIST_EDIT_CHECKLIST); // mapping for search before loan activityMap.put("/AccountsSearchAction-load", SecurityConstants.VIEW); activityMap.put("/AccountsSearchAction-search", SecurityConstants.VIEW); // mapping for loan activityMap.put("/loanAction-getPrdOfferings", SecurityConstants.VIEW); activityMap.put("/loanAction-load", SecurityConstants.VIEW); activityMap.put("/loanAction-next", SecurityConstants.VIEW); activityMap.put("/loanAction-preview", SecurityConstants.VIEW); activityMap.put("/loanAction-previous", SecurityConstants.VIEW); activityMap.put("/loanAction-get", SecurityConstants.VIEW); activityMap.put("/loanAction-manage", SecurityConstants.LOAN_UPDATE_LOAN); activityMap.put("/loanAction-update", SecurityConstants.LOAN_UPDATE_LOAN); activityMap.put("/loanAction-getLoanChangeLog", SecurityConstants.VIEW); activityMap.put("/loanAction-search", SecurityConstants.VIEW); activityMap.put("/loanAction-create", SecurityConstants.VIEW); // mapping for loanActivity activityMap.put("/loanAccountAction-getAllActivity", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-get",SecurityConstants.VIEW); activityMap.put("/loanAccountAction-getLoanRepaymentSchedule",SecurityConstants.VIEW); activityMap.put("/loanAccountAction-viewStatusHistory", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-manage", SecurityConstants.LOAN_UPDATE_LOAN); activityMap.put("/loanAccountAction-managePreview",SecurityConstants.VIEW); activityMap.put("/loanAccountAction-managePrevious",SecurityConstants.VIEW); activityMap.put("/loanAccountAction-cancel",SecurityConstants.VIEW); activityMap.put("/loanAccountAction-update", SecurityConstants.LOAN_UPDATE_LOAN); activityMap.put("/loanAccountAction-getPrdOfferings", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-load", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-schedulePreview", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-preview", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-previous", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-create", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-cancelChangeLog", SecurityConstants.VIEW); // mapping for account status::TO BE REMOVED activityMap.put("/LoanStatusAction-load", SecurityConstants.VIEW); activityMap.put("/LoanStatusAction-preview", SecurityConstants.VIEW); activityMap.put("/LoanStatusAction-previous", SecurityConstants.VIEW); activityMap.put("/LoanStatusAction-update", SecurityConstants.VIEW); activityMap.put("/LoanStatusAction-search", SecurityConstants.VIEW); activityMap.put("/LoanStatusAction-writeOff", SecurityConstants.VIEW); // mapping for account status activityMap.put("/editStatusAction-load", SecurityConstants.VIEW); activityMap.put("/editStatusAction-preview", SecurityConstants.VIEW); activityMap.put("/editStatusAction-previous", SecurityConstants.VIEW); activityMap.put("/editStatusAction-update", SecurityConstants.VIEW); //mapping for custAction activityMap.put("/custAction-getClosedAccounts", SecurityConstants.VIEW); activityMap.put("/custAction-getBackToDetailsPage", SecurityConstants.VIEW); // mapping for account notes activityMap.put("/AccountNotesAction-load", SecurityConstants.LOAN_CAN_ADD_NOTES_TO_LOAN); activityMap.put("/AccountNotesAction-preview", SecurityConstants.VIEW); activityMap.put("/AccountNotesAction-previous", SecurityConstants.VIEW); activityMap.put("/AccountNotesAction-get", SecurityConstants.VIEW); activityMap.put("/AccountNotesAction-search", SecurityConstants.VIEW); activityMap.put("/AccountNotesAction-create", SecurityConstants.LOAN_CAN_ADD_NOTES_TO_LOAN); // mapping for apply payment activityMap.put("/accountTrxn-load", SecurityConstants.APPLY_PAYMENT_TO_CLIENT_GROUP_CENTERS_LOANS); activityMap.put("/accountTrxn-create", SecurityConstants.APPLY_PAYMENT_TO_CLIENT_GROUP_CENTERS_LOANS); activityMap.put("/accountTrxn-preview", SecurityConstants.VIEW); activityMap.put("/accountTrxn-getInstallmentHistory", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-getInstallmentDetails", SecurityConstants.VIEW); activityMap.put("/accountTrxn-previous", SecurityConstants.VIEW); // apply charges activityMap.put("/AccountsApplyChargesAction-load", SecurityConstants.APPLY_CHARGES_TO_CLIENT_GROUP_CENTERS_LOANS); activityMap.put("/AccountsApplyChargesAction-create", SecurityConstants.APPLY_CHARGES_TO_CLIENT_GROUP_CENTERS_LOANS); // fund mapping activityMap.put("/fundAction-load", SecurityConstants.FUNDS_CREATE_FUNDS); activityMap.put("/fundAction-create",SecurityConstants.FUNDS_CREATE_FUNDS); activityMap.put("/fundAction-preview", SecurityConstants.VIEW); activityMap.put("/fundAction-previous", SecurityConstants.FUNDS_CREATE_FUNDS); activityMap.put("/fundAction-cancelCreate", SecurityConstants.VIEW); activityMap.put("/fundAction-cancelManage", SecurityConstants.VIEW); activityMap.put("/fundAction-manage",SecurityConstants.FUNDS_EDIT_FUNDS); activityMap.put("/fundAction-previewManage",SecurityConstants.FUNDS_EDIT_FUNDS); activityMap.put("/fundAction-previousManage",SecurityConstants.FUNDS_EDIT_FUNDS); activityMap.put("/fundAction-update",SecurityConstants.FUNDS_EDIT_FUNDS); activityMap.put("/fundAction-viewAllFunds", SecurityConstants.VIEW); // mapping for bulk entry activityMap.put("/bulkentryaction-load", SecurityConstants.CAN_ENTER_COLLECTION_SHEET_DATA); activityMap.put("/bulkentryaction-preview", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-previous", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-get", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-getLastMeetingDateForCustomer", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-create", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-loadLoanOfficers", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-loadCustomerList", SecurityConstants.VIEW); activityMap.put("/bulkentryaction-validate", SecurityConstants.VIEW); // removing fees activityMap.put("/accountAppAction-removeFees", SecurityConstants.LOAN_REMOVE_FEE_TYPE_ATTACHED_TO_ACCOUNT); activityMap.put("/accountAppAction-getTrxnHistory", SecurityConstants.VIEW); // mapping for savings account activityMap.put("/savingsAction-getPrdOfferings", SecurityConstants.VIEW); activityMap.put("/savingsAction-load", SecurityConstants.VIEW); activityMap.put("/savingsAction-reLoad", SecurityConstants.VIEW); activityMap.put("/savingsAction-preview", SecurityConstants.VIEW); activityMap.put("/savingsAction-previous", SecurityConstants.VIEW); activityMap.put("/savingsAction-create", SecurityConstants.VIEW); activityMap.put("/savingsAction-get", SecurityConstants.VIEW); activityMap.put("/savingsAction-getStatusHistory", SecurityConstants.VIEW); activityMap.put("/savingsAction-edit", SecurityConstants.SAVINGS_UPDATE_SAVINGS); activityMap.put("/savingsAction-editPreview", SecurityConstants.SAVINGS_UPDATE_SAVINGS); activityMap.put("/savingsAction-editPrevious", SecurityConstants.SAVINGS_UPDATE_SAVINGS); activityMap.put("/savingsAction-update", SecurityConstants.SAVINGS_UPDATE_SAVINGS); activityMap.put("/savingsAction-getRecentActivity", SecurityConstants.VIEW); activityMap.put("/savingsAction-getTransactionHistory", SecurityConstants.VIEW); activityMap.put("/savingsAction-getDepositDueDetails", SecurityConstants.VIEW); activityMap.put("/savingsAction-waiveAmountDue", SecurityConstants.SAVINGS_CANWAIVE_DUEAMOUNT); activityMap.put("/savingsAction-waiveAmountOverDue", SecurityConstants.SAVINGS_CANWAIVE_OVERDUEAMOUNT); activityMap.put("/savingsAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/savingsAction-cancelChangeLog", SecurityConstants.VIEW); // close savings account activityMap.put("/savingsClosureAction-load", SecurityConstants.SAVINGS_CLOSE_SAVINGS_ACCOUNT); activityMap.put("/savingsClosureAction-preview", SecurityConstants.SAVINGS_CLOSE_SAVINGS_ACCOUNT); activityMap.put("/savingsClosureAction-previous", SecurityConstants.SAVINGS_CLOSE_SAVINGS_ACCOUNT); activityMap.put("/savingsClosureAction-close", SecurityConstants.SAVINGS_CLOSE_SAVINGS_ACCOUNT); // savings accountadjustment activityMap.put("/savingsApplyAdjustmentAction-load", SecurityConstants.SAVINGS_APPLY_ADJUSTMENT); activityMap.put("/savingsApplyAdjustmentAction-preview", SecurityConstants.SAVINGS_APPLY_ADJUSTMENT); activityMap.put("/savingsApplyAdjustmentAction-previous", SecurityConstants.SAVINGS_APPLY_ADJUSTMENT); activityMap.put("/savingsApplyAdjustmentAction-adjustLastUserAction", SecurityConstants.SAVINGS_APPLY_ADJUSTMENT); // entries for apply adjustment. activityMap.put("/applyAdjustment-loadAdjustment", SecurityConstants.LOAN_MAKE_ADJUSTMENT_ENTRY_TO_ACCOUNT); activityMap.put("/applyAdjustment-previewAdjustment", SecurityConstants.LOAN_MAKE_ADJUSTMENT_ENTRY_TO_ACCOUNT); activityMap.put("/applyAdjustment-applyAdjustment", SecurityConstants.LOAN_MAKE_ADJUSTMENT_ENTRY_TO_ACCOUNT); activityMap.put("/applyAdjustment-cancelAdjustment", SecurityConstants.LOAN_MAKE_ADJUSTMENT_ENTRY_TO_ACCOUNT); // mapping for repaying loan account activityMap.put("/repayLoanAction-loadRepayment", SecurityConstants.LOAN_CAN_REPAY_LOAN); activityMap.put("/repayLoanAction-preview", SecurityConstants.LOAN_CAN_REPAY_LOAN); activityMap.put("/repayLoanAction-previous", SecurityConstants.LOAN_CAN_REPAY_LOAN); activityMap.put("/repayLoanAction-makeRepayment", SecurityConstants.LOAN_CAN_REPAY_LOAN); // mapping for reports activityMap.put("/reportsAction-load", SecurityConstants.VIEW); activityMap.put("/reportsAction-report_designer", SecurityConstants.CLIENTSDETAILVIEW); activityMap.put("/reportsAction-product_history", SecurityConstants.CLIENTSPRODUCTHISTORY); activityMap.put("/reportsAction-branch_performance", SecurityConstants.BRANCHPERFORMANCE); activityMap.put("/reportsAction-area_performance", SecurityConstants.AREAPERFORMANCE); activityMap.put("/reportsAction-collection_sheet", SecurityConstants.COLLECTIONSHEET); activityMap.put("/reportsAction-loan_distribution", SecurityConstants.LOANDISTRIBUTION); activityMap.put("/reportsAction-branch_disbursement", SecurityConstants.BRANCHDISBURSEMENT); activityMap.put("/reportsAction-staffwise_report", SecurityConstants.STAFFWISEREPORT); activityMap.put("/reportsAction-branchwise_report", SecurityConstants.BRANCHWISEREPORT); activityMap.put("/reportsAction-analysis", SecurityConstants.ANALYSIS); activityMap.put("/reportsAction-kendra_meeting", SecurityConstants.KENDRA_MEETING); activityMap.put("/reportsAction-administerreports_path", SecurityConstants.ADMINISTER_REPORTS); // entries for apply adjustment for customer. activityMap .put( "/custApplyAdjustment-loadAdjustment-Client", SecurityConstants.CIENT_MAKE_ADJUSTMENT_ENTRIES_TO_CLIENT_ACCOUNT); activityMap.put("/custApplyAdjustment-previewAdjustment-Client", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-applyAdjustment-Client", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-cancelAdjustment-Client", SecurityConstants.VIEW); activityMap .put( "/custApplyAdjustment-loadAdjustment-Group", SecurityConstants.GROUP_MAKE_ADJUSTMENT_ENTRIES_TO_GROUP_ACCOUNT); activityMap.put("/custApplyAdjustment-previewAdjustment-Group", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-applyAdjustment-Group", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-cancelAdjustment-Group", SecurityConstants.VIEW); activityMap .put( "/custApplyAdjustment-loadAdjustment-Center", SecurityConstants.CENTER_MAKE_ADJUSTMENT_ENTRIES_TO_CENTER_ACCOUNT); activityMap.put("/custApplyAdjustment-previewAdjustment-Center", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-applyAdjustment-Center", SecurityConstants.VIEW); activityMap.put("/custApplyAdjustment-cancelAdjustment-Center", SecurityConstants.VIEW); activityMap.put("/customerAction-forwardWaiveChargeDue", SecurityConstants.VIEW); activityMap.put("/customerAction-forwardWaiveChargeOverDue", SecurityConstants.VIEW); activityMap.put("/customerAction-waiveChargeDue-Client", SecurityConstants.CIENT_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-waiveChargeOverDue-Client", SecurityConstants.CIENT_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-waiveChargeDue-Group", SecurityConstants.GROUP_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-waiveChargeOverDue-Group", SecurityConstants.GROUP_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-waiveChargeDue-Center", SecurityConstants.CENTER_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-waiveChargeOverDue-Center", SecurityConstants.CENTER_WAIVE_FEE_INSTALLMENT); activityMap.put("/customerAction-getAllActivity", SecurityConstants.VIEW); activityMap.put("/customerAction-getAllClosedAccounts", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-waiveChargeDue", SecurityConstants.LOAN_WAIVE_FEE_INSTALLMENT); activityMap.put("/loanAccountAction-waiveChargeDue", SecurityConstants.LOAN_WAIVE_PANELTY); activityMap.put("/loanAccountAction-forwardWaiveCharge", SecurityConstants.VIEW); activityMap.put("/loanAccountAction-waiveChargeOverDue", SecurityConstants.LOAN_WAIVE_FEE_INSTALLMENT); activityMap.put("/loanAccountAction-waiveChargeOverDue", SecurityConstants.LOAN_WAIVE_PANELTY); // mapping for accountPayment activityMap.put("/applyPaymentAction-load-Loan", SecurityConstants.LOAN_MAKE_PAYMENT_TO_ACCOUNT); activityMap.put("/applyPaymentAction-load-Center", SecurityConstants.CENTER_MAKE_PAYMENTS_TO_CENTER_ACCOUNT); activityMap.put("/applyPaymentAction-load-Group", SecurityConstants.GROUP_MAKE_PAYMENT_TO_GROUP_ACCOUNT); activityMap.put("/applyPaymentAction-load-Client", SecurityConstants.CIENT_MAKE_PAYMENT_TO_CLIENT_ACCOUNT); activityMap.put("/applyPaymentAction-preview", SecurityConstants.VIEW); activityMap.put("/applyPaymentAction-previous",SecurityConstants.VIEW); activityMap.put("/applyPaymentAction-applyPayment",SecurityConstants.VIEW); //mapping fro loan disbursal activityMap.put("/loanDisbursmentAction-load", SecurityConstants.LOAN_CAN_DISBURSE_LOAN); activityMap.put("/loanDisbursmentAction-preview", SecurityConstants.VIEW); activityMap.put("/loanDisbursmentAction-previous",SecurityConstants.VIEW); activityMap.put("/loanDisbursmentAction-update",SecurityConstants.VIEW); //mapping for savings deposit/withdrawal activityMap.put("/savingsDepositWithdrawalAction-load", SecurityConstants.SAVINGS_CAN_MAKE_DEPOSIT_WITHDRAWAL); activityMap.put("/savingsDepositWithdrawalAction-reLoad", SecurityConstants.SAVINGS_CAN_MAKE_DEPOSIT_WITHDRAWAL); activityMap.put("/savingsDepositWithdrawalAction-preview", SecurityConstants.VIEW); activityMap.put("/savingsDepositWithdrawalAction-previous",SecurityConstants.VIEW); activityMap.put("/savingsDepositWithdrawalAction-makePayment",SecurityConstants.VIEW); // mapping for notes activityMap.put("/notesAction-load-Savings", SecurityConstants.SAVINGS_CAN_ADD_NOTES_TO_SAVINGS); activityMap.put("/notesAction-load-Loan", SecurityConstants.LOAN_CAN_ADD_NOTES_TO_LOAN); activityMap.put("/notesAction-preview", SecurityConstants.VIEW); activityMap.put("/notesAction-previous", SecurityConstants.VIEW); activityMap.put("/notesAction-get", SecurityConstants.VIEW); activityMap.put("/notesAction-search", SecurityConstants.VIEW); activityMap.put("/notesAction-create-Savings", SecurityConstants.SAVINGS_CAN_ADD_NOTES_TO_SAVINGS); //mapping for editing customer status activityMap.put("/editCustomerStatusAction-loadStatus-Center", SecurityConstants.CENTER_EDIT_STATUS); activityMap.put("/editCustomerStatusAction-preview", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-previous", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-update", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-loadStatus-Client", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-loadStatus-Group", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-previewStatus", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-previousStatus", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-updateStatus", SecurityConstants.VIEW); activityMap.put("/editCustomerStatusAction-cancelStatus", SecurityConstants.VIEW); activityMap.put("/notesAction-create-Loan", SecurityConstants.LOAN_CAN_ADD_NOTES_TO_LOAN); // apply charges activityMap.put("/applyChargeAction-load", SecurityConstants.VIEW); activityMap.put("/applyChargeAction-update", SecurityConstants.APPLY_CHARGES_TO_CLIENT_GROUP_CENTERS_LOANS); //mapping for adding customer notes activityMap.put("/customerNotesAction-load-Center", SecurityConstants.CENTER_ADD_NOTE_TO_CENTER); activityMap.put("/customerNotesAction-preview", SecurityConstants.VIEW); activityMap.put("/customerNotesAction-previous", SecurityConstants.VIEW); activityMap.put("/customerNotesAction-create", SecurityConstants.VIEW); activityMap.put("/customerNotesAction-search", SecurityConstants.VIEW); activityMap.put("/customerNotesAction-load-Group", SecurityConstants.GROUP_ADD_NOTE_TO_GROUP); activityMap.put("/customerNotesAction-load-Client", SecurityConstants.CLIENT_ADD_NOTE_TO_CLIENT); // client creation action- migration activityMap.put("/clientCustAction-load", SecurityConstants.VIEW); activityMap.put("/clientCustAction-chooseOffice", SecurityConstants.VIEW); activityMap.put("/clientCustAction-next", SecurityConstants.VIEW); activityMap .put("/clientCustAction-preview", SecurityConstants.VIEW); activityMap.put("/clientCustAction-previewPersonalInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-retrievePictureOnPreview", SecurityConstants.VIEW); activityMap.put("/clientCustAction-prevPersonalInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-prevMFIInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-prevMeeting", SecurityConstants.VIEW); activityMap.put("/clientCustAction-create", SecurityConstants.VIEW); activityMap.put("/clientCustAction-loadMeeting-ClientCreate", SecurityConstants.MEETING_CREATE_CLIENT_MEETING); activityMap.put("/clientCustAction-get", SecurityConstants.VIEW); activityMap.put("/clientCustAction-editPersonalInfo", SecurityConstants.CLIENT_UPDATE_PERSONNEL_INFO); activityMap.put("/clientCustAction-previewEditPersonalInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-prevEditPersonalInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-updatePersonalInfo", SecurityConstants.CLIENT_UPDATE_PERSONNEL_INFO); activityMap.put("/clientCustAction-editMfiInfo", SecurityConstants.CIENT_EDIT_MFI_INFORMATION); activityMap.put("/clientCustAction-previewEditMfiInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-prevEditMfiInfo", SecurityConstants.VIEW); activityMap.put("/clientCustAction-updateMfiInfo", SecurityConstants.CIENT_EDIT_MFI_INFORMATION); activityMap.put("/clientCustAction-loadMeeting-Client", SecurityConstants.MEETING_UPDATE_CLIENT_MEETING); activityMap.put("/clientCustAction-retrievePicture", SecurityConstants.VIEW); activityMap.put("/clientCustAction-showPicture", SecurityConstants.VIEW); activityMap.put("/clientCustAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/clientCustAction-cancelChangeLog", SecurityConstants.VIEW); activityMap.put("/ChangeAccountStatus-load", SecurityConstants.CAN_APPROVE_LOANS_IN_BULK); activityMap.put("/ChangeAccountStatus-searchResults", SecurityConstants.VIEW); activityMap.put("/ChangeAccountStatus-update", SecurityConstants.VIEW); activityMap.put("/ChangeAccountStatus-getLoanOfficers", SecurityConstants.VIEW); // Group related mappings for M2 activityMap.put("/groupCustAction-hierarchyCheck", SecurityConstants.VIEW); activityMap.put("/groupCustAction-chooseOffice",SecurityConstants.VIEW); activityMap.put("/groupCustAction-load", SecurityConstants.VIEW); activityMap.put("/groupCustAction-loadMeeting-GroupCreate",SecurityConstants.MEETING_CREATE_GROUP_MEETING); activityMap.put("/groupCustAction-preview", SecurityConstants.VIEW); activityMap.put("/groupCustAction-previous", SecurityConstants.VIEW); activityMap.put("/groupCustAction-create", SecurityConstants.VIEW); activityMap.put("/groupCustAction-getDetails", SecurityConstants.VIEW); activityMap.put("/groupCustAction-get", SecurityConstants.VIEW); activityMap.put("/groupCustAction-manage",SecurityConstants.GROUP_EDIT_GROUP); activityMap.put("/groupCustAction-previewManage",SecurityConstants.VIEW); activityMap.put("/groupCustAction-previousManage",SecurityConstants.VIEW); activityMap.put("/groupCustAction-update",SecurityConstants.GROUP_EDIT_GROUP); activityMap.put("/groupCustAction-loadSearch",SecurityConstants.VIEW); activityMap.put("/groupCustAction-search",SecurityConstants.VIEW); activityMap.put("/groupCustAction-loadChangeLog", SecurityConstants.VIEW); activityMap.put("/groupCustAction-cancelChangeLog", SecurityConstants.VIEW);// for your settings new action class activityMap.put("/yourSettings-get", SecurityConstants.VIEW); activityMap.put("/yourSettings-manage", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/yourSettings-preview", SecurityConstants.VIEW); activityMap.put("/yourSettings-previous", SecurityConstants.VIEW); activityMap.put("/yourSettings-update", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); activityMap.put("/yourSettings-loadChangePassword", SecurityConstants.PERSONNEL_EDIT_SELF_INFO); //for CustomerAccountAction activityMap.put("/customerAccountAction-load", SecurityConstants.VIEW); //roles permissions activityMap.put("/rolesPermission-viewRoles", SecurityConstants.VIEW); activityMap.put("/rolesPermission-load", SecurityConstants.ROLES_CREATE_ROLES); activityMap.put("/rolesPermission-create", SecurityConstants.ROLES_CREATE_ROLES); activityMap .put("/rolesPermission-manage", SecurityConstants.VIEW); activityMap.put("/rolesPermission-update", SecurityConstants.ROLES_EDIT_ROLES); activityMap.put("/rolesPermission-cancel", SecurityConstants.VIEW); activityMap.put("/rolesPermission-preview", SecurityConstants.ROLES_DELETE_ROLES); activityMap.put("/rolesPermission-delete", SecurityConstants.ROLES_DELETE_ROLES); //ADDED BY MFTECH activityMap.put("/reportsAction-load",SecurityConstants.VIEW); activityMap.put("/reportsAction-report_designer",SecurityConstants.CLIENTSDETAILVIEW); activityMap.put("/reportsAction-product_history",SecurityConstants.CLIENTSPRODUCTHISTORY); activityMap.put("/reportsAction-branch_performance",SecurityConstants.BRANCHPERFORMANCE); activityMap.put("/reportsAction-area_performance",SecurityConstants.AREAPERFORMANCE); activityMap.put("/reportsAction-collection_sheet",SecurityConstants.COLLECTIONSHEET); activityMap.put("/reportsAction-loan_distribution",SecurityConstants.LOANDISTRIBUTION); activityMap.put("/reportsAction-branch_disbursement",SecurityConstants.BRANCHDISBURSEMENT); activityMap.put("/reportsAction-staffwise_report",SecurityConstants.STAFFWISEREPORT); activityMap.put("/reportsAction-branchwise_report",SecurityConstants.BRANCHWISEREPORT); activityMap.put("/reportsAction-analysis",SecurityConstants.ANALYSIS); activityMap.put("/reportsAction-kendra_meeting",SecurityConstants.KENDRA_MEETING); activityMap.put("/reportsAction-administerreports_path",SecurityConstants.ADMINISTER_REPORTS); activityMap.put("/reportsAction-administerreportslist_path",SecurityConstants.ADMINISTER_REPORTS); activityMap.put("/reportsParamsAction-load",SecurityConstants.ADMINISTER_REPORTS); activityMap.put("/reportsParamsAction-loadList",SecurityConstants.ADMINISTER_REPORTS); activityMap.put("/reportsParamsAction-createParams",SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-deleteParams",SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-reportparams_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-reportparamsadd_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-reportparamslist_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-loadView", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsAction-reportparamsview_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsDataSourceAction-load",SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-loadList",SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-createDataSource",SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-deleteDataSource",SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-loadView", SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-reportdatasource_path", SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-reportdatasourceadd_path", SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-reportdatasourcelist_path", SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsDataSourceAction-reportdatasourceview_path", SecurityConstants.ADMINISTER_REPORTDS); activityMap.put("/reportsParamsMapAction-loadAddList", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsMapAction-createParamsMap", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsMapAction-deleteParamsMap", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsMapAction-reportparamsmapaddlist_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsParamsMapAction-reportparamsmap_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUploadAction-uploadReport", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUploadAction-administerreports_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-reportuserparamslist_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-loadAddList", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-processReport", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-reportsuserprocess_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-reportsuserprocess_path", SecurityConstants.ADMINISTER_REPORTPARAMS); activityMap.put("/reportsUserParamsAction-reportsuserprocess_path", SecurityConstants.ADMINISTER_REPORTPARAMS); //END BY MFTECH }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/7695bb2c99774a79c149907e421311a9580f475b/ActivityMapper.java/clean/mifos/src/org/mifos/framework/security/util/ActivityMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
9621,
4597,
1435,
288,
202,
202,
759,
81,
22,
1623,
1301,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
3072,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
6376,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
5254,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
588,
8684,
1964,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
4446,
1803,
17,
945,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
1595,
24246,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
588,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
12102,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
588,
30126,
8684,
1964,
3113,
9506,
202,
4368,
2918,
18,
12145,
1769,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
9621,
4597,
1435,
288,
202,
202,
759,
81,
22,
1623,
1301,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
3072,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
945,
6376,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
202,
9653,
863,
18,
458,
2932,
19,
71,
641,
2979,
1803,
17,
5254,
2979,
3113,
6036,
2918,
18,
12145,
1769,
202,
2
] |
private static StackTraceElement[] sanitizeStack(StackTraceElement[] elements, Throwable t) { StackTraceElement[] stack; String className = t.getClass().getName(); String consName; int lastDot = className.lastIndexOf('.'); if (lastDot == -1) consName = className + '('; else consName = className.substring(lastDot + 1) + '('; int unknown = 0; int interpreter = 0; int last_throw = -1; int length = elements.length; int end = length-1; for (int i = 0; i < length; i++) { String CName = elements[i].getClassName(); String MName = elements[i].getMethodName(); if ((CName == null && MName != null && MName.startsWith("_Jv_Throw")) || (CName != null && (CName.equals(className) || CName.equals("java.lang.Throwable") || CName.equals("java.lang.VMThrowable")) && MName != null && (MName.startsWith(consName) || MName.startsWith("Throwable(") || MName.startsWith("fillInStackTrace(")))) { last_throw = i; // Reset counting of unknown and interpreter frames. unknown = 0; interpreter = 0; } else if (remove_unknown && CName == null && (MName == null || MName.startsWith("0x"))) unknown++; else if (remove_interpreter && ((CName == null && MName != null && MName.startsWith("ffi_")) || (CName != null && CName.equals("_Jv_InterpMethod")))) interpreter++; else if ("main(java.lang.String[])".equals(MName)) { end = i; break; } } int begin = last_throw+1; // Now filter out everything at the start and the end that is not part // of the "normal" user program including any elements that are interpreter // calls or have no usefull information whatsoever. // Unless that means we filter out all info. int nr_elements = end-begin-unknown-interpreter+1; if ((begin > 0 || end < length-1 || unknown > 0 || interpreter > 0) && nr_elements > 0) { stack = new StackTraceElement[nr_elements]; int pos =0; for (int i=begin; i<=end; i++) { String MName = elements[i].getMethodName(); String CName = elements[i].getClassName(); if (remove_unknown && CName == null && (MName == null || MName.startsWith("0x"))) ; // Skip unknown frame else if (remove_interpreter && ((CName == null && MName != null && MName.startsWith("ffi_")) || (CName != null && CName.equals("_Jv_InterpMethod")))) ; // Skip interpreter runtime frame else { stack[pos] = elements[i]; pos++; } } } else stack = elements; return stack; }
|
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/dccb958c636e1a082b8b910c422a851df75b83ba/NameFinder.java/buggy/libjava/gnu/gcj/runtime/NameFinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
25663,
8526,
8881,
2624,
12,
6332,
1046,
8526,
2186,
16,
6862,
1082,
282,
4206,
268,
13,
225,
288,
565,
25663,
8526,
2110,
31,
565,
514,
2658,
273,
268,
18,
588,
797,
7675,
17994,
5621,
565,
514,
1959,
461,
31,
565,
509,
1142,
10412,
273,
2658,
18,
2722,
31985,
2668,
1093,
1769,
565,
309,
261,
2722,
10412,
422,
300,
21,
13,
1377,
1959,
461,
273,
2658,
397,
7321,
31,
565,
469,
1377,
1959,
461,
273,
2658,
18,
28023,
12,
2722,
10412,
397,
404,
13,
397,
7321,
31,
565,
509,
5917,
273,
374,
31,
565,
509,
16048,
273,
374,
31,
565,
509,
1142,
67,
12849,
273,
300,
21,
31,
565,
509,
769,
273,
2186,
18,
2469,
31,
565,
509,
679,
273,
769,
17,
21,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
1377,
288,
202,
780,
385,
461,
273,
2186,
63,
77,
8009,
588,
3834,
5621,
202,
780,
490,
461,
273,
2186,
63,
77,
8009,
588,
11666,
5621,
202,
430,
14015,
39,
461,
422,
446,
597,
490,
461,
480,
446,
597,
490,
461,
18,
17514,
1190,
2932,
67,
46,
90,
67,
8282,
6,
3719,
202,
225,
747,
202,
282,
261,
39,
461,
480,
446,
202,
565,
597,
261,
39,
461,
18,
14963,
12,
12434,
13,
202,
202,
20081,
385,
461,
18,
14963,
2932,
6290,
18,
4936,
18,
15155,
7923,
202,
202,
20081,
385,
461,
18,
14963,
2932,
6290,
18,
4936,
18,
7397,
15155,
6,
3719,
202,
565,
597,
490,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
25663,
8526,
8881,
2624,
12,
6332,
1046,
8526,
2186,
16,
6862,
1082,
282,
4206,
268,
13,
225,
288,
565,
25663,
8526,
2110,
31,
565,
514,
2658,
273,
268,
18,
588,
797,
7675,
17994,
5621,
565,
514,
1959,
461,
31,
565,
509,
1142,
10412,
273,
2658,
18,
2722,
31985,
2668,
1093,
1769,
565,
309,
261,
2722,
10412,
422,
300,
21,
13,
1377,
1959,
461,
273,
2658,
397,
7321,
31,
565,
469,
1377,
1959,
461,
273,
2658,
18,
28023,
12,
2722,
10412,
397,
404,
13,
397,
7321,
31,
565,
509,
5917,
273,
374,
31,
565,
509,
16048,
273,
374,
31,
565,
509,
1142,
67,
12849,
273,
300,
21,
31,
565,
509,
769,
273,
2186,
18,
2469,
31,
565,
2
] |
||
else { decl = isField ? staticFieldDecl : invokeStaticDecl; System.arraycopy(args, 0, xargs, 2, args.length); xargs[0] = context; } if (! isNew && ! isInstanceOf && ! isCast) xargs[1] = new QuoteExp(isField ? mname.substring(1) : mname);
|
public Expression inline (ApplyExp exp, InlineCalls walker, Declaration decl) { Expression[] pargs = getArgs(); Expression context = pargs[0]; Object name; if (! (pargs[1] instanceof QuoteExp) || ! ((name = ((QuoteExp) pargs[1]).getValue()) instanceof String)) return exp; Expression[] args = exp.getArgs(); String mname = name.toString(); // It would be more efficient to check the kind field, // but there may be case where kind hasn't been set. boolean isInstanceOf = mname.equals(GetNamedPart.INSTANCEOF_METHOD_NAME); boolean isCast = mname.equals(GetNamedPart.CAST_METHOD_NAME); boolean isField = mname.length() > 1 && mname.charAt(0) == '.'; boolean isInstance = context == QuoteExp.nullExp; boolean isNew = mname.equals("new"); if (isField && ! isInstance && args.length == 1) { args = new Expression[] { Convert.makeCoercion(args[0], context) }; isInstance = true; } Expression[] xargs = new Expression[args.length+(isInstance||isNew||isInstanceOf||isCast?1:2)]; if (isInstance) { decl = isField ? fieldDecl : invokeDecl; System.arraycopy(args, 1, xargs, 2, args.length-1); xargs[0] = args[0]; } else if (isNew) { decl = makeDecl; System.arraycopy(args, 0, xargs, 1, args.length); xargs[0] = context; } else if (isInstanceOf) { decl = instanceOfDecl; System.arraycopy(args, 1, xargs, 2, args.length-1); xargs[0] = args[0]; xargs[1] = context; } else if (isCast) { decl = castDecl; System.arraycopy(args, 1, xargs, 2, args.length-1); xargs[0] = context; xargs[1] = args[0]; } else { decl = isField ? staticFieldDecl : invokeStaticDecl; System.arraycopy(args, 0, xargs, 2, args.length); xargs[0] = context; } if (! isNew && ! isInstanceOf && ! isCast) xargs[1] = new QuoteExp(isField ? mname.substring(1) : mname); return walker.walkApplyOnly(new ApplyExp(new ReferenceExp(decl), xargs)); }
|
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/c5957f01376280c40ada661a9aae7f3a875f75dd/GetNamedPart.java/buggy/gnu/kawa/functions/GetNamedPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5371,
6370,
261,
7001,
2966,
1329,
16,
16355,
10125,
14810,
16,
16110,
4302,
3496,
13,
225,
288,
565,
5371,
8526,
779,
564,
273,
30169,
5621,
565,
5371,
819,
273,
779,
564,
63,
20,
15533,
565,
1033,
508,
31,
565,
309,
16051,
261,
1065,
564,
63,
21,
65,
1276,
21695,
2966,
13,
3639,
747,
401,
14015,
529,
273,
14015,
10257,
2966,
13,
779,
564,
63,
21,
65,
2934,
24805,
10756,
1276,
514,
3719,
1377,
327,
1329,
31,
565,
5371,
8526,
833,
273,
1329,
18,
588,
2615,
5621,
565,
514,
312,
529,
273,
508,
18,
10492,
5621,
565,
368,
2597,
4102,
506,
1898,
14382,
358,
866,
326,
3846,
652,
16,
565,
368,
1496,
1915,
2026,
506,
648,
1625,
3846,
13342,
1404,
2118,
444,
18,
565,
1250,
28349,
273,
312,
529,
18,
14963,
12,
967,
7604,
1988,
18,
13341,
3932,
67,
5327,
67,
1985,
1769,
565,
1250,
353,
9735,
273,
312,
529,
18,
14963,
12,
967,
7604,
1988,
18,
21871,
67,
5327,
67,
1985,
1769,
565,
1250,
353,
974,
273,
312,
529,
18,
2469,
1435,
405,
404,
597,
312,
529,
18,
3001,
861,
12,
20,
13,
422,
2611,
31,
565,
1250,
14982,
273,
819,
422,
21695,
2966,
18,
2011,
2966,
31,
565,
1250,
10783,
273,
312,
529,
18,
14963,
2932,
2704,
8863,
565,
309,
261,
291,
974,
597,
401,
14982,
597,
833,
18,
2469,
422,
404,
13,
1377,
288,
3639,
833,
273,
394,
5371,
8526,
288,
4037,
18,
6540,
4249,
12610,
285,
12,
1968,
63,
20,
6487,
819,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5371,
6370,
261,
7001,
2966,
1329,
16,
16355,
10125,
14810,
16,
16110,
4302,
3496,
13,
225,
288,
565,
5371,
8526,
779,
564,
273,
30169,
5621,
565,
5371,
819,
273,
779,
564,
63,
20,
15533,
565,
1033,
508,
31,
565,
309,
16051,
261,
1065,
564,
63,
21,
65,
1276,
21695,
2966,
13,
3639,
747,
401,
14015,
529,
273,
14015,
10257,
2966,
13,
779,
564,
63,
21,
65,
2934,
24805,
10756,
1276,
514,
3719,
1377,
327,
1329,
31,
565,
5371,
8526,
833,
273,
1329,
18,
588,
2615,
5621,
565,
514,
312,
529,
273,
508,
18,
10492,
5621,
565,
368,
2597,
4102,
506,
1898,
14382,
358,
866,
326,
3846,
652,
16,
565,
368,
1496,
1915,
2026,
506,
648,
1625,
3846,
2
] |
|
public Object execMethod (int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_abs: return wrap_double (js_abs(ScriptRuntime.toNumber(args, 0))); case Id_acos: return wrap_double (js_acos(ScriptRuntime.toNumber(args, 0))); case Id_asin: return wrap_double (js_asin(ScriptRuntime.toNumber(args, 0))); case Id_atan: return wrap_double (js_atan(ScriptRuntime.toNumber(args, 0))); case Id_atan2: return wrap_double (js_atan2(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_ceil: return wrap_double (js_ceil(ScriptRuntime.toNumber(args, 0))); case Id_cos: return wrap_double (js_cos(ScriptRuntime.toNumber(args, 0))); case Id_exp: return wrap_double (js_exp(ScriptRuntime.toNumber(args, 0))); case Id_floor: return wrap_double (js_floor(ScriptRuntime.toNumber(args, 0))); case Id_log: return wrap_double (js_log(ScriptRuntime.toNumber(args, 0))); case Id_max: return wrap_double (js_max(args)); case Id_min: return wrap_double (js_min(args)); case Id_pow: return wrap_double (js_pow(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_random: return wrap_double (js_random()); case Id_round: return wrap_double (js_round(ScriptRuntime.toNumber(args, 0))); case Id_sin: return wrap_double (js_sin(ScriptRuntime.toNumber(args, 0))); case Id_sqrt: return wrap_double (js_sqrt(ScriptRuntime.toNumber(args, 0))); case Id_tan: return wrap_double (js_tan(ScriptRuntime.toNumber(args, 0))); } return null; }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/clean/js/rhino/org/mozilla/javascript/NativeMath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
10792,
648,
3124,
67,
5113,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
5113,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
1077,
538,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
1077,
538,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
345,
267,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
345,
267,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
270,
304,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
270,
304,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
270,
304,
22,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
270,
304,
22,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3631,
12900,
7739,
5576,
18,
869,
1854,
12,
1968,
16,
404,
3719,
1769,
13491,
648,
3124,
67,
311,
330,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
311,
330,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
14445,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
14445,
12,
3651,
5576,
18,
869,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
445,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
10792,
648,
3124,
67,
5113,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
5113,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
1077,
538,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
1077,
538,
12,
3651,
5576,
18,
869,
1854,
12,
1968,
16,
374,
3719,
1769,
13491,
648,
3124,
67,
345,
267,
30,
327,
2193,
67,
9056,
7734,
261,
2924,
67,
345,
267,
12,
3651,
5576,
18,
2
] |
||
String encoding) throws XNIException;
|
String encoding, Augmentations augs) throws XNIException;
|
public void startEntity(String name, XMLResourceIdentifier identifier, String encoding) throws XNIException;
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c142befb61e52fe4cf95c40bd1466d0d99b41900/XMLEntityHandler.java/buggy/src/org/apache/xerces/impl/XMLEntityHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
1943,
12,
780,
508,
16,
11794,
3167,
1420,
3004,
2756,
16,
18701,
514,
2688,
13,
1216,
1139,
50,
45,
503,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
1943,
12,
780,
508,
16,
11794,
3167,
1420,
3004,
2756,
16,
18701,
514,
2688,
13,
1216,
1139,
50,
45,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case DOMBuilderFilter.FILTER_SKIP: {
|
case DOMParserFilter.FILTER_SKIP: {
|
public void endElement(QName element, Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>endElement ("+element.rawname+")"); } if (!fDeferNodeExpansion) { // REVISIT: Should this happen after we call the filter? if (fStorePSVI && augs != null) { ElementPSVI elementPSVI = (ElementPSVI)augs.getItem(Constants.ELEMENT_PSVI); if (elementPSVI != null) { ((PSVIElementNSImpl)fCurrentNode).setPSVI(elementPSVI); } } if (fDOMFilter != null) { if (fFilterReject) { if (element.equals(fRejectedElement)) { fFilterReject = false; } return; } if (!fSkippedElemStack.isEmpty()) { if (fSkippedElemStack.peek().equals(element)) { fSkippedElemStack.pop(); return; } } setCharacterData(false); if ((fDOMFilter.getWhatToShow() & NodeFilter.SHOW_ELEMENT)!=0) { short code = fDOMFilter.acceptNode(fCurrentNode); switch (code) { case DOMBuilderFilter.FILTER_INTERRUPT:{ throw new RuntimeException("The normal processing of the document was interrupted."); } case DOMBuilderFilter.FILTER_REJECT:{ Node parent = fCurrentNode.getParentNode(); parent.removeChild(fCurrentNode); fCurrentNode = parent; return; } case DOMBuilderFilter.FILTER_SKIP: { // make sure that if any char data is available // the fFirstChunk is true, so that if the next event // is characters(), and the last node is text, we will copy // the value already in the text node to fStringBuffer // (not to loose it). fFirstChunk = true; // replace children Node parent = fCurrentNode.getParentNode(); NodeList ls = fCurrentNode.getChildNodes(); int length = ls.getLength(); for (int i=0;i<length;i++) { parent.appendChild(ls.item(0)); } parent.removeChild(fCurrentNode); fCurrentNode = parent; return; } default: { } } } fCurrentNode = fCurrentNode.getParentNode(); } // end-if DOMFilter else { setCharacterData(false); fCurrentNode = fCurrentNode.getParentNode(); } } else { fCurrentNodeIndex = fDeferredDocumentImpl.getParentNode(fCurrentNodeIndex, false); } } // endElement(QName)
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/adbd41fc2774d1c8623f3700e0eb49fcc3487989/AbstractDOMParser.java/buggy/src/org/apache/xerces/parsers/AbstractDOMParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14840,
12,
13688,
930,
16,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
631,
34,
409,
1046,
7566,
15,
2956,
18,
1899,
529,
9078,
2225,
1769,
3639,
289,
3639,
309,
16051,
74,
758,
586,
907,
2966,
12162,
13,
288,
13491,
368,
2438,
26780,
1285,
30,
9363,
333,
5865,
1839,
732,
745,
326,
1034,
35,
5411,
309,
261,
74,
2257,
5857,
4136,
597,
279,
9024,
480,
446,
13,
288,
7734,
3010,
5857,
4136,
930,
5857,
4136,
273,
261,
1046,
5857,
4136,
13,
8377,
564,
18,
588,
1180,
12,
2918,
18,
10976,
67,
5857,
4136,
1769,
7734,
309,
261,
2956,
5857,
4136,
480,
446,
13,
288,
10792,
14015,
5857,
4136,
1046,
3156,
2828,
13,
74,
3935,
907,
2934,
542,
5857,
4136,
12,
2956,
5857,
4136,
1769,
7734,
289,
5411,
289,
13491,
309,
261,
74,
8168,
1586,
480,
446,
13,
288,
18701,
309,
261,
74,
1586,
21705,
13,
288,
10792,
309,
261,
2956,
18,
14963,
12,
74,
19902,
1046,
3719,
288,
5397,
284,
1586,
21705,
273,
629,
31,
10792,
289,
10792,
327,
31,
7734,
289,
7734,
309,
16051,
74,
16425,
7498,
2624,
18,
291,
1921,
10756,
288,
10792,
309,
261,
74,
16425,
7498,
2624,
18,
347,
3839,
7675,
14963,
12,
2956,
3719,
288,
13491,
284,
16425,
7498,
2624,
18,
5120,
5621,
13491,
327,
31,
10792,
289,
7734,
289,
7734,
444,
7069,
751,
12,
5743,
1769,
7734,
309,
14015,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14840,
12,
13688,
930,
16,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
631,
34,
409,
1046,
7566,
15,
2956,
18,
1899,
529,
9078,
2225,
1769,
3639,
289,
3639,
309,
16051,
74,
758,
586,
907,
2966,
12162,
13,
288,
13491,
368,
2438,
26780,
1285,
30,
9363,
333,
5865,
1839,
732,
745,
326,
1034,
35,
5411,
309,
261,
74,
2257,
5857,
4136,
597,
279,
9024,
480,
446,
13,
288,
7734,
3010,
5857,
4136,
930,
5857,
4136,
273,
261,
1046,
5857,
4136,
13,
8377,
564,
18,
588,
1180,
12,
2918,
18,
10976,
67,
5857,
4136,
1769,
7734,
309,
261,
2
] |
CodeEditUtil.addChild((CompositeElement)nextField, (TreeElement)SourceTreeToPsiMap.psiElementToTree(typeClone),
|
CodeEditUtil.addChild((CompositeElement)nextField, (TreeElement)SourceTreeToPsiMap.psiElementToTree(typeClone),
|
public void normalizeDeclaration() throws IncorrectOperationException{ CheckUtil.checkWritable(this); final PsiTypeElement type = getTypeElement(); PsiElement modifierList = getModifierList(); ASTNode field = SourceTreeToPsiMap.psiElementToTree(type.getParent()); while(true){ ASTNode comma = TreeUtil.skipElements(field.getTreeNext(), ElementType.WHITE_SPACE_OR_COMMENT_BIT_SET); if (comma == null || comma.getElementType() != JavaTokenType.COMMA) break; ASTNode nextField = TreeUtil.skipElements(comma.getTreeNext(), ElementType.WHITE_SPACE_OR_COMMENT_BIT_SET); if (nextField == null || nextField.getElementType() != JavaElementType.FIELD) break; TreeElement semicolon = Factory.createSingleLeafElement(JavaTokenType.SEMICOLON, new char[]{';'}, 0, 1, null, getManager()); CodeEditUtil.addChild((CompositeElement)field, semicolon, null); CodeEditUtil.removeChild((CompositeElement)comma.getTreeParent(), comma); PsiElement typeClone = type.copy(); CodeEditUtil.addChild((CompositeElement)nextField, (TreeElement)SourceTreeToPsiMap.psiElementToTree(typeClone), nextField.getFirstChildNode()); PsiElement modifierListClone = modifierList.copy(); CodeEditUtil.addChild((CompositeElement)nextField, SourceTreeToPsiMap.psiElementToTree(modifierListClone), nextField.getFirstChildNode()); field = nextField; } SharedImplUtil.normalizeBrackets(this); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/48221ff17723e30fd4614e5fc48a43c6bfe9c332/PsiFieldImpl.java/buggy/source/com/intellij/psi/impl/source/PsiFieldImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3883,
6094,
1435,
1216,
657,
6746,
10602,
95,
565,
2073,
1304,
18,
1893,
12061,
12,
2211,
1769,
565,
727,
453,
7722,
559,
1046,
618,
273,
3130,
1046,
5621,
565,
453,
7722,
1046,
9606,
682,
273,
336,
9829,
682,
5621,
565,
9183,
907,
652,
273,
4998,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
723,
18,
588,
3054,
10663,
565,
1323,
12,
3767,
15329,
1377,
9183,
907,
8716,
273,
4902,
1304,
18,
7457,
3471,
12,
1518,
18,
588,
2471,
2134,
9334,
3010,
559,
18,
16861,
67,
6616,
67,
916,
67,
12200,
67,
15650,
67,
4043,
1769,
1377,
309,
261,
25034,
422,
446,
747,
8716,
18,
588,
17481,
1435,
480,
5110,
28675,
18,
4208,
5535,
13,
898,
31,
1377,
9183,
907,
1024,
974,
273,
4902,
1304,
18,
7457,
3471,
12,
25034,
18,
588,
2471,
2134,
9334,
3010,
559,
18,
16861,
67,
6616,
67,
916,
67,
12200,
67,
15650,
67,
4043,
1769,
1377,
309,
261,
4285,
974,
422,
446,
747,
1024,
974,
18,
588,
17481,
1435,
480,
5110,
17481,
18,
6776,
13,
898,
31,
1377,
4902,
1046,
23682,
273,
7822,
18,
2640,
5281,
9858,
1046,
12,
5852,
28675,
18,
1090,
22972,
1741,
673,
16,
394,
1149,
63,
7073,
11,
4359,
5779,
374,
16,
404,
16,
446,
16,
14154,
10663,
1377,
3356,
4666,
1304,
18,
1289,
1763,
12443,
9400,
1046,
13,
1518,
16,
23682,
16,
446,
1769,
1377,
3356,
4666,
1304,
18,
4479,
1763,
12443,
9400,
1046,
13,
25034,
18,
588,
2471,
3054,
9334,
8716,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3883,
6094,
1435,
1216,
657,
6746,
10602,
95,
565,
2073,
1304,
18,
1893,
12061,
12,
2211,
1769,
565,
727,
453,
7722,
559,
1046,
618,
273,
3130,
1046,
5621,
565,
453,
7722,
1046,
9606,
682,
273,
336,
9829,
682,
5621,
565,
9183,
907,
652,
273,
4998,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
723,
18,
588,
3054,
10663,
565,
1323,
12,
3767,
15329,
1377,
9183,
907,
8716,
273,
4902,
1304,
18,
7457,
3471,
12,
1518,
18,
588,
2471,
2134,
9334,
3010,
559,
18,
16861,
67,
6616,
67,
916,
67,
12200,
67,
15650,
67,
4043,
1769,
1377,
309,
261,
25034,
422,
446,
747,
8716,
18,
588,
17481,
1435,
480,
5110,
28675,
18,
4208,
5535,
2
] |
public LongViewBufferImpl (ByteBuffer bb, int offset, int capacity, int limit, int position, int mark, boolean readOnly, ByteOrder endian)
|
LongViewBufferImpl (ByteBuffer bb, int capacity)
|
public LongViewBufferImpl (ByteBuffer bb, int offset, int capacity, int limit, int position, int mark, boolean readOnly, ByteOrder endian) { super (limit >> 3, limit >> 3, position >> 3, mark >> 3); this.bb = bb; this.offset = offset; this.readOnly = readOnly; this.endian = endian; }
|
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/e88045708e1899ddaec5c5597476cbd3efd39266/LongViewBufferImpl.java/buggy/libjava/java/nio/LongViewBufferImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
225,
288,
565,
2240,
261,
3595,
1671,
890,
16,
1800,
1671,
890,
16,
1754,
1671,
890,
16,
2267,
1671,
890,
1769,
565,
333,
18,
9897,
273,
7129,
31,
565,
333,
18,
3348,
273,
1384,
31,
565,
333,
18,
896,
3386,
273,
15075,
31,
565,
333,
18,
22910,
273,
14759,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
225,
288,
565,
2240,
261,
3595,
1671,
890,
16,
1800,
1671,
890,
16,
1754,
1671,
890,
16,
2267,
1671,
890,
1769,
565,
333,
18,
9897,
273,
7129,
31,
565,
333,
18,
3348,
273,
1384,
31,
565,
333,
18,
896,
3386,
273,
15075,
31,
565,
333,
18,
22910,
273,
14759,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(image != null && imageDescriptor != null) {
|
if (image != null && imageDescriptor != null) {
|
public void releaseReferences() { id = null; tooltip = null; title = null; if(image != null && imageDescriptor != null) { //make sure part has inc. the reference count. if(part != null) part.getTitleImage(); ReferenceCounter imageCache = WorkbenchImages.getImageCache(); image = (Image)imageCache.get(imageDescriptor); if(image != null) { imageCache.removeRef(imageDescriptor); } image = null; imageDescriptor = null; } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/66cfbd309c67e758ee145d7e5e1343dade965795/WorkbenchPartReference.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPartReference.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3992,
8221,
1435,
288,
202,
202,
350,
273,
446,
31,
202,
202,
19798,
273,
446,
31,
202,
202,
2649,
273,
446,
31,
202,
202,
430,
12,
2730,
480,
446,
597,
1316,
3187,
480,
446,
13,
288,
1082,
202,
759,
6540,
3071,
1087,
711,
7290,
18,
326,
2114,
1056,
18,
1082,
202,
430,
12,
2680,
480,
446,
13,
9506,
202,
2680,
18,
588,
4247,
2040,
5621,
1082,
202,
2404,
4789,
1316,
1649,
273,
4147,
22144,
8946,
18,
588,
2040,
1649,
5621,
1082,
202,
2730,
273,
261,
2040,
13,
2730,
1649,
18,
588,
12,
2730,
3187,
1769,
1082,
202,
430,
12,
2730,
480,
446,
13,
288,
9506,
202,
2730,
1649,
18,
4479,
1957,
12,
2730,
3187,
1769,
1082,
202,
97,
1082,
202,
2730,
273,
446,
31,
1082,
202,
2730,
3187,
273,
446,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3992,
8221,
1435,
288,
202,
202,
350,
273,
446,
31,
202,
202,
19798,
273,
446,
31,
202,
202,
2649,
273,
446,
31,
202,
202,
430,
12,
2730,
480,
446,
597,
1316,
3187,
480,
446,
13,
288,
1082,
202,
759,
6540,
3071,
1087,
711,
7290,
18,
326,
2114,
1056,
18,
1082,
202,
430,
12,
2680,
480,
446,
13,
9506,
202,
2680,
18,
588,
4247,
2040,
5621,
1082,
202,
2404,
4789,
1316,
1649,
273,
4147,
22144,
8946,
18,
588,
2040,
1649,
5621,
1082,
202,
2730,
273,
261,
2040,
13,
2730,
1649,
18,
588,
12,
2730,
3187,
1769,
1082,
202,
430,
12,
2730,
480,
446,
13,
288,
9506,
202,
2730,
1649,
18,
4479,
1957,
12,
2730,
3187,
1769,
2
] |
0, 411, 411, 411, 411, 411, 411, 411, 202, 202, 0, 0, 202, 202, 0, 0, 0, 0, 411, 411, 411, 202, 411, 411, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 411, 0, 411, 411, 0, 0, 0, 0, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 0, 286, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 0, 0, 410, 0, 0, 0, 0, 410, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 175, 0, 174, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 193, 0, 0, 0, 177, 0, 185, 0, 0, 0, 193, 0, 0, 0, 0, 0, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 411, 411, 411, 0, 176, 411, 184, 193, 193, 0, 411, 193, 193, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 0, 0, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 189, 189, 189, 0, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 189, 189, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 186, 186, 0, 0, 186, 186, 186, 186, 186, 0, 186, 0, 0, 0, 0, 508, 509, 0, 0, 510, 0, 186, 186, 186, 0, 186, 186, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 186, 186, 0, 0, 0, 0, 0, 193, 193, 193, 0, 0, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 186, 186, 0, 0, 193, 193, 0, 193, 193, 193, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 0, 193, 193, 189, 189, 189, 193, 0, 189, 189, 189, 193, 189, 0, 0, 0, 0, 0, 0, 334, 329, 0, 189, 189, 332, 330, 608, 331, 0, 333, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 187, 0, 189, 189, 328, 0, 0, 189, 0, 0, 187, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 0, 0, 0, 0, 327, 0, 0, 187, 187, 186, 186, 187, 187, 187, 187, 187, 0, 187, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 187, 187, 187, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 188, 0, 186, 186, 187, 187, 0, 186,
|
411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 193, 0, 0, 0, 177, 0, 185, 0, 0, 0, 193, 0, 0, 0, 0, 0, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 411, 411, 411, 0, 176, 411, 184, 193, 193, 0, 411, 193, 193, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 0, 0, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 189, 189, 189, 0, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 189, 189, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 186, 186, 0, 0, 186, 186, 186, 186, 186, 0, 186, 0, 0, 0, 0, 508, 509, 0, 0, 510, 0, 186, 186, 186, 0, 186, 186, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 14, 0, 0, 0, 0, 0, 173, 186, 186, 0, 14, 0, 0, 0, 193, 193, 193, 0, 0, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 186, 186, 0, 14, 193, 193, 0, 193, 193, 193, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 0, 193, 193, 189, 189, 189, 193, 0, 189, 189, 189, 193, 189, 0, 0, 0, 0, 0, 0, 334, 329, 0, 189, 189, 332, 330, 608, 331, 0, 333, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 14, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 187, 0, 189, 189, 328, 0, 0, 189, 0, 0, 187, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 0, 0, 0, 0, 327, 0, 0, 187, 187, 186, 186, 187, 187, 187, 187, 187, 0, 187, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 187, 187, 187, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 188, 0, 186, 186, 187, 187, 0, 186, 0, 0, 188, 0, 186, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 187, 187, 188, 188, 0, 0, 188, 188, 188, 188, 188, 0, 188, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 188, 188, 188, 0, 188, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, 0,
|
private static final short[] yyTable2() { return new short[] { 472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 327, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 473, 472, 472, 472, 472, 472, 472, 472, 472, 0, 473, 0, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 473, 0, 0, 0, 473, 473, 0, 473, 473, 473, 473, 78, 473, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 86, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 473, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 473, 0, 0, 473, 0, 0, 0, 278, 278, 0, 473, 278, 278, 278, 79, 278, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 87, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 278, 0, 0, 278, 0, 0, 0, 655, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 473, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 327, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 492, 473, 473, 473, 473, 473, 473, 473, 473, 0, 492, 0, 0, 473, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 251, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 469, 0, 0, 0, 0, 0, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 326, 0, 325, 324, 0, 0, 469, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 327, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 58, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 469, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 412, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 470, 0, 678, 0, 90, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 470, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 0, 0, 476, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 90, 90, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 476, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 476, 0, 0, 90, 207, 0, 0, 106, 47, 48, 49, 0, 619, 232, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 0, 0, 14, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 14, 91, 91, 91, 91, 91, 91, 91, 0, 470, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 91, 14, 0, 91, 91, 91, 91, 0, 91, 0, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 476, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 753, 476, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 473, 0, 0, 0, 90, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 91, 91, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 279, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 323, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 323, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 323, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 323, 278, 91, 0, 0, 91, 91, 91, 91, 0, 91, 492, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 492, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 492, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 91, 0, 0, 91, 91, 91, 91, 0, 91, 52, 91, 91, 91, 91, 91, 91, 0, 0, 0, 52, 91, 0, 0, 0, 492, 0, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 52, 0, 0, 0, 323, 323, 323, 323, 323, 323, 323, 0, 0, 323, 0, 0, 0, 52, 52, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 0, 323, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 52, 0, 0, 0, 0, 323, 0, 0, 323, 323, 323, 323, 0, 323, 0, 323, 323, 323, 323, 323, 323, 0, 492, 0, 0, 323, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 216, 492, 492, 0, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 52, 52, 52, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 41, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 41, 41, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 41, 0, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 350, 350, 0, 0, 350, 350, 350, 350, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 350, 350, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 0, 0, 41, 41, 41, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 423, 41, 350, 0, 350, 350, 0, 0, 0, 0, 423, 0, 0, 41, 41, 41, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 423, 423, 0, 0, 423, 423, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 82, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 423, 0, 423, 423, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 492, 492, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 350, 350, 350, 492, 350, 492, 492, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 32, 0, 492, 492, 492, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 0, 0, 350, 0, 0, 32, 0, 350, 261, 0, 0, 0, 0, 0, 0, 423, 423, 423, 0, 0, 423, 423, 423, 32, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 32, 424, 423, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 492, 0, 273, 273, 0, 492, 273, 273, 273, 273, 273, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 89, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 0, 0, 279, 32, 32, 0, 32, 0, 273, 0, 273, 273, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 279, 279, 273, 273, 279, 279, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 88, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 279, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 280, 280, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 83, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 280, 0, 280, 280, 0, 0, 0, 0, 0, 273, 273, 0, 0, 0, 0, 0, 0, 0, 273, 273, 0, 273, 273, 273, 273, 273, 0, 494, 0, 0, 0, 0, 0, 280, 280, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 494, 0, 0, 273, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 494, 494, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 197, 0, 0, 0, 494, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 0, 0, 279, 494, 0, 0, 0, 279, 197, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 197, 197, 280, 280, 280, 197, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 197, 0, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 197, 280, 280, 280, 0, 0, 280, 0, 373, 373, 0, 280, 373, 373, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 0, 494, 494, 494, 216, 494, 0, 0, 0, 0, 373, 0, 373, 373, 216, 494, 494, 0, 0, 0, 0, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 373, 373, 216, 216, 216, 216, 216, 322, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 197, 197, 197, 0, 0, 197, 197, 197, 0, 197, 322, 0, 216, 216, 0, 290, 0, 0, 0, 197, 197, 0, 0, 0, 0, 290, 0, 0, 197, 197, 0, 197, 197, 197, 197, 197, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 290, 290, 290, 290, 290, 290, 290, 197, 197, 0, 0, 197, 197, 0, 0, 0, 0, 290, 290, 290, 197, 290, 290, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 290, 0, 290, 290, 0, 0, 0, 0, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 56, 0, 0, 0, 0, 0, 290, 290, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 56, 0, 0, 373, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 56, 56, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 202, 0, 0, 0, 56, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 0, 0, 216, 216, 322, 0, 0, 216, 56, 0, 0, 0, 216, 202, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 290, 202, 202, 290, 290, 290, 202, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 202, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 202, 290, 290, 290, 0, 0, 290, 0, 286, 286, 0, 290, 286, 286, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 0, 0, 56, 56, 56, 410, 56, 0, 0, 0, 0, 286, 0, 286, 286, 410, 56, 56, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 56, 56, 56, 56, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 286, 286, 410, 410, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 202, 202, 0, 0, 202, 202, 202, 0, 202, 410, 0, 410, 410, 0, 411, 0, 0, 0, 202, 202, 0, 0, 0, 0, 411, 0, 0, 202, 202, 0, 202, 202, 202, 202, 202, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 411, 411, 411, 411, 411, 411, 411, 202, 202, 0, 0, 202, 202, 0, 0, 0, 0, 411, 411, 411, 202, 411, 411, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 411, 0, 411, 411, 0, 0, 0, 0, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 0, 286, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 0, 0, 410, 0, 0, 0, 0, 410, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 175, 0, 174, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 193, 0, 0, 0, 177, 0, 185, 0, 0, 0, 193, 0, 0, 0, 0, 0, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 411, 411, 411, 0, 176, 411, 184, 193, 193, 0, 411, 193, 193, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 0, 0, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 189, 189, 189, 0, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 189, 189, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 186, 186, 0, 0, 186, 186, 186, 186, 186, 0, 186, 0, 0, 0, 0, 508, 509, 0, 0, 510, 0, 186, 186, 186, 0, 186, 186, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 186, 186, 0, 0, 0, 0, 0, 193, 193, 193, 0, 0, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 186, 186, 0, 0, 193, 193, 0, 193, 193, 193, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 0, 193, 193, 189, 189, 189, 193, 0, 189, 189, 189, 193, 189, 0, 0, 0, 0, 0, 0, 334, 329, 0, 189, 189, 332, 330, 608, 331, 0, 333, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 187, 0, 189, 189, 328, 0, 0, 189, 0, 0, 187, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 0, 0, 0, 0, 327, 0, 0, 187, 187, 186, 186, 187, 187, 187, 187, 187, 0, 187, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 187, 187, 187, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 188, 0, 186, 186, 187, 187, 0, 186, }; }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
1059,
9060,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
3847,
28,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
3847,
27,
16,
225,
1059,
9060,
16,
6647,
1059,
6669,
16,
225,
1059,
6669,
16,
225,
1059,
6669,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
6669,
16,
225,
1059,
6669,
16,
225,
1059,
9060,
16,
225,
1059,
6669,
16,
6647,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
6669,
16,
565,
374,
16,
2398,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
1059,
9060,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
3847,
28,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
2
] |
startEditing(path, null);
|
public void startEditingAtPath(JTree tree, TreePath path) { // FIXME: not implemented }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/977c1d7a19f86a598e5fa0da86c3cb2bae54c581/BasicTreeUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
1071,
1937,
28029,
12,
803,
16,
446,
1769,
918,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
861,
743,
12,
46,
56,
266,
27893,
28029,
12,
803,
16,
446,
1769,
2151,
16,
1937,
28029,
12,
803,
16,
446,
1769,
4902,
743,
1937,
28029,
12,
803,
16,
446,
1769,
589,
13,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
288,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
368,
1937,
28029,
12,
803,
16,
446,
1769,
9852,
30,
1937,
28029,
12,
803,
16,
446,
1769,
486,
1937,
28029,
12,
803,
16,
446,
1769,
8249,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
1071,
1937,
28029,
12,
803,
16,
446,
1769,
918,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
861,
743,
12,
46,
56,
266,
27893,
28029,
12,
803,
16,
446,
1769,
2151,
16,
1937,
28029,
12,
803,
16,
446,
1769,
4902,
743,
1937,
28029,
12,
803,
16,
446,
1769,
589,
13,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
288,
1937,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
787,
28029,
12,
803,
16,
446,
1769,
368,
1937,
28029,
12,
803,
16,
446,
1769,
9852,
30,
1937,
2
] |
|
catch( ScriptException e ) {
|
catch( final ScriptException e ) {
|
public void testActiveXObjectNoMap() throws Exception { try { loadPage(getJavaScriptContent( "new ActiveXObject()" )); fail( "An exception should be thrown for zero argument constructor." ); } catch( ScriptException e ) { // Success } try { loadPage(getJavaScriptContent( "new ActiveXObject(1, '2', '3')" )); fail( "An exception should be thrown for a three argument constructor." ); } catch( ScriptException e ) { // Success } try { loadPage(getJavaScriptContent( "new ActiveXObject(a)" )); fail( "An exception should be thrown for an undefined parameter in the constructor." ); } catch( ScriptException e ) { // Success } try { loadPage(getJavaScriptContent( "new ActiveXObject(10)" )); fail( "An exception should be thrown for an integer parameter in the constructor." ); } catch( ScriptException e ) { // Success } try { loadPage(getJavaScriptContent( "new ActiveXObject('UnknownObject')" )); fail( "An exception should be thrown for a null map." ); } catch( ScriptException e ) { // Success } }
|
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/JavaScriptEngineTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngineTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3896,
60,
921,
2279,
863,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
10031,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
3634,
1237,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
11958,
3639,
289,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
12,
21,
16,
296,
22,
2187,
296,
23,
23291,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
279,
8925,
1237,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
11958,
3639,
289,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
12,
69,
2225,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
392,
3109,
1569,
316,
326,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
11958,
3639,
289,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
12,
2163,
2225,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
392,
3571,
1569,
316,
326,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
11958,
3639,
289,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3896,
60,
921,
2279,
863,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
10031,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
3634,
1237,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
11958,
3639,
289,
3639,
775,
288,
5411,
1262,
1964,
12,
588,
16634,
1350,
12,
315,
2704,
8857,
60,
921,
12,
21,
16,
296,
22,
2187,
296,
23,
23291,
262,
1769,
5411,
2321,
12,
315,
979,
1520,
1410,
506,
6718,
364,
279,
8925,
1237,
3885,
1199,
11272,
3639,
289,
540,
1044,
12,
727,
7739,
503,
425,
262,
288,
5411,
368,
2
] |
out.write(src.array());
|
out.write(src.array(),0,byteCount);
|
public int write(ByteBuffer src) throws IOException { if (needsCrypt()) { return supporter.write(src); //throw new IOException("SSL NOT IMPLEMENTED YET"); } int byteCount = src.remaining(); out.write(src.array()); return byteCount; }
|
11835 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11835/bb14ffc6701468814822a615c8bb29e8d99f22e0/SocketProvider.java/clean/ftp4che14/src/java/org/ftp4che/io/SocketProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1045,
12,
12242,
1705,
13,
1216,
1860,
225,
202,
95,
3639,
309,
261,
20600,
22815,
10756,
3639,
288,
540,
202,
2463,
1169,
7988,
18,
2626,
12,
4816,
1769,
540,
202,
759,
12849,
394,
1860,
2932,
6745,
4269,
15694,
28485,
6404,
1624,
1584,
8863,
3639,
289,
3639,
509,
30179,
273,
1705,
18,
17956,
5621,
3639,
596,
18,
2626,
12,
4816,
18,
1126,
10663,
202,
202,
2463,
30179,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1045,
12,
12242,
1705,
13,
1216,
1860,
225,
202,
95,
3639,
309,
261,
20600,
22815,
10756,
3639,
288,
540,
202,
2463,
1169,
7988,
18,
2626,
12,
4816,
1769,
540,
202,
759,
12849,
394,
1860,
2932,
6745,
4269,
15694,
28485,
6404,
1624,
1584,
8863,
3639,
289,
3639,
509,
30179,
273,
1705,
18,
17956,
5621,
3639,
596,
18,
2626,
12,
4816,
18,
1126,
10663,
202,
202,
2463,
30179,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (player.getInitiative(level) == init) { order[oi++] = player.getId();
|
try { if (player.getInitiative(level) == init) { order[oi++] = player.getId(); } } catch (ArrayIndexOutOfBoundsException ex) { System.err.println("Server: ArrayIndexOutOfBoundsException ordering initiative. oi=" + oi + ", order.length = " + order.length);
|
private int orderByInit(int previousInit, int init, int level, int[] order, int oi) { if (isInitTie(init, level)) { for (int j = 2; j <= 12; j++) { oi = orderByInit(init, j, level + 1, order, oi); } return oi; } for (Enumeration i = game.getPlayers(); i.hasMoreElements();) { final Player player = (Player)i.nextElement(); // check previous initiative and that the player is on this level if (player.getInitiativeSize() <= level || (level > 0 && player.getInitiative(level - 1) != previousInit)) { continue; } if (player.getInitiative(level) == init) { order[oi++] = player.getId(); } } return oi; }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/cf423b5b1f9a07a414f4ea9d7ca945bc76b85fde/Server.java/clean/megamek/src/megamek/server/Server.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
5278,
2570,
12,
474,
2416,
2570,
16,
509,
1208,
16,
509,
1801,
16,
509,
8526,
1353,
16,
509,
24971,
13,
288,
3639,
309,
261,
291,
2570,
56,
1385,
12,
2738,
16,
1801,
3719,
288,
5411,
364,
261,
474,
525,
273,
576,
31,
525,
1648,
2593,
31,
525,
27245,
288,
9079,
24971,
273,
5278,
2570,
12,
2738,
16,
525,
16,
1801,
397,
404,
16,
1353,
16,
24971,
1769,
2398,
289,
5411,
327,
24971,
31,
3639,
289,
3639,
364,
261,
21847,
277,
273,
7920,
18,
588,
1749,
3907,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
5411,
727,
19185,
7291,
273,
261,
12148,
13,
77,
18,
4285,
1046,
5621,
5411,
368,
866,
2416,
1208,
77,
1535,
471,
716,
326,
7291,
353,
603,
333,
1801,
5411,
309,
261,
14872,
18,
588,
2570,
77,
1535,
1225,
1435,
1648,
1801,
747,
261,
2815,
405,
374,
597,
7291,
18,
588,
2570,
77,
1535,
12,
2815,
300,
404,
13,
480,
2416,
2570,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
309,
261,
14872,
18,
588,
2570,
77,
1535,
12,
2815,
13,
422,
1208,
13,
288,
7734,
1353,
63,
11359,
9904,
65,
273,
7291,
18,
26321,
5621,
5411,
289,
3639,
289,
3639,
327,
24971,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
5278,
2570,
12,
474,
2416,
2570,
16,
509,
1208,
16,
509,
1801,
16,
509,
8526,
1353,
16,
509,
24971,
13,
288,
3639,
309,
261,
291,
2570,
56,
1385,
12,
2738,
16,
1801,
3719,
288,
5411,
364,
261,
474,
525,
273,
576,
31,
525,
1648,
2593,
31,
525,
27245,
288,
9079,
24971,
273,
5278,
2570,
12,
2738,
16,
525,
16,
1801,
397,
404,
16,
1353,
16,
24971,
1769,
2398,
289,
5411,
327,
24971,
31,
3639,
289,
3639,
364,
261,
21847,
277,
273,
7920,
18,
588,
1749,
3907,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
5411,
727,
19185,
7291,
273,
261,
12148,
13,
77,
18,
4285,
1046,
5621,
5411,
368,
866,
2416,
1208,
77,
1535,
471,
2
] |
return true;
|
return cms.hasRole(CmsRole.ACCOUNT_MANAGER);
|
public boolean isEnabled(CmsObject cms) { return true; }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/8f1c04c5a16fe8d0bdbd13b65bf2a7b5cf100ff9/CmsAccountsToolHandler.java/buggy/src-modules/org/opencms/workplace/tools/accounts/CmsAccountsToolHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12047,
12,
4747,
921,
6166,
13,
288,
3639,
327,
6166,
18,
5332,
2996,
12,
4747,
2996,
18,
21690,
67,
19402,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12047,
12,
4747,
921,
6166,
13,
288,
3639,
327,
6166,
18,
5332,
2996,
12,
4747,
2996,
18,
21690,
67,
19402,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "count(distinct " + operand + ")"; }
|
return "count(distinct " + operand + ")"; }
|
public String getExpression(String operand) { return "count(distinct " + operand + ")"; }
|
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapAggregator.java/buggy/src/main/mondrian/rolap/RolapAggregator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
16183,
12,
780,
9886,
13,
288,
1082,
202,
2463,
315,
1883,
12,
24592,
315,
397,
9886,
397,
7310,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
16183,
12,
780,
9886,
13,
288,
1082,
202,
2463,
315,
1883,
12,
24592,
315,
397,
9886,
397,
7310,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"att_mediacast_length", ""+con.getContentLength());
|
"att_mediacast_length", ""+con.getContentLength());
|
private boolean checkMediaCast(WeblogEntryData entry, ActionMessages uiMessages) { boolean valid = false; String url = entry.findEntryAttribute("att_mediacast_url"); boolean empty = (url == null) || (url.trim().length() == 0); if (!empty) { // fetch MediaCast content type and length valid = false; try { mLogger.debug("Sending HTTP HEAD"); HttpURLConnection con = (HttpURLConnection) new URL(url).openConnection(); mLogger.debug("Getting response code"); con.setRequestMethod("HEAD"); if (con.getResponseCode() != 200) { mLogger.debug("Response code indicates error"); mLogger.error("ERROR " + con.getResponseCode() + " return from MediaCast URL"); uiMessages.add(null,new ActionMessage("weblogEdit.mediaCastResponseError")); } else if (con.getContentType()==null || con.getContentLength()==-1) { mLogger.debug("Content type + (" + con.getContentType() + " is null or content length (" + con.getContentLength() + ") is -1 (indeterminate)."); uiMessages.add(null,new ActionMessage("weblogEdit.mediaCastLacksContentTypeOrLength")); } else { if (mLogger.isDebugEnabled()) { mLogger.debug("Got good response: Content type " + con.getContentType() + " [length = " + con.getContentLength() + "]" ); } entry.putEntryAttribute( "att_mediacast_type", con.getContentType()); entry.putEntryAttribute( "att_mediacast_length", ""+con.getContentLength()); valid = true; } } catch (MalformedURLException mfue) { mLogger.debug("Malformed MediaCast url: " + url); uiMessages.add(null, new ActionMessage("weblogEdit.mediaCastUrlMalformed")); } catch (Exception e) { mLogger.error("ERROR while checking MediaCast URL: " + url + ": " + e.getMessage()); uiMessages.add(null, new ActionMessage("weblogEdit.mediaCastFailedFetchingInfo")); } } else { mLogger.debug("No MediaCast specified, but that is OK"); valid = true; } if (!valid || empty) { mLogger.debug("Removing MediaCast attributes"); try { entry.removeEntryAttribute("att_mediacast_url"); entry.removeEntryAttribute("att_mediacast_type"); entry.removeEntryAttribute("att_mediacast_length"); } catch (RollerException e) { mLogger.error("ERROR removing invalid MediaCast attributes"); } } mLogger.debug("operation complete"); return valid; }
|
46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/c400a7736cdd468232f13146ab5064abadfc2cc3/WeblogEntryFormAction.java/clean/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
5419,
9735,
12,
4079,
1330,
1622,
751,
1241,
16,
4382,
5058,
5915,
5058,
13,
565,
288,
3639,
1250,
923,
273,
629,
31,
3639,
514,
880,
273,
1241,
18,
4720,
1622,
1499,
2932,
4558,
67,
5660,
1077,
689,
67,
718,
8863,
3639,
1250,
1008,
273,
261,
718,
422,
446,
13,
747,
261,
718,
18,
5290,
7675,
2469,
1435,
422,
374,
1769,
3639,
309,
16051,
5531,
13,
3639,
288,
5411,
368,
2158,
6128,
9735,
913,
618,
471,
769,
5411,
923,
273,
629,
31,
5411,
775,
5411,
288,
7734,
312,
3328,
18,
4148,
2932,
16322,
2239,
14792,
8863,
7734,
19084,
356,
273,
261,
2940,
14790,
13,
10792,
394,
1976,
12,
718,
2934,
3190,
1952,
5621,
7734,
312,
3328,
18,
4148,
2932,
19213,
766,
981,
8863,
7734,
356,
18,
542,
691,
1305,
2932,
12458,
8863,
7734,
309,
261,
591,
18,
588,
1064,
1085,
1435,
480,
4044,
13,
1171,
288,
10792,
312,
3328,
18,
4148,
2932,
1064,
981,
8527,
555,
8863,
10792,
312,
3328,
18,
1636,
2932,
3589,
315,
397,
356,
18,
588,
1064,
1085,
1435,
397,
315,
327,
628,
6128,
9735,
1976,
8863,
10792,
5915,
5058,
18,
1289,
12,
2011,
16,
2704,
4382,
1079,
2932,
4875,
1330,
4666,
18,
5829,
9735,
28551,
7923,
1769,
7734,
289,
7734,
469,
309,
261,
591,
18,
588,
8046,
1435,
631,
2011,
747,
356,
18,
588,
1350,
1782,
1435,
631,
17,
21,
13,
7734,
288,
10792,
312,
3328,
18,
4148,
2932,
1350,
618,
397,
7566,
397,
356,
18,
588,
8046,
1435,
225,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
5419,
9735,
12,
4079,
1330,
1622,
751,
1241,
16,
4382,
5058,
5915,
5058,
13,
565,
288,
3639,
1250,
923,
273,
629,
31,
3639,
514,
880,
273,
1241,
18,
4720,
1622,
1499,
2932,
4558,
67,
5660,
1077,
689,
67,
718,
8863,
3639,
1250,
1008,
273,
261,
718,
422,
446,
13,
747,
261,
718,
18,
5290,
7675,
2469,
1435,
422,
374,
1769,
3639,
309,
16051,
5531,
13,
3639,
288,
5411,
368,
2158,
6128,
9735,
913,
618,
471,
769,
5411,
923,
273,
629,
31,
5411,
775,
5411,
288,
7734,
312,
3328,
18,
4148,
2932,
16322,
2239,
14792,
8863,
7734,
19084,
356,
273,
261,
2940,
14790,
13,
10792,
394,
1976,
12,
718,
2934,
3190,
1952,
5621,
7734,
312,
3328,
2
] |
Symbol owner = realFun.symbol().owner(); if (!classStack.isEmpty() && ((Symbol)classStack.getFirst()).closurePos(owner) != -1) { Symbol thisSym = (Symbol)classStack.getFirst();
|
int level = outerLevel(realFun.symbol().owner()); if (level >= 0) {
|
public Tree transform(Tree tree) { switch (tree) { case ClassDef(int mods, _, _, _, _, _) : { // Add outer link ClassDef classDef = (ClassDef) tree; Symbol sym = classDef.symbol(); Tree newTree; classStack.addFirst(sym); if (classStack.size() == 1 || Modifiers.Helper.isStatic(mods)) { outerLinks.addFirst(null); newTree = super.transform(tree); } else newTree = addOuterLink(classDef); outerLinks.removeFirst(); classStack.removeFirst(); return newTree; } case Ident(Name name): { if (! name.isTermName()) return super.transform(tree); // Follow "outer" links to fetch data in outer classes. Symbol sym = tree.symbol(); Symbol owner = sym.classOwner(); Iterator classIt = classStack.iterator(); boolean found = false; int level = -1; while (!found && classIt.hasNext()) { Symbol classSym = (Symbol)classIt.next(); if (classSym.closurePos(owner) != -1) found = true; ++level; } if (found && level > 0) { Tree root = outerRef(level); return gen.mkStable(gen.Select(root, sym)); } else { return super.transform(tree); } } case Apply(Tree fun, Tree[] args): { // Add outer parameter to constructor calls. Tree realFun; Tree[] typeArgs; switch (fun) { case TypeApply(Tree fun2, Tree[] tArgs): realFun = fun2; typeArgs = tArgs; break; default: realFun = fun; typeArgs = null; break; } Tree newFun = null, newArg = null; if (realFun.hasSymbol() && realFun.symbol().isPrimaryConstructor()) { switch (transform(realFun)) { case Select(Tree qualifier, Name selector): { if (! (qualifier.hasSymbol() && Modifiers.Helper.isNoVal(qualifier.symbol().flags))) { newFun = make.Ident(qualifier.pos, selector) .setType(realFun.type()) .setSymbol(realFun.symbol()); newArg = qualifier; } } break; case Ident(Name name): { Symbol owner = realFun.symbol().owner(); if (!classStack.isEmpty() && ((Symbol)classStack.getFirst()).closurePos(owner) != -1) { Symbol thisSym = (Symbol)classStack.getFirst(); newFun = realFun; newArg = gen.This(realFun.pos, thisSym); } } break; default: throw global.fail("unexpected node in constructor call"); } if (newFun != null && newArg != null) { Tree[] newArgs = new Tree[args.length + 1]; newArgs[0] = newArg; System.arraycopy(args, 0, newArgs, 1, args.length); Tree finalFun; if (typeArgs != null) finalFun = copy.TypeApply(fun, newFun, typeArgs); else finalFun = newFun; finalFun.type = addValueParam(finalFun.type, outerSym(realFun.symbol())); return copy.Apply(tree, finalFun, transform(newArgs)); } else return super.transform(tree); } else return super.transform(tree); } default: return super.transform(tree); } }
|
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/14bc0c4f0df23f78fcd143a719113b1c1c37c4ea/ExplicitOuterClasses.java/buggy/sources/scalac/transformer/ExplicitOuterClasses.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4902,
2510,
12,
2471,
2151,
13,
288,
3639,
1620,
261,
3413,
13,
288,
3639,
648,
1659,
3262,
12,
474,
15546,
16,
389,
16,
389,
16,
389,
16,
389,
16,
389,
13,
294,
288,
5411,
368,
1436,
6390,
1692,
5411,
1659,
3262,
667,
3262,
273,
261,
797,
3262,
13,
2151,
31,
5411,
8565,
5382,
273,
667,
3262,
18,
7175,
5621,
5411,
4902,
394,
2471,
31,
5411,
667,
2624,
18,
1289,
3759,
12,
8117,
1769,
5411,
309,
261,
1106,
2624,
18,
1467,
1435,
422,
404,
747,
3431,
3383,
18,
2276,
18,
291,
5788,
12,
22760,
3719,
288,
7734,
6390,
7100,
18,
1289,
3759,
12,
2011,
1769,
7734,
394,
2471,
273,
2240,
18,
6547,
12,
3413,
1769,
5411,
289,
469,
7734,
394,
2471,
273,
527,
15040,
2098,
12,
1106,
3262,
1769,
5411,
6390,
7100,
18,
4479,
3759,
5621,
5411,
667,
2624,
18,
4479,
3759,
5621,
5411,
327,
394,
2471,
31,
3639,
289,
3639,
648,
13128,
12,
461,
508,
4672,
288,
5411,
309,
16051,
508,
18,
291,
4065,
461,
10756,
7734,
327,
2240,
18,
6547,
12,
3413,
1769,
5411,
368,
16093,
315,
14068,
6,
4716,
358,
2158,
501,
316,
6390,
3318,
18,
5411,
8565,
5382,
273,
2151,
18,
7175,
5621,
5411,
8565,
3410,
273,
5382,
18,
1106,
5541,
5621,
5411,
4498,
667,
7193,
273,
667,
2624,
18,
9838,
5621,
5411,
1250,
1392,
273,
629,
31,
5411,
509,
1801,
273,
300,
21,
31,
5411,
1323,
16051,
7015,
597,
667,
7193,
18,
5332,
2134,
10756,
288,
7734,
8565,
667,
11901,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4902,
2510,
12,
2471,
2151,
13,
288,
3639,
1620,
261,
3413,
13,
288,
3639,
648,
1659,
3262,
12,
474,
15546,
16,
389,
16,
389,
16,
389,
16,
389,
16,
389,
13,
294,
288,
5411,
368,
1436,
6390,
1692,
5411,
1659,
3262,
667,
3262,
273,
261,
797,
3262,
13,
2151,
31,
5411,
8565,
5382,
273,
667,
3262,
18,
7175,
5621,
5411,
4902,
394,
2471,
31,
5411,
667,
2624,
18,
1289,
3759,
12,
8117,
1769,
5411,
309,
261,
1106,
2624,
18,
1467,
1435,
422,
404,
747,
3431,
3383,
18,
2276,
18,
291,
5788,
12,
22760,
3719,
288,
7734,
6390,
7100,
18,
1289,
3759,
12,
2011,
1769,
7734,
394,
2471,
273,
2240,
18,
6547,
12,
3413,
1769,
5411,
289,
469,
2
] |
int _m235 = mark(); synPredMatched235 = true;
|
int _m245 = mark(); synPredMatched245 = true;
|
public final void stepExpr() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST stepExpr_AST = null; boolean synPredMatched229 = false; if (((_tokenSet_7.member(LA(1))))) { int _m229 = mark(); synPredMatched229 = true; inputState.guessing++; try { { { switch ( LA(1)) { case LITERAL_text: { match(LITERAL_text); break; } case LITERAL_node: { match(LITERAL_node); break; } case LITERAL_element: { match(LITERAL_element); break; } case LITERAL_attribute: { match(LITERAL_attribute); break; } case LITERAL_comment: { match(LITERAL_comment); break; } case 165: { match(165); break; } case 166: { match(166); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(LPAREN); } } catch (RecognitionException pe) { synPredMatched229 = false; } rewind(_m229); inputState.guessing--; } if ( synPredMatched229 ) { axisStep(); astFactory.addASTChild(currentAST, returnAST); stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched232 = false; if (((_tokenSet_8.member(LA(1))))) { int _m232 = mark(); synPredMatched232 = true; inputState.guessing++; try { { { switch ( LA(1)) { case LITERAL_element: { match(LITERAL_element); break; } case LITERAL_attribute: { match(LITERAL_attribute); break; } case LITERAL_text: { match(LITERAL_text); break; } case LITERAL_document: { match(LITERAL_document); break; } case 165: { match(165); break; } case LITERAL_comment: { match(LITERAL_comment); break; } case LITERAL_ordered: { match(LITERAL_ordered); break; } case LITERAL_unordered: { match(LITERAL_unordered); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(LCURLY); } } catch (RecognitionException pe) { synPredMatched232 = false; } rewind(_m232); inputState.guessing--; } if ( synPredMatched232 ) { filterStep(); astFactory.addASTChild(currentAST, returnAST); stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched235 = false; if (((_tokenSet_8.member(LA(1))))) { int _m235 = mark(); synPredMatched235 = true; inputState.guessing++; try { { { switch ( LA(1)) { case LITERAL_element: { match(LITERAL_element); break; } case LITERAL_attribute: { match(LITERAL_attribute); break; } case 165: { match(165); break; } case LITERAL_namespace: { match(LITERAL_namespace); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } qName(); match(LCURLY); } } catch (RecognitionException pe) { synPredMatched235 = false; } rewind(_m235); inputState.guessing--; } if ( synPredMatched235 ) { filterStep(); astFactory.addASTChild(currentAST, returnAST); stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { boolean synPredMatched238 = false; if (((_tokenSet_8.member(LA(1))))) { int _m238 = mark(); synPredMatched238 = true; inputState.guessing++; try { { switch ( LA(1)) { case DOLLAR: { match(DOLLAR); break; } case NCNAME: case LITERAL_xquery: case LITERAL_version: case LITERAL_module: case LITERAL_namespace: case LITERAL_declare: case LITERAL_default: case 63: case LITERAL_ordering: case LITERAL_construction: case 66: case LITERAL_option: case LITERAL_function: case LITERAL_variable: case LITERAL_import: case LITERAL_encoding: case LITERAL_collation: case LITERAL_element: case LITERAL_order: case LITERAL_empty: case LITERAL_preserve: case LITERAL_strip: case LITERAL_ordered: case LITERAL_unordered: case 84: case LITERAL_inherit: case 86: case LITERAL_external: case LITERAL_at: case LITERAL_schema: case LITERAL_as: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_typeswitch: case LITERAL_update: case LITERAL_replace: case LITERAL_value: case LITERAL_insert: case LITERAL_delete: case LITERAL_rename: case LITERAL_with: case LITERAL_into: case LITERAL_preceding: case LITERAL_following: case LITERAL_return: case LITERAL_by: case LITERAL_case: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_of: case LITERAL_treat: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case LITERAL_is: case LITERAL_isnot: case LITERAL_to: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 166: case LITERAL_document: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 178: case 179: case LITERAL_parent: case LITERAL_ancestor: case 182: case 183: case LITERAL_collection: case LITERAL_validate: { { qName(); match(LPAREN); } break; } case SELF: { match(SELF); break; } case LPAREN: { match(LPAREN); break; } case STRING_LITERAL: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { literal(); break; } case XML_COMMENT: { match(XML_COMMENT); break; } case LT: { match(LT); break; } case XML_PI: { match(XML_PI); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } } catch (RecognitionException pe) { synPredMatched238 = false; } rewind(_m238); inputState.guessing--; } if ( synPredMatched238 ) { filterStep(); astFactory.addASTChild(currentAST, returnAST); stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((_tokenSet_7.member(LA(1)))) { axisStep(); astFactory.addASTChild(currentAST, returnAST); stepExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } }}} returnAST = stepExpr_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2235,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2235,
4742,
67,
9053,
273,
446,
31,
9506,
202,
6494,
6194,
10391,
15400,
3787,
29,
273,
629,
31,
202,
202,
430,
261,
12443,
67,
2316,
694,
67,
27,
18,
5990,
12,
2534,
12,
21,
3719,
20349,
288,
1082,
202,
474,
389,
81,
3787,
29,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
3787,
29,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
9506,
202,
95,
9506,
202,
95,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
9506,
202,
3593,
511,
18454,
67,
955,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
955,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
3593,
511,
18454,
67,
2159,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
2159,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
3593,
511,
18454,
67,
2956,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
2956,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
3593,
511,
18454,
67,
4589,
30,
9506,
202,
95,
6862,
202,
1916,
12,
23225,
67,
4589,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
9506,
202,
3593,
511,
18454,
67,
3469,
30,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2235,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2235,
4742,
67,
9053,
273,
446,
31,
9506,
202,
6494,
6194,
10391,
15400,
3787,
29,
273,
629,
31,
202,
202,
430,
261,
12443,
67,
2316,
694,
67,
27,
18,
5990,
12,
2534,
12,
21,
3719,
20349,
288,
1082,
202,
474,
389,
81,
3787,
29,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
3787,
29,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
2
] |
NakReceiverWindow win;
|
NakReceiverWindow win;
|
void reset() { NakReceiverWindow win; // Only reset if not coord: coord may have to retransmit the VIEW_CHANGE msg to slow members, // since VIEW_CHANGE results in retransmitter resetting, retransmission would be killed, and the // slow mbr would never receive a new view (see ./design/ViewChangeRetransmission.txt) if(!coordinator()) sender_win.reset(); sent_msgs.clear(); for(Enumeration e=received_msgs.elements(); e.hasMoreElements();) { win=(NakReceiverWindow)e.nextElement(); win.reset(); } received_msgs.clear(); seqno=0; deleted_up_to=0; }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2715,
1435,
288,
202,
565,
423,
581,
12952,
3829,
5657,
31,
202,
565,
368,
5098,
2715,
309,
486,
2745,
30,
2745,
2026,
1240,
358,
283,
2338,
1938,
326,
21794,
67,
14473,
1234,
358,
11816,
4833,
16,
202,
565,
368,
3241,
21794,
67,
14473,
1686,
316,
283,
2338,
1938,
387,
30691,
16,
283,
2338,
3951,
4102,
506,
24859,
16,
471,
326,
202,
565,
368,
11816,
312,
2848,
4102,
5903,
6798,
279,
394,
1476,
261,
5946,
263,
19,
16934,
19,
1767,
3043,
7055,
28001,
3951,
18,
5830,
13,
202,
565,
309,
12,
5,
5732,
4240,
10756,
202,
202,
15330,
67,
8082,
18,
6208,
5621,
202,
565,
3271,
67,
27439,
18,
8507,
5621,
202,
565,
364,
12,
21847,
425,
33,
15213,
67,
27439,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
288,
202,
202,
8082,
28657,
50,
581,
12952,
3829,
13,
73,
18,
4285,
1046,
5621,
202,
202,
8082,
18,
6208,
5621,
202,
565,
289,
202,
565,
5079,
67,
27439,
18,
8507,
5621,
202,
565,
30734,
33,
20,
31,
202,
565,
4282,
67,
416,
67,
869,
33,
20,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2715,
1435,
288,
202,
565,
423,
581,
12952,
3829,
5657,
31,
202,
565,
368,
5098,
2715,
309,
486,
2745,
30,
2745,
2026,
1240,
358,
283,
2338,
1938,
326,
21794,
67,
14473,
1234,
358,
11816,
4833,
16,
202,
565,
368,
3241,
21794,
67,
14473,
1686,
316,
283,
2338,
1938,
387,
30691,
16,
283,
2338,
3951,
4102,
506,
24859,
16,
471,
326,
202,
565,
368,
11816,
312,
2848,
4102,
5903,
6798,
279,
394,
1476,
261,
5946,
263,
19,
16934,
19,
1767,
3043,
7055,
28001,
3951,
18,
5830,
13,
202,
565,
309,
12,
5,
5732,
4240,
10756,
202,
202,
15330,
67,
8082,
18,
6208,
5621,
202,
565,
3271,
67,
27439,
18,
8507,
5621,
202,
565,
364,
12,
21847,
425,
2
] |
if(!type.getPresentableText().equals(contentType)){
|
final String presentableText = type.getPresentableText(); if(!presentableText.equals(contentType)){
|
private static boolean isIteratorNext(PsiElement element, String iteratorName, String contentType){ if(element == null){ return false; } if(element instanceof PsiTypeCastExpression){ final PsiTypeCastExpression castExpression = (PsiTypeCastExpression) element; final PsiType type = castExpression.getType(); if(type == null){ return false; } if(!type.getPresentableText().equals(contentType)){ return false; } final PsiExpression operand = castExpression.getOperand(); return isIteratorNext(operand, iteratorName, contentType); } if(!(element instanceof PsiMethodCallExpression)){ return false; } final PsiMethodCallExpression callExpression = (PsiMethodCallExpression) element; final PsiExpressionList argumentList = callExpression.getArgumentList(); if(argumentList == null){ return false; } final PsiExpression[] args = argumentList.getExpressions(); if(args == null || args.length != 0){ return false; } final PsiReferenceExpression reference = callExpression.getMethodExpression(); if(reference == null){ return false; } final PsiExpression qualifier = reference.getQualifierExpression(); if(qualifier == null){ return false; } if(!iteratorName.equals(qualifier.getText())){ return false; } final String referenceName = reference.getReferenceName(); return NEXT_METHOD.equals(referenceName); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/8629082a2f885120180c8da4e7204776468af6a2/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
353,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
4766,
2868,
514,
2775,
461,
16,
4766,
2868,
514,
5064,
15329,
5411,
309,
12,
2956,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
2956,
1276,
453,
7722,
559,
9735,
2300,
15329,
7734,
727,
453,
7722,
559,
9735,
2300,
4812,
2300,
273,
261,
52,
7722,
559,
9735,
2300,
13,
930,
31,
7734,
727,
453,
7722,
559,
618,
273,
4812,
2300,
18,
588,
559,
5621,
7734,
309,
12,
723,
422,
446,
15329,
10792,
327,
629,
31,
7734,
289,
7734,
727,
514,
3430,
429,
1528,
273,
618,
18,
588,
6351,
429,
1528,
5621,
309,
12,
5,
6706,
429,
1528,
18,
14963,
12,
22194,
3719,
95,
10792,
327,
629,
31,
7734,
289,
7734,
727,
453,
7722,
2300,
9886,
273,
13491,
4812,
2300,
18,
588,
10265,
5621,
7734,
327,
353,
3198,
2134,
12,
4063,
464,
16,
2775,
461,
16,
5064,
1769,
5411,
289,
5411,
309,
12,
5,
12,
2956,
1276,
453,
7722,
12592,
2300,
3719,
95,
7734,
327,
629,
31,
5411,
289,
5411,
727,
453,
7722,
12592,
2300,
745,
2300,
273,
10792,
261,
52,
7722,
12592,
2300,
13,
930,
31,
5411,
727,
453,
7722,
2300,
682,
1237,
682,
273,
10792,
745,
2300,
18,
588,
1379,
682,
5621,
5411,
309,
12,
3446,
682,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
727,
453,
7722,
2300,
8526,
833,
273,
1237,
682,
18,
588,
8927,
5621,
5411,
309,
12,
1968,
422,
446,
747,
833,
18,
2469,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
353,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
4766,
2868,
514,
2775,
461,
16,
4766,
2868,
514,
5064,
15329,
5411,
309,
12,
2956,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
2956,
1276,
453,
7722,
559,
9735,
2300,
15329,
7734,
727,
453,
7722,
559,
9735,
2300,
4812,
2300,
273,
261,
52,
7722,
559,
9735,
2300,
13,
930,
31,
7734,
727,
453,
7722,
559,
618,
273,
4812,
2300,
18,
588,
559,
5621,
7734,
309,
12,
723,
422,
446,
15329,
10792,
327,
629,
31,
7734,
289,
7734,
727,
514,
3430,
429,
1528,
273,
618,
18,
588,
6351,
429,
1528,
5621,
309,
12,
5,
6706,
429,
1528,
18,
14963,
12,
22194,
3719,
95,
2
] |
return (NodeCHK) Key.read(dis);
|
return Key.read(dis);
|
public static Object readFromDataInputStream(Class type, DataInputStream dis) throws IOException { if (type.equals(Boolean.class)) { return Boolean.valueOf(dis.read() == 1); } else if (type.equals(Byte.class)) { return new Byte((byte) dis.read()); } else if (type.equals(Short.class)) { return new Short(dis.readShort()); } else if (type.equals(Integer.class)) { return new Integer(dis.readInt()); } else if (type.equals(Long.class)) { return new Long(dis.readLong()); } else if (type.equals(Double.class)) { return new Double(dis.readDouble()); } else if (type.equals(String.class)) { int length = dis.readInt(); StringBuffer sb = new StringBuffer(length); for (int x = 0; x < length; x++) { sb.append(dis.readChar()); } return sb.toString(); } else if (type.equals(Buffer.class)) { return new Buffer(dis); } else if (type.equals(ShortBuffer.class)) { return new ShortBuffer(dis);// } else if (type.equals(VeryLongInteger.class)) {// return new VeryLongInteger(dis); } else if (type.equals(Peer.class)) { return new Peer(dis); } else if (type.equals(BitArray.class)) { return new BitArray(dis); } else if (type.equals(NodeCHK.class)) { // Use Key.read(...) because write(...) writes the TYPE field. return (NodeCHK) Key.read(dis); } else if (type.equals(NodeSSK.class)) { // Use Key.read(...) because write(...) writes the TYPE field. return (NodeSSK) Key.read(dis); } else if (type.equals(Key.class)) { return Key.read(dis); } else { throw new RuntimeException("Unrecognised field type: " + type); } }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Serializer.java/buggy/src/freenet/support/Serializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
20876,
751,
4348,
12,
797,
618,
16,
29382,
1015,
13,
1216,
1860,
288,
202,
202,
430,
261,
723,
18,
14963,
12,
5507,
18,
1106,
3719,
288,
1082,
202,
2463,
3411,
18,
1132,
951,
12,
2251,
18,
896,
1435,
422,
404,
1769,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
3216,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
3506,
12443,
7229,
13,
1015,
18,
896,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
4897,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
7925,
12,
2251,
18,
896,
4897,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
4522,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
2144,
12,
2251,
18,
896,
1702,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
3708,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
3407,
12,
2251,
18,
896,
3708,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
5265,
18,
1106,
3719,
288,
1082,
565,
327,
394,
3698,
12,
2251,
18,
896,
5265,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
780,
18,
1106,
3719,
288,
1082,
202,
474,
769,
273,
1015,
18,
896,
1702,
5621,
1082,
202,
780,
1892,
2393,
273,
394,
6674,
12,
2469,
1769,
1082,
202,
1884,
261,
474,
619,
273,
374,
31,
619,
411,
769,
31,
619,
27245,
288,
9506,
202,
18366,
18,
6923,
12,
2251,
18,
896,
2156,
10663,
1082,
202,
97,
1082,
202,
2463,
2393,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
20876,
751,
4348,
12,
797,
618,
16,
29382,
1015,
13,
1216,
1860,
288,
202,
202,
430,
261,
723,
18,
14963,
12,
5507,
18,
1106,
3719,
288,
1082,
202,
2463,
3411,
18,
1132,
951,
12,
2251,
18,
896,
1435,
422,
404,
1769,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
3216,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
3506,
12443,
7229,
13,
1015,
18,
896,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
4897,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
7925,
12,
2251,
18,
896,
4897,
10663,
202,
202,
97,
469,
309,
261,
723,
18,
14963,
12,
4522,
18,
1106,
3719,
288,
1082,
202,
2463,
394,
2144,
2
] |
public org.quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { org.quickfix.field.LegCurrency value = new org.quickfix.field.LegCurrency();
|
public quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { quickfix.field.LegCurrency value = new quickfix.field.LegCurrency();
|
public org.quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { org.quickfix.field.LegCurrency value = new org.quickfix.field.LegCurrency(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatusRequest.java/clean/src/java/src/quickfix/fix44/SecurityStatusRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
336,
8329,
7623,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
336,
8329,
7623,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public String getProcessedTemplateContent(Object callingObject, Hashtable parameters, String templateSelector) throws CmsException { OutputStream os = null; if(m_cms.getRequestContext().isStreaming()) { if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging() ) { A_OpenCms.log(C_OPENCMS_STREAMING, getClassName() + "Entering streaming mode for file: " + getAbsoluteFilename()); } try { os = m_cms.getRequestContext().getResponse().getOutputStream(); } catch (Exception e) { throw new CmsException(CmsException.C_UNKNOWN_EXCEPTION, e); } } else { if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging() ) { A_OpenCms.log(C_OPENCMS_STREAMING, getClassName() + "Disabled streaming mode for file: " + getAbsoluteFilename()); } } String datablockName = this.getTemplateDatablockName(templateSelector); if(datablockName == null && (templateSelector.toLowerCase().equals("script"))) { return ""; } return getProcessedDataValue(datablockName, callingObject, parameters, os);
|
public String getProcessedTemplateContent(Object callingObject, Hashtable parameters) throws CmsException { return getProcessedTemplateContent(callingObject, parameters, null);
|
public String getProcessedTemplateContent(Object callingObject, Hashtable parameters, String templateSelector) throws CmsException { OutputStream os = null; if(m_cms.getRequestContext().isStreaming()) { if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging() ) { A_OpenCms.log(C_OPENCMS_STREAMING, getClassName() + "Entering streaming mode for file: " + getAbsoluteFilename()); } try { os = m_cms.getRequestContext().getResponse().getOutputStream(); } catch (Exception e) { throw new CmsException(CmsException.C_UNKNOWN_EXCEPTION, e); } } else { if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging() ) { A_OpenCms.log(C_OPENCMS_STREAMING, getClassName() + "Disabled streaming mode for file: " + getAbsoluteFilename()); } } String datablockName = this.getTemplateDatablockName(templateSelector); if(datablockName == null && (templateSelector.toLowerCase().equals("script"))) { return ""; } return getProcessedDataValue(datablockName, callingObject, parameters, os); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/16538d223c3179cb8a2322beb6bbbf6656dfae75/CmsXmlTemplateFile.java/buggy/src/com/opencms/template/CmsXmlTemplateFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3570,
3692,
2283,
1350,
12,
921,
4440,
921,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
8962,
1140,
273,
446,
31,
3639,
309,
12,
81,
67,
6851,
18,
588,
21426,
7675,
291,
15973,
10756,
288,
5411,
309,
12,
45,
67,
4747,
1343,
10585,
18,
39,
67,
3670,
16560,
916,
67,
5127,
67,
28162,
597,
432,
67,
3678,
4747,
18,
291,
7735,
1435,
262,
288,
7734,
432,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
13693,
1360,
16,
11819,
1435,
397,
315,
10237,
310,
12833,
1965,
364,
585,
30,
315,
397,
8469,
5359,
10663,
5411,
289,
5411,
775,
288,
7734,
1140,
273,
312,
67,
6851,
18,
588,
21426,
7675,
588,
1064,
7675,
588,
4632,
5621,
5411,
289,
1044,
261,
503,
425,
13,
288,
7734,
604,
394,
11228,
12,
4747,
503,
18,
39,
67,
14737,
67,
12658,
16,
425,
1769,
5411,
289,
3639,
289,
469,
288,
5411,
309,
12,
45,
67,
4747,
1343,
10585,
18,
39,
67,
3670,
16560,
916,
67,
5127,
67,
28162,
597,
432,
67,
3678,
4747,
18,
291,
7735,
1435,
262,
288,
7734,
432,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
13693,
1360,
16,
11819,
1435,
397,
315,
8853,
12833,
1965,
364,
585,
30,
315,
397,
8469,
5359,
10663,
5411,
289,
3639,
289,
3639,
514,
10481,
739,
461,
273,
333,
18,
588,
2283,
5139,
378,
739,
461,
12,
3202,
4320,
1769,
3639,
309,
12,
3404,
378,
739,
461,
422,
446,
597,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
3570,
3692,
2283,
1350,
12,
921,
4440,
921,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
8962,
1140,
273,
446,
31,
3639,
309,
12,
81,
67,
6851,
18,
588,
21426,
7675,
291,
15973,
10756,
288,
5411,
309,
12,
45,
67,
4747,
1343,
10585,
18,
39,
67,
3670,
16560,
916,
67,
5127,
67,
28162,
597,
432,
67,
3678,
4747,
18,
291,
7735,
1435,
262,
288,
7734,
432,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
13693,
1360,
16,
11819,
1435,
397,
315,
10237,
310,
12833,
1965,
364,
585,
30,
315,
397,
8469,
5359,
10663,
5411,
289,
5411,
775,
288,
7734,
1140,
273,
312,
67,
6851,
18,
588,
21426,
7675,
588,
2
] |
CategoryActivityBinding castedObject = (CategoryActivityBinding) object; boolean equals = true; equals &= Util.equals(activityId, castedObject.activityId); equals &= Util.equals(categoryId, castedObject.categoryId); return equals;
|
final CategoryActivityBinding castedObject = (CategoryActivityBinding) object; if (!Util.equals(activityId, castedObject.activityId)) { return false; } return Util.equals(categoryId, castedObject.categoryId);
|
public boolean equals(Object object) { if (!(object instanceof CategoryActivityBinding)) return false; CategoryActivityBinding castedObject = (CategoryActivityBinding) object; boolean equals = true; equals &= Util.equals(activityId, castedObject.activityId); equals &= Util.equals(categoryId, castedObject.categoryId); return equals; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/93a9ee73087009b29275c4fd77412f1b5a0354e8/CategoryActivityBinding.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/CategoryActivityBinding.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
9856,
6193,
5250,
3719,
5411,
327,
629,
31,
3639,
9856,
6193,
5250,
4812,
23016,
273,
261,
4457,
6193,
5250,
13,
733,
31,
3639,
1250,
1606,
273,
638,
31,
3639,
1606,
12058,
3564,
18,
14963,
12,
9653,
548,
16,
4812,
23016,
18,
9653,
548,
1769,
3639,
1606,
12058,
3564,
18,
14963,
12,
4743,
548,
16,
4812,
23016,
18,
4743,
548,
1769,
3639,
327,
1606,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
9856,
6193,
5250,
3719,
5411,
327,
629,
31,
3639,
9856,
6193,
5250,
4812,
23016,
273,
261,
4457,
6193,
5250,
13,
733,
31,
3639,
1250,
1606,
273,
638,
31,
3639,
1606,
12058,
3564,
18,
14963,
12,
9653,
548,
16,
4812,
23016,
18,
9653,
548,
1769,
3639,
1606,
12058,
3564,
18,
14963,
12,
4743,
548,
16,
4812,
23016,
18,
4743,
548,
1769,
3639,
327,
1606,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.wait(l-System.currentTimeMillis());
|
this.wait(l - System.currentTimeMillis());
|
private void waitForWakeup(long l) { //System.out.println("GOing into wait "+transactionID); //System.out.flush(); synchronized (this) { try { this.wait(l-System.currentTimeMillis()); } catch (InterruptedException e) { e.printStackTrace(); } } //System.out.println("Coming out of wait "+transactionID); //System.out.flush(); }
|
48631 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48631/2047398952dc1a021679c3c4d8acc712f50310a8/TSOTransaction.java/clean/src/com/sun/gi/objectstore/tso/TSOTransaction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
10712,
59,
911,
416,
12,
5748,
328,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
16387,
310,
1368,
2529,
13773,
7958,
734,
1769,
202,
202,
759,
3163,
18,
659,
18,
11330,
5621,
202,
202,
22043,
261,
2211,
13,
288,
1082,
202,
698,
288,
6862,
9506,
202,
2211,
18,
7048,
12,
80,
17,
3163,
18,
2972,
28512,
10663,
6862,
1082,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
799,
310,
596,
434,
2529,
13773,
7958,
734,
1769,
202,
202,
759,
3163,
18,
659,
18,
11330,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
10712,
59,
911,
416,
12,
5748,
328,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
16387,
310,
1368,
2529,
13773,
7958,
734,
1769,
202,
202,
759,
3163,
18,
659,
18,
11330,
5621,
202,
202,
22043,
261,
2211,
13,
288,
1082,
202,
698,
288,
6862,
9506,
202,
2211,
18,
7048,
12,
80,
17,
3163,
18,
2972,
28512,
10663,
6862,
1082,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
799,
310,
596,
434,
2529,
13773,
7958,
734,
1769,
202,
202,
759,
3163,
18,
659,
18,
11330,
5621,
202,
97,
2,
-100,
-100
] |
} else { throw new InvalidSmilesException(message);
|
} else { throw new InvalidSmilesException("Found unexpected char: " + mychar);
|
private Atom assembleAtom(String s, int nodeCounter) throws InvalidSmilesException { Atom atom = null; int position = 0; String currentSymbol = null; char mychar; do { try { mychar = s.charAt(position); if ((mychar >= 'A' && mychar <= 'Z') || (mychar >= 'a' && mychar <= 'z')) { currentSymbol = getElementSymbol(s, position); position = position + currentSymbol.length(); } else if (mychar >= '0' && mychar <= '9') { position++; } else { throw new InvalidSmilesException(message); } } catch (Exception exc) { throw new InvalidSmilesException(message); } } while (position < s.length()); return atom; }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/27650f91da1f3d9711317f9d0b01d22f259a5ae8/SmilesParser.java/clean/src/org/openscience/cdk/smiles/SmilesParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
7149,
19540,
3641,
12,
780,
272,
16,
509,
756,
4789,
13,
1216,
1962,
9552,
1449,
503,
202,
95,
202,
202,
3641,
3179,
273,
446,
31,
202,
202,
474,
1754,
273,
374,
31,
202,
202,
780,
783,
5335,
273,
446,
31,
202,
202,
3001,
3399,
3001,
31,
202,
202,
2896,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
4811,
3001,
273,
272,
18,
3001,
861,
12,
3276,
1769,
9506,
202,
430,
14015,
4811,
3001,
1545,
296,
37,
11,
597,
3399,
3001,
1648,
296,
62,
6134,
747,
261,
4811,
3001,
1545,
296,
69,
11,
597,
3399,
3001,
1648,
296,
94,
26112,
9506,
202,
95,
6862,
202,
2972,
5335,
273,
7426,
5335,
12,
87,
16,
1754,
1769,
6862,
202,
3276,
273,
1754,
397,
783,
5335,
18,
2469,
5621,
9506,
202,
97,
469,
309,
261,
4811,
3001,
1545,
296,
20,
11,
597,
3399,
3001,
1648,
296,
29,
6134,
9506,
202,
95,
6862,
202,
3276,
9904,
31,
9506,
202,
97,
469,
9506,
202,
95,
6862,
202,
12849,
394,
1962,
9552,
1449,
503,
12,
2150,
1769,
9506,
202,
97,
1082,
202,
97,
1044,
261,
503,
3533,
13,
1082,
202,
95,
9506,
202,
12849,
394,
1962,
9552,
1449,
503,
12,
2150,
1769,
1082,
202,
97,
202,
202,
97,
1323,
261,
3276,
411,
272,
18,
2469,
10663,
202,
202,
2463,
3179,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
7149,
19540,
3641,
12,
780,
272,
16,
509,
756,
4789,
13,
1216,
1962,
9552,
1449,
503,
202,
95,
202,
202,
3641,
3179,
273,
446,
31,
202,
202,
474,
1754,
273,
374,
31,
202,
202,
780,
783,
5335,
273,
446,
31,
202,
202,
3001,
3399,
3001,
31,
202,
202,
2896,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
4811,
3001,
273,
272,
18,
3001,
861,
12,
3276,
1769,
9506,
202,
430,
14015,
4811,
3001,
1545,
296,
37,
11,
597,
3399,
3001,
1648,
296,
62,
6134,
747,
261,
4811,
3001,
1545,
296,
69,
11,
597,
3399,
3001,
1648,
296,
94,
26112,
9506,
202,
95,
6862,
202,
2972,
5335,
273,
7426,
5335,
12,
87,
16,
1754,
2
] |
if (eventService != null && eventService.isEventEnabled()) { eventService.event( "AgentLifecycle("+"NotMoved"+ ") Agent("+localAgent+ ") Node("+localNode+ ") Host("+localHost+ ") ToNode("+moveTargetNode+ ")"); } moveTargetNode = null;
|
public void resume() { super.resume(); if (moveTargetNode == null) { return; } if (eventService != null && eventService.isEventEnabled()) { eventService.event( "AgentLifecycle("+"NotMoved"+ ") Agent("+localAgent+ ") Node("+localNode+ ") Host("+localHost+ ") ToNode("+moveTargetNode+ ")"); } moveTargetNode = null; }
|
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/84806e7d372d7c4390aec84024051690523d7b7a/Events.java/clean/core/src/org/cougaar/core/agent/Events.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
10774,
1435,
288,
565,
2240,
18,
25158,
5621,
565,
309,
261,
8501,
2326,
907,
422,
446,
13,
288,
1377,
327,
31,
565,
289,
565,
309,
261,
2575,
1179,
480,
446,
597,
3639,
871,
1179,
18,
291,
1133,
1526,
10756,
288,
1377,
871,
1179,
18,
2575,
12,
1850,
315,
3630,
9977,
2932,
9078,
1248,
25317,
6,
15,
1850,
9369,
8669,
2932,
15,
3729,
3630,
15,
1850,
9369,
2029,
2932,
15,
3729,
907,
15,
1850,
9369,
4893,
2932,
15,
3729,
2594,
15,
1850,
9369,
2974,
907,
2932,
15,
8501,
2326,
907,
15,
1850,
7310,
1769,
565,
289,
565,
3635,
2326,
907,
273,
446,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
10774,
1435,
288,
565,
2240,
18,
25158,
5621,
565,
309,
261,
8501,
2326,
907,
422,
446,
13,
288,
1377,
327,
31,
565,
289,
565,
309,
261,
2575,
1179,
480,
446,
597,
3639,
871,
1179,
18,
291,
1133,
1526,
10756,
288,
1377,
871,
1179,
18,
2575,
12,
1850,
315,
3630,
9977,
2932,
9078,
1248,
25317,
6,
15,
1850,
9369,
8669,
2932,
15,
3729,
3630,
15,
1850,
9369,
2029,
2932,
15,
3729,
907,
15,
1850,
9369,
4893,
2932,
15,
3729,
2594,
15,
1850,
9369,
2974,
907,
2932,
15,
8501,
2326,
907,
15,
1850,
7310,
1769,
565,
289,
565,
3635,
2326,
907,
273,
446,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
int index; this.sizes = new int[sizes.length]; for (index = 0; index < sizes.length; index++) this.sizes[index] = sizes[index];
|
this.sizes = (int[]) sizes.clone();
|
public void setSizes(int[] sizes) { int index; // Initialize sizes. this.sizes = new int[sizes.length]; for (index = 0; index < sizes.length; index++) this.sizes[index] = sizes[index]; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/SizeSequence.java/buggy/core/src/classpath/javax/javax/swing/SizeSequence.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
11923,
12,
474,
8526,
8453,
13,
225,
288,
565,
509,
770,
31,
565,
368,
9190,
8453,
18,
565,
333,
18,
11914,
273,
394,
509,
63,
11914,
18,
2469,
15533,
565,
364,
261,
1615,
273,
374,
31,
770,
411,
8453,
18,
2469,
31,
770,
27245,
1377,
333,
18,
11914,
63,
1615,
65,
273,
8453,
63,
1615,
15533,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
11923,
12,
474,
8526,
8453,
13,
225,
288,
565,
509,
770,
31,
565,
368,
9190,
8453,
18,
565,
333,
18,
11914,
273,
394,
509,
63,
11914,
18,
2469,
15533,
565,
364,
261,
1615,
273,
374,
31,
770,
411,
8453,
18,
2469,
31,
770,
27245,
1377,
333,
18,
11914,
63,
1615,
65,
273,
8453,
63,
1615,
15533,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.