Tagir Valeev
13edb2f136
IDEA-232559 Rename record component: field reference is not renamed if getter overload is present
...
GitOrigin-RevId: 1555b2079dbba1b92d83c0638e5845efca910dc5
2020-02-11 08:45:32 +00:00
Anna Kozlova
46ed99082c
java: error message for wrong record constructor reference in another class
...
GitOrigin-RevId: 335157be832b59e0b7d63a9fa8a42fddc91153af
2020-02-10 20:08:00 +00:00
Anna.Kozlova
2ec87504ff
records: rename parameter names of canonical constructors together with components
...
IDEA-CR-57849
GitOrigin-RevId: 6d820e056aa4bd37798b9a873b8d20c6adc79b9b
2020-01-31 07:42:15 +00:00
Anna.Kozlova
90d15bfaf0
rename records components (IDEA-228462)
...
GitOrigin-RevId: f673a1841f9f8ca454a73b9f2a38b3e7edacbf65
2020-01-29 19:34:36 +00:00
Tagir Valeev
34243206dc
Report new restricted identifiers: 'yield' and 'record'.
...
Fixes IDEA-230808 Disallow usage of 'record' as type name
Fixes IDEA-226604 Disallow using the 'yield' as the class name since Java 14
GitOrigin-RevId: a97753893fd8d0dac98a1a76f499b8c9474c3a7f
2020-01-17 11:12:57 +00:00
Tagir Valeev
0093364d1a
IDEA-230688 Bad code green: "Modifier 'private' not allowed here" on local record declaration
...
GitOrigin-RevId: 564a4b764921031b05f9c0f8dd1c9f475deb5727
2020-01-16 08:11:51 +00:00
Tagir Valeev
f708d8febb
IDEA-230559 'final' modifier is not allowed on record component
...
GitOrigin-RevId: 5f06b57f53fda76465a53f67440cc14a99be86db
2020-01-14 09:39:09 +00:00
Tagir Valeev
c7557bba96
IDEA-230380 Assignments to record components are erroneously allowed in non-canonical constructors
...
GitOrigin-RevId: 4a427ce68ddfbd9b2d274c131a42e40e02f306f7
2020-01-10 07:02:33 +00:00
Tagir Valeev
5766652109
Records: consider varargness mismatch as compilation error
...
There's an agreement to do this in expert group -- see http://mail.openjdk.java.net/pipermail/amber-spec-experts/2019-December/001889.html
GitOrigin-RevId: 8fc465ece0b9c4bb1517793a60cabab34933b688
2020-01-03 12:03:57 +00:00
Tagir Valeev
20b13c9122
Records: report canonical constructor parameter name mismatch (IDEA-228460)
...
GitOrigin-RevId: d2c5c75f2a9066bd949ad503ad6fcbd71c594d18
2019-12-26 06:03:46 +00:00
Roman.Ivanov
9f7fd6f214
Java Records: do not generate non-physical assignments for records, handle it separately
...
GitOrigin-RevId: 73d10fc5b48e08efd4f0e0bbee019b7263a7e098
2019-12-26 05:32:27 +00:00
Tagir Valeev
ee428f70e6
Local records support (IDEA-228460)
...
GitOrigin-RevId: 6bd11c1161f4773570573910d88c7a395f972e3c
2019-12-24 10:05:47 +00:00
Roman.Ivanov
158abe45b8
create compact constructor light parameter list, make parameter list optional
...
GitOrigin-RevId: a8f67df9897d8adfece17d6d376c40776f25476d
2019-12-24 08:41:04 +00:00
Tagir Valeev
e1f4bf5bcf
Accept mismatch in varargness of record and canonical constructor
...
GitOrigin-RevId: d377578d8cd5ef67e5d2241f956792e887aa80b2
2019-12-24 08:41:04 +00:00
Tagir Valeev
39a9039c38
Proper checks for missing implementation of abstract method in records (IDEA-228460, IDEA-CR-56772)
...
GitOrigin-RevId: 1be11a80e1721116959dc24cb79c9feb4065f4ef
2019-12-19 06:33:37 +00:00
Tagir Valeev
4bc45f31f0
Records extend the Record class (IDEA-228460)
...
GitOrigin-RevId: f99f9cfbe07cec22bc34596366c97d62d024e4b2
2019-12-19 06:13:56 +00:00
Tagir Valeev
14c82dcf4f
JavaPsiRecordUtil: isCanonicalConstructor fixed for record w/o components; testdata fixed (IDEA-CR-56742)
...
GitOrigin-RevId: a179e7ddf958f6f7c76e72187a0044d2da6cc936
2019-12-18 12:02:04 +00:00
Tagir Valeev
53986a2bd7
Error highlighting for records: compact constructors (8.10.5) IDEA-228460
...
GitOrigin-RevId: d2ffbe570a06768989e48bf88eaf503a847574d4
2019-12-18 11:37:51 +00:00
Tagir Valeev
662cb5deae
Handle compact constructor in regular class: quick-fix to add () (IDEA-228460)
...
GitOrigin-RevId: c019e19e8023c0209f6e5ed54f8a486689bb0e0a
2019-12-18 11:37:51 +00:00
Tagir Valeev
f29de7206f
Error highlighting for records: check that fields are initialized in canonical constructor (8.10.4) IDEA-228460
...
GitOrigin-RevId: 6b1cc0b27cc34a6b1f975316a667d606d6dd6a7b
2019-12-18 10:32:28 +00:00
Tagir Valeev
811b8fca50
Error highlighting for records: record constructors (except compact) (8.10.4) IDEA-228460
...
Also ChangeModifierIntention: do not suggest to change canonical constructor access modifier
Also AddExceptionToThrowsFix: do not suggest to add throws to canonical constructor
GitOrigin-RevId: 43c21af324c35a6b65633ab8cc3882bb972f993f
2019-12-18 10:32:28 +00:00
Tagir Valeev
028a78cae3
Error highlighting for records: record bodies, record members (8.10.2, 8.10.3) IDEA-228460
...
Also ChangeModifierIntention: do not suggest to change component accessor access modifier
Also AddExceptionToThrowsFix: do not suggest to add throws to component accessor
GitOrigin-RevId: 6ce3d43f5160c075a2c66ac01af895a1212cc9a3
2019-12-18 06:32:21 +00:00
Tagir Valeev
3ff5ba7461
Records error highlighting: well-formedness; components (part of IDEA-228460)
...
GitOrigin-RevId: f72bba51738ed7d89dbbebf43311a049c23d317f
2019-12-17 11:02:18 +00:00