Lines 1468-1474
Link Here
|
1468 |
" ^\n" + |
1468 |
" ^\n" + |
1469 |
"Access to enclosing constructor A2.B() is emulated by a synthetic accessor method\n" + |
1469 |
"Access to enclosing constructor A2.B() is emulated by a synthetic accessor method\n" + |
1470 |
"----------\n" + |
1470 |
"----------\n" + |
1471 |
"3. ERROR in p1\\A2.java (at line 20)\n" + |
1471 |
"3. WARNING in p1\\A2.java (at line 19)\n" + |
|
|
1472 |
" public void foo() { \n" + |
1473 |
" ^^^^^\n" + |
1474 |
"The method foo() from the type A2.C is never used locally\n" + |
1475 |
"----------\n" + |
1476 |
"4. ERROR in p1\\A2.java (at line 20)\n" + |
1472 |
" (new D.E(null, null, null, new F(get()) {}) {}).execute(); \n" + |
1477 |
" (new D.E(null, null, null, new F(get()) {}) {}).execute(); \n" + |
1473 |
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + |
1478 |
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + |
1474 |
"No enclosing instance of type D is accessible. Must qualify the allocation with an enclosing instance of type D (e.g. x.new A() where x is an instance of D).\n" + |
1479 |
"No enclosing instance of type D is accessible. Must qualify the allocation with an enclosing instance of type D (e.g. x.new A() where x is an instance of D).\n" + |
Lines 1556-1562
Link Here
|
1556 |
" ^\n" + |
1561 |
" ^\n" + |
1557 |
"Access to enclosing constructor A2.B() is emulated by a synthetic accessor method\n" + |
1562 |
"Access to enclosing constructor A2.B() is emulated by a synthetic accessor method\n" + |
1558 |
"----------\n" + |
1563 |
"----------\n" + |
1559 |
"3. ERROR in p1\\A2.java (at line 20)\n" + |
1564 |
"3. WARNING in p1\\A2.java (at line 19)\n" + |
|
|
1565 |
" public void foo() { \n" + |
1566 |
" ^^^^^\n" + |
1567 |
"The method foo() from the type A2.C is never used locally\n" + |
1568 |
"----------\n" + |
1569 |
"4. ERROR in p1\\A2.java (at line 20)\n" + |
1560 |
" (new D.E(null, null, null, new F(get()) {})).execute(); \n" + |
1570 |
" (new D.E(null, null, null, new F(get()) {})).execute(); \n" + |
1561 |
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + |
1571 |
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + |
1562 |
"No enclosing instance of type D is accessible. Must qualify the allocation with an enclosing instance of type D (e.g. x.new A() where x is an instance of D).\n" + |
1572 |
"No enclosing instance of type D is accessible. Must qualify the allocation with an enclosing instance of type D (e.g. x.new A() where x is an instance of D).\n" + |
Lines 5579-5585
Link Here
|
5579 |
"}", // =================, |
5589 |
"}", // =================, |
5580 |
}, |
5590 |
}, |
5581 |
"----------\n" + |
5591 |
"----------\n" + |
5582 |
"1. ERROR in p\\X.java (at line 11)\n" + |
5592 |
"1. WARNING in p\\X.java (at line 5)\n" + |
|
|
5593 |
" String variable = \"my testing\";\n" + |
5594 |
" ^^^^^^^^\n" + |
5595 |
"The field X.Outer.Inner.variable is never read locally\n" + |
5596 |
"----------\n" + |
5597 |
"2. ERROR in p\\X.java (at line 11)\n" + |
5583 |
" Zork z;\n" + |
5598 |
" Zork z;\n" + |
5584 |
" ^^^^\n" + |
5599 |
" ^^^^\n" + |
5585 |
"Zork cannot be resolved to a type\n" + |
5600 |
"Zork cannot be resolved to a type\n" + |
Lines 5633-5639
Link Here
|
5633 |
"}", // =================, |
5648 |
"}", // =================, |
5634 |
}, |
5649 |
}, |
5635 |
"----------\n" + |
5650 |
"----------\n" + |
5636 |
"1. ERROR in p\\X.java (at line 12)\n" + |
5651 |
"1. WARNING in p\\X.java (at line 4)\n" + |
|
|
5652 |
" String variable = \"my testing\";\n" + |
5653 |
" ^^^^^^^^\n" + |
5654 |
"The field X.Outer.Inner.variable is never read locally\n" + |
5655 |
"----------\n" + |
5656 |
"2. ERROR in p\\X.java (at line 12)\n" + |
5637 |
" Zork z;\n" + |
5657 |
" Zork z;\n" + |
5638 |
" ^^^^\n" + |
5658 |
" ^^^^\n" + |
5639 |
"Zork cannot be resolved to a type\n" + |
5659 |
"Zork cannot be resolved to a type\n" + |
Lines 6423-6444
Link Here
|
6423 |
" ^^^^^\n" + |
6443 |
" ^^^^^\n" + |
6424 |
"The type X.Test4 is never used locally\n" + |
6444 |
"The type X.Test4 is never used locally\n" + |
6425 |
"----------\n" + |
6445 |
"----------\n" + |
6426 |
"2. ERROR in X.java (at line 16)\n" + |
6446 |
"2. WARNING in X.java (at line 13)\n" + |
|
|
6447 |
" public Test4() {\n" + |
6448 |
" ^^^^^^^\n" + |
6449 |
"The constructor X.Test4() is never used locally\n" + |
6450 |
"----------\n" + |
6451 |
"3. ERROR in X.java (at line 16)\n" + |
6427 |
" System.out.println(X.this.var1.trim());\n" + |
6452 |
" System.out.println(X.this.var1.trim());\n" + |
6428 |
" ^^^^^^\n" + |
6453 |
" ^^^^^^\n" + |
6429 |
"No enclosing instance of the type X is accessible in scope\n" + |
6454 |
"No enclosing instance of the type X is accessible in scope\n" + |
6430 |
"----------\n" + |
6455 |
"----------\n" + |
6431 |
"3. WARNING in X.java (at line 16)\n" + |
6456 |
"4. WARNING in X.java (at line 16)\n" + |
6432 |
" System.out.println(X.this.var1.trim());\n" + |
6457 |
" System.out.println(X.this.var1.trim());\n" + |
6433 |
" ^^^^\n" + |
6458 |
" ^^^^\n" + |
6434 |
"Read access to enclosing field X.var1 is emulated by a synthetic accessor method\n" + |
6459 |
"Read access to enclosing field X.var1 is emulated by a synthetic accessor method\n" + |
6435 |
"----------\n" + |
6460 |
"----------\n" + |
6436 |
"4. WARNING in X.java (at line 17)\n" + |
6461 |
"5. WARNING in X.java (at line 17)\n" + |
6437 |
" System.out.println(var1.trim());\n" + |
6462 |
" System.out.println(var1.trim());\n" + |
6438 |
" ^^^^\n" + |
6463 |
" ^^^^\n" + |
6439 |
"Read access to enclosing field X.var1 is emulated by a synthetic accessor method\n" + |
6464 |
"Read access to enclosing field X.var1 is emulated by a synthetic accessor method\n" + |
6440 |
"----------\n" + |
6465 |
"----------\n" + |
6441 |
"5. ERROR in X.java (at line 17)\n" + |
6466 |
"6. ERROR in X.java (at line 17)\n" + |
6442 |
" System.out.println(var1.trim());\n" + |
6467 |
" System.out.println(var1.trim());\n" + |
6443 |
" ^^^^\n" + |
6468 |
" ^^^^\n" + |
6444 |
"No enclosing instance of the type X is accessible in scope\n" + |
6469 |
"No enclosing instance of the type X is accessible in scope\n" + |