Anna.Kozlova and intellij-monorepo-bot
1601753a54
trivial functional: fix dangling return (IDEA-229670)
...
GitOrigin-RevId: f69be223e2d79dae71ce7fb82aeb0f82eb5e5cb6
2019-12-30 11:35:31 +00:00
Tagir Valeev and intellij-monorepo-bot
43e64e1c56
Patterns resolve: stop at switch label; filter by name before doing control flow analysis when possible (IDEA-229846)
...
Review ID: IDEA-CR-56992
GitOrigin-RevId: 4264da45582f5d38e3b5630184d8ab762f30575b
2019-12-28 12:05:19 +00:00
Tagir Valeev and intellij-monorepo-bot
755c4647e2
PossibleHeapPollutionVarargs: do not warn on compact constructor; do not warn on record if canonical constructor is present
...
Review ID: IDEA-CR-56682
GitOrigin-RevId: cdd1ee44e8679a374ff495d852a22c9e612149b8
2019-12-28 06:40:55 +00:00
Alexander Zolotov and intellij-monorepo-bot
8ccd4547f5
Live templates: list template action should work in multi-carets mode (IDEA-182741)
...
GitOrigin-RevId: 7617b4d3c2bcc7bafef15ef0199eac08f6cb8491
2019-12-27 15:40:08 +00:00
Tagir Valeev and intellij-monorepo-bot
2380906af8
HighlightControlFlowUtil: disable assignment to pattern variables
...
GitOrigin-RevId: 09c4aa42068ce0258543a17546404fcdec952404
2019-12-27 09:01:34 +00:00
Tagir Valeev and intellij-monorepo-bot
0df312338d
IDEA-229846 Resolve for pattern matching (except switch handling)
...
GitOrigin-RevId: b8addebac00f681641d5cef1089fa6f7d2d668a7
2019-12-27 07:33:29 +00:00
Tagir Valeev and intellij-monorepo-bot
20b13c9122
Records: report canonical constructor parameter name mismatch (IDEA-228460)
...
GitOrigin-RevId: d2c5c75f2a9066bd949ad503ad6fcbd71c594d18
2019-12-26 06:03:46 +00:00
Roman.Ivanov and intellij-monorepo-bot
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 and intellij-monorepo-bot
94896a3955
Testdata fixed
...
GitOrigin-RevId: 9b0ce4034d61a28b1ec52d1dccc295be6a783094
2019-12-25 09:04:25 +00:00
Tagir Valeev and intellij-monorepo-bot
042c0bff53
Create records from new (IDEA-229796)
...
GitOrigin-RevId: 38ffe8494d90cb7d5d83c5cfcc923259aac1e05f
2019-12-25 07:43:46 +00:00
Tagir Valeev and intellij-monorepo-bot
abdf1f601d
IDEA-229792 Support record declaration in complete statement
...
GitOrigin-RevId: f0257fa34cd4bc8e5445f8f4bc417747790c2538
2019-12-25 03:42:32 +00:00
Tagir Valeev and intellij-monorepo-bot
4bd6f5a43b
Use CommonQuickFixBundle
...
GitOrigin-RevId: 742c76ffb768bed2ce9aec4b11f7fc911d7f624c
2019-12-25 03:42:32 +00:00
Tagir Valeev and intellij-monorepo-bot
ee428f70e6
Local records support (IDEA-228460)
...
GitOrigin-RevId: 6bd11c1161f4773570573910d88c7a395f972e3c
2019-12-24 10:05:47 +00:00
Roman.Ivanov and intellij-monorepo-bot
2cc8b2c194
suggest AddEmptyRecordHeaderFix in case of no record header
...
GitOrigin-RevId: ac6a585e1ccdb091a02d49d2f8bf2e55bf2114cb
2019-12-24 08:41:04 +00:00
Roman.Ivanov and intellij-monorepo-bot
158abe45b8
create compact constructor light parameter list, make parameter list optional
...
GitOrigin-RevId: a8f67df9897d8adfece17d6d376c40776f25476d
2019-12-24 08:41:04 +00:00
Tagir Valeev and intellij-monorepo-bot
84c1a10be9
IDEA-229694 Generate constructor for records: suggest generation of compact and canonical constructors
...
GitOrigin-RevId: 95e23c12711c867a1e1f41d42ee5f3cc87876b3d
2019-12-24 08:41:04 +00:00
Tagir Valeev and intellij-monorepo-bot
20630cfd4f
IDEA-160797 Support Objects.requireNonNull as field initialization in constructor
...
GitOrigin-RevId: 738f0e842ded8e9d88ef4432cd6c093173400a89
2019-12-24 08:41:04 +00:00
Tagir Valeev and intellij-monorepo-bot
e1f4bf5bcf
Accept mismatch in varargness of record and canonical constructor
...
GitOrigin-RevId: d377578d8cd5ef67e5d2241f956792e887aa80b2
2019-12-24 08:41:04 +00:00
Tagir Valeev and intellij-monorepo-bot
7753ee638a
Generate getters without 'get' prefix for record components (IDEA-229300)
...
GitOrigin-RevId: 8014b1b605f78e5ccf0de97eabf894f5bc5a67c1
2019-12-23 09:33:29 +00:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
4bc45f31f0
Records extend the Record class (IDEA-228460)
...
GitOrigin-RevId: f99f9cfbe07cec22bc34596366c97d62d024e4b2
2019-12-19 06:13:56 +00:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
662cb5deae
Handle compact constructor in regular class: quick-fix to add () (IDEA-228460)
...
GitOrigin-RevId: c019e19e8023c0209f6e5ed54f8a486689bb0e0a
2019-12-18 11:37:51 +00:00
Roman.Ivanov and intellij-monorepo-bot
40915b2a6e
IDEA-229300: Completion of primitives in record headers
...
GitOrigin-RevId: 1a0444fb051749998c6376f95375ae005459a0ac
2019-12-18 10:32:28 +00:00
Tagir Valeev and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
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 and intellij-monorepo-bot
3ff5ba7461
Records error highlighting: well-formedness; components (part of IDEA-228460)
...
GitOrigin-RevId: f72bba51738ed7d89dbbebf43311a049c23d317f
2019-12-17 11:02:18 +00:00
Tagir Valeev and intellij-monorepo-bot
2c22ee32a7
IDEA-229320 Heap pollution warning for records
...
GitOrigin-RevId: 1e870db7c171c02af5d01c74ca631ab2dafe43ef
2019-12-17 11:02:18 +00:00
Peter Gromov and intellij-monorepo-bot
4b12b7a4e3
java: avoid recursion prevention when checking imported vs inherited superclass (IDEA-67385, IDEA-228814)
...
GitOrigin-RevId: 2a246ced1d66c4c3c9df71dcd51a491b471a744c
2019-12-16 19:36:07 +00:00
Tagir Valeev and intellij-monorepo-bot
916cc45005
Constant methods: boxing support
...
GitOrigin-RevId: 6fa28da7fe823d2e5bea0ecabe1e49e34e55d7b6
2019-12-14 03:44:42 +00:00
Anna.Kozlova and intellij-monorepo-bot
f9f5d09f87
inspections: ensure local paired inspection uses display name of the global one
...
GitOrigin-RevId: 8dfb2236e2ae4016024102e8195e5ce0df954500
2019-12-13 09:34:22 +00:00
Tagir Valeev and intellij-monorepo-bot
902241f677
AfterAssertTrueDfa test (IDEA-228920)
...
GitOrigin-RevId: b69d983dcb774c804560d11048a3bbcaf24aa619
2019-12-12 11:02:16 +00:00
Marat Khabibullin and intellij-monorepo-bot
398b27545c
Add "Quick Type Definition" tests for Java and Ruby
...
GitOrigin-RevId: 787c15e679ae1273dfff94732f7e4d8c3e054255
2019-12-11 17:04:21 +00:00
Alexey Kudravtsev and intellij-monorepo-bot
aab47de9b7
fix occasional test fail when the future is completed successfully but the status is not set to EXECUTED yet, check for test annotators actually annotate something
...
GitOrigin-RevId: 93f8dd0391ae62e02102eecfe12bc940816fa3dd
2019-12-11 10:02:43 +00:00
Roman.Ivanov and intellij-monorepo-bot
31fb425621
complete and highlight records
...
GitOrigin-RevId: a7c20dfae6128194bbd6e02640072938cc07ff24
2019-12-05 04:41:15 +00:00
Roman.Ivanov and intellij-monorepo-bot
f297157108
Add records feature and validation
...
GitOrigin-RevId: fc64ecd6fe81020abbcccaacf1b447e0ad2ab678
2019-12-05 04:41:15 +00:00
Anna Kozlova and intellij-monorepo-bot
0580ad0043
don't prohibit caching if overload resolution is impossible (IDEA-221094)
...
exactly one candidate is available
GitOrigin-RevId: 4c6d5b4eef79fb60af46d8d9db9f7e49adb2f8c4
2019-12-04 19:31:48 +00:00
Anna.Kozlova and intellij-monorepo-bot
4ad4e7d908
java overload resolution: fix NPE
...
found by property testing
GitOrigin-RevId: b45cb07402ad58a37886b7f1b5afb62bca2746fe
2019-12-04 09:38:15 +00:00
Anna.Kozlova and intellij-monorepo-bot
21e434894f
java inference: stop when argument has no associated formal parameter
...
GitOrigin-RevId: cbc4e435f6e03bd06eac4dcf21196bdd61dc6c3d
2019-12-03 16:04:11 +00:00
Anna Kozlova and intellij-monorepo-bot
1bb1545bf7
redundant suppression: fix alternative id check (IDEA-227827)
...
GitOrigin-RevId: b80fe1fcc492f90f26bfd6f337d1c6947820e461
2019-11-28 20:32:03 +00:00
Anna.Kozlova and intellij-monorepo-bot
c20dfc0165
java inference: ignore method reference constraints when starting from them
...
EA-209460 - IAE: ObjectUtils.$$$reportNull$$$
GitOrigin-RevId: 8476b832fcc1c85c10aed6ea56f65645bfd02b03
2019-11-28 10:38:15 +00:00
Alexey Kudravtsev and intellij-monorepo-bot
76b937f25d
fix non-ascii chars inspection in Groovy with its twisted PSI where method.getNameIdentifier()==some random light element
...
GitOrigin-RevId: cda967acd545b533dcfcfbeeeaef128a8f091950
2019-11-25 15:09:30 +00:00
Tagir Valeev and intellij-monorepo-bot
98792cbf73
Revert substring(x).indexOf(y) -> indexOf(y, x) (IDEA-219640, case#3); was incorrect replacement
...
GitOrigin-RevId: f62ccdd76bd6353fe1bce95fe17ab4b3ca507dce
2019-11-25 09:31:23 +00:00
Tagir Valeev and intellij-monorepo-bot
25dc0f385c
s.substring(s.length()-fooLen).equals(foo) -> s.endsWith(foo)
...
GitOrigin-RevId: 5dbd78e6359770f9680ef25dcf699297b5a28e46
2019-11-24 02:05:56 +00:00
Tagir Valeev and intellij-monorepo-bot
476b3ff5bb
substring(x, x+y.length()).equals(y) -> startsWith(y, x) (IDEA-226148, case#1)
...
GitOrigin-RevId: 04fe1be3e9f48783ad8d95897497ea55109453f5
2019-11-22 06:36:34 +00:00
Tagir Valeev and intellij-monorepo-bot
7f8d9a2372
substring(x).indexOf(y) -> indexOf(y, x) (IDEA-219640, case#3)
...
GitOrigin-RevId: aab34215f1dc50e33af12cc56954dc17b9104318
2019-11-22 06:36:34 +00:00
Daniel Schmidt and intellij-monorepo-bot
909433482c
Differentiate between type parameters and parameters (IDEA-226683)
...
PR#1243
GitOrigin-RevId: a91176d9f95e2803da7c1973c58ce4ee492fb703
2019-11-19 11:09:41 +00:00
Anna.Kozlova and intellij-monorepo-bot
d4ff582489
assert no type execution under overload lock for diamonds
...
IDEA-CR-55327
GitOrigin-RevId: e2b1043a41b9548df3c2eb263a27da6d6c22b6be
2019-11-19 09:12:58 +00:00