mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java slicing: support -> this/-> paramN contracts
Fixes IDEA-121571 Feature request: A Contract Annotation that indicates that a method returns its argument
This commit is contained in:
@@ -10,11 +10,11 @@ class WW {
|
||||
}
|
||||
|
||||
{
|
||||
x(<flown111111>"zzz");
|
||||
x(<flown1211><flown111111>"zzz");
|
||||
}
|
||||
|
||||
String x(String <flown11111>g) {
|
||||
String d = <flown1>foo(<flown1111>g);
|
||||
String x(String <flown121><flown11111>g) {
|
||||
String d = <flown1>foo(<flown12><flown1111>g);
|
||||
return <caret>d;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user