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:
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
StringBuilder builder(StringBuilder <flown1111>sb) {
|
||||
StringBuilder foo = <flown111><flown11><flown1>sb.append("foo").append(123);
|
||||
return <caret>foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user