Lines 14397-14448
Link Here
|
14397 |
" } \n" + |
14397 |
" } \n" + |
14398 |
"}\n" |
14398 |
"}\n" |
14399 |
}, |
14399 |
}, |
14400 |
"----------\n" + |
14400 |
"----------\n" + |
14401 |
"1. WARNING in test\\Foo.java (at line 4)\n" + |
14401 |
"1. WARNING in test\\Foo.java (at line 4)\n" + |
14402 |
" private R dosomething(){ return s; } \n" + |
14402 |
" private R dosomething(){ return s; } \n" + |
14403 |
" ^^^^^^^^^^^^^\n" + |
14403 |
" ^^^^^^^^^^^^^\n" + |
14404 |
"The method dosomething() from the type Foo<R> is never used locally\n" + |
14404 |
"The method dosomething() from the type Foo<R> is never used locally\n" + |
14405 |
"----------\n" + |
14405 |
"----------\n" + |
14406 |
"2. WARNING in test\\Foo.java (at line 5)\n" + |
14406 |
"2. WARNING in test\\Foo.java (at line 5)\n" + |
14407 |
" private class Bar {} \n" + |
14407 |
" private class Bar {} \n" + |
14408 |
" ^^^\n" + |
14408 |
" ^^^\n" + |
14409 |
"The type Foo<R>.Bar is never used locally\n" + |
14409 |
"The type Foo<R>.Bar is never used locally\n" + |
14410 |
"----------\n" + |
14410 |
"----------\n" + |
14411 |
"----------\n" + |
14411 |
"----------\n" + |
14412 |
"1. ERROR in test02\\FooBar.java (at line 6)\n" + |
14412 |
"1. ERROR in test02\\FooBar.java (at line 6)\n" + |
14413 |
" f.s = \"foo\"; \n" + |
14413 |
" f.s = \"foo\"; \n" + |
14414 |
" ^\n" + |
14414 |
" ^\n" + |
14415 |
"The field Foo<String>.s is not visible\n" + |
14415 |
"The field Foo<String>.s is not visible\n" + |
14416 |
"----------\n" + |
14416 |
"----------\n" + |
14417 |
"2. ERROR in test02\\FooBar.java (at line 7)\n" + |
14417 |
"2. ERROR in test02\\FooBar.java (at line 7)\n" + |
14418 |
" this.s = \"foo\";\n" + |
14418 |
" this.s = \"foo\";\n" + |
14419 |
" ^\n" + |
14419 |
" ^\n" + |
14420 |
"The field Foo<R>.s is not visible\n" + |
14420 |
"The field Foo<R>.s is not visible\n" + |
14421 |
"----------\n" + |
14421 |
"----------\n" + |
14422 |
"3. ERROR in test02\\FooBar.java (at line 8)\n" + |
14422 |
"3. ERROR in test02\\FooBar.java (at line 7)\n" + |
14423 |
" f.dosomething(); \n" + |
14423 |
" this.s = \"foo\";\n" + |
14424 |
" ^^^^^^^^^^^\n" + |
14424 |
" ^^^^^\n" + |
14425 |
"The method dosomething() from the type Foo<String> is not visible\n" + |
14425 |
"Type mismatch: cannot convert from String to R\n" + |
14426 |
"----------\n" + |
14426 |
"----------\n" + |
14427 |
"4. ERROR in test02\\FooBar.java (at line 9)\n" + |
14427 |
"4. ERROR in test02\\FooBar.java (at line 8)\n" + |
14428 |
" this.dosomething(); \n" + |
14428 |
" f.dosomething(); \n" + |
14429 |
" ^^^^^^^^^^^\n" + |
14429 |
" ^^^^^^^^^^^\n" + |
14430 |
"The method dosomething() from the type Foo<R> is not visible\n" + |
14430 |
"The method dosomething() from the type Foo<String> is not visible\n" + |
14431 |
"----------\n" + |
14431 |
"----------\n" + |
14432 |
"5. ERROR in test02\\FooBar.java (at line 10)\n" + |
14432 |
"5. ERROR in test02\\FooBar.java (at line 9)\n" + |
14433 |
" Bar b1; \n" + |
14433 |
" this.dosomething(); \n" + |
14434 |
" ^^^\n" + |
14434 |
" ^^^^^^^^^^^\n" + |
14435 |
"The type Bar is not visible\n" + |
14435 |
"The method dosomething() from the type Foo<R> is not visible\n" + |
14436 |
"----------\n" + |
14436 |
"----------\n" + |
14437 |
"6. ERROR in test02\\FooBar.java (at line 11)\n" + |
14437 |
"6. ERROR in test02\\FooBar.java (at line 10)\n" + |
14438 |
" FooBar<String>.Bar b2; \n" + |
14438 |
" Bar b1; \n" + |
14439 |
" ^^^^^^^^^^^^^^^^^^\n" + |
14439 |
" ^^^\n" + |
14440 |
"The type FooBar.Bar is not visible\n" + |
14440 |
"The type Bar is not visible\n" + |
14441 |
"----------\n" + |
14441 |
"----------\n" + |
14442 |
"7. ERROR in test02\\FooBar.java (at line 12)\n" + |
14442 |
"7. ERROR in test02\\FooBar.java (at line 11)\n" + |
14443 |
" Foo<String>.Bar b3; \n" + |
14443 |
" FooBar<String>.Bar b2; \n" + |
14444 |
" ^^^^^^^^^^^^^^^\n" + |
14444 |
" ^^^^^^^^^^^^^^^^^^\n" + |
14445 |
"The type Foo.Bar is not visible\n" + |
14445 |
"The type FooBar.Bar is not visible\n" + |
|
|
14446 |
"----------\n" + |
14447 |
"8. ERROR in test02\\FooBar.java (at line 12)\n" + |
14448 |
" Foo<String>.Bar b3; \n" + |
14449 |
" ^^^^^^^^^^^^^^^\n" + |
14450 |
"The type Foo.Bar is not visible\n" + |
14446 |
"----------\n"); |
14451 |
"----------\n"); |
14447 |
} |
14452 |
} |
14448 |
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=81594 |
14453 |
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=81594 |