mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Generate getters without 'get' prefix for record components (IDEA-229300)
GitOrigin-RevId: 8014b1b605f78e5ccf0de97eabf894f5bc5a67c1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4110666a62
commit
7753ee638a
@@ -0,0 +1,3 @@
|
||||
record Test(int component) {
|
||||
compon<caret>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
record Test(int component) {
|
||||
public int component() {
|
||||
<selection>return component;</selection>
|
||||
}
|
||||
}
|
||||
+4
@@ -24,4 +24,8 @@ class Normal14CompletionTest extends NormalCompletionTestCase {
|
||||
myFixture.completeBasic()
|
||||
myFixture.checkResult("record X() cla")
|
||||
}
|
||||
|
||||
void testRecordAccessorDeclaration() {
|
||||
doTest()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user