Commit Graph
10628 Commits
Author SHA1 Message Date
Anna.Kozlova 2658d37da0 inference: don't remember captured wildcard with non-proper bound (IDEA-180042)
later check could fail e.g. if bound was created inside one of nested session
2017-10-17 17:58:55 +02:00
Anna.Kozlova 3b40515140 show method parameters: ensure inference results on wrong overloads not cached (IDEA-177725) 2017-10-17 11:48:38 +02:00
Anna.Kozlova bffca304b9 glb: ensure each super class processed once (IDEA-176779) 2017-10-17 11:48:38 +02:00
Anna.Kozlova 465458db4d method references: don't fall to raw substitutor with second search (IDEA-180615) 2017-10-17 11:48:38 +02:00
Tagir Valeev a4043c41f6 DataFlowInspection: more precise check whether exception is expected inside test 2017-10-17 14:37:13 +07:00
Yaroslav Lepenkin 9c56528e6e align consecutive field/variable declarations without initialization (IDEA-157143) 2017-10-17 10:21:11 +03:00
Yaroslav Lepenkin c6d8b2f05e join lines do not merge closing brace and catch keyword, when 'catch on new line' enabled (IDEA-179581) 2017-10-17 10:21:10 +03:00
Tagir Valeev e4efb836cd RedundantStringOperationInspection: fixes after review IDEA-CR-25339
1. messages cleanup
2. new StringBuilder(""). PrintStream.println("") are warned
2017-10-17 10:58:07 +07:00
Pavel Dolgov 16cbf02774 Java: Add conditional return when replacing duplicate fragment (IDEA-180601) 2017-10-16 17:41:29 +03:00
Dmitry Batrak 47d248a44b disable bullets in Javadoc inheritance list
list-style attribute used in standard javadoc's stylesheet seems to be
unsupported by JDK's HTML kit
(following IDEA-107790)
- fix tests
2017-10-16 12:33:59 +03:00
Anna.Kozlova 69a5061bf7 inline class to anonymous in exp lambda (IDEA-180491) 2017-10-16 09:39:41 +02:00
Bas Leijdekkers 8c17d9fee4 fix split-filter intention on anyMatch() 2017-10-15 11:40:59 +02:00
Bas Leijdekkers cad8001898 grammar fix in merge and split filter intentions 2017-10-15 11:40:59 +02:00
peter 45c3906af1 a rough fix for dfa false positive with nested for loop over a reassigned array variable (IDEA-CR-25468) 2017-10-14 07:53:14 +02:00
peter 609eea57ac IDEA-178434 "Unwrap 'if' statement" produces incompilable code if variable declared in the if body shadows the outer scope variable 2017-10-13 21:17:37 +02:00
Anna.Kozlova ef689b16b1 LVTI: warn on references to illegal class var (IDEA-180079) 2017-10-13 20:25:49 +02:00
Anna.Kozlova 084655d49f don't capture when checking subtypes deep in hierarchy (IDEA-179850) 2017-10-13 19:36:58 +02:00
peter 2455f63a28 IDEA-179079 Function arguments completion order looks strange to me 2017-10-13 18:30:06 +02:00
Dmitry Batrak 9c11182faa IDEA-180584 Don't show empty tooltip for extra (invalid) parameter 2017-10-13 17:43:27 +03:00
Maxim.Mossienko 418d31e9e8 Java static imports are not classified as imports in Find Usages (IDEA-180332) 2017-10-13 15:32:41 +02:00
Eugene Zhuravlev 3233c3606c IDEA-176693 incremental modules compilation 2017-10-13 14:34:54 +02:00
peter ceb018b369 complete java class keywords after top-level annotation
regression after IDEA-CR-25484
2017-10-13 13:32:10 +02:00
Anna.Kozlova 6d9327a71f lvti: additional test data for projections 2017-10-13 12:45:56 +02:00
Rustam Vishnyakov 3ef146e34b Fix lost indent in block statement
IDEA-179073 JavaLikeIndentProvider indent miss
2017-10-13 13:37:39 +03:00
Dmitry Batrak 58ce4ca3be IDEA-180497 Parameter name hints: incorrect behavior in case of varargs
fix caret position after entering space between vararg hints
2017-10-13 11:53:53 +03:00
Dmitry Batrak 7384bdc1a5 IDEA-180497 Parameter name hints: incorrect behavior in case of varargs
fix caret position after completion between hints
2017-10-13 11:53:53 +03:00
Anna.Kozlova 250956f8b0 report inference error if resolution failed (IDEA-179978)
in the issue, non-vararg overload candidate was chosen cause it was not filtered as inapplicable
2017-10-13 10:47:47 +02:00
peter 44a2ffa2ff JavaKeywordCompletion: simplify
make short code out of long ElementFilters
remove dead logic
cleanup unused filters
also fixes IDEA-179855 Double "final" suggestion after annotation
2017-10-13 09:49:22 +02:00
peter 100ad715f8 EA-109160 - assert: StubProcessingHelperBase.handleNonPsiStubs
accept that some view providers may be different than during indexing
and use JavaSourceFilterScope to access Java stubs to avoid querying those view providers at all
2017-10-13 09:49:21 +02:00
Tagir Valeev 14759e531a IDEA-180417 Generated code ("Replace with collect") is invalid follow-up
Fixed for groupingBy as well
2017-10-13 13:12:17 +07:00
Tagir Valeev 59c3fd672a IDEA-180417 Generated code ("Replace with collect") is invalid 2017-10-13 13:04:12 +07:00
Tagir Valeev 326b6c5ba0 Idempotent loop body inspection
Fixes IDEA-180227 Better infinite loop detection
2017-10-13 12:53:40 +07:00
peter 94adcce99f infer nested foreach parameter nullability (IDEA-175736) 2017-10-12 20:02:39 +02:00
peter 4eb2fe474e hardcode Map#get as having unknown nullity (IDEA-176626)
until we have a better solution
2017-10-12 20:02:39 +02:00
peter 6551b38303 IDEA-179934 Action "Complete current statement" introduces incorrect code 2017-10-12 20:02:38 +02:00
Anna.Kozlova 2f1a299401 captured of non-proper wildcard can't be used as solving bound (IDEA-180042) 2017-10-12 19:38:49 +02:00
Anna.Kozlova f253087643 bring var to scope: disabled for resource variables (IDEA-180436)
EA-61004 - assert: BringVariableIntoScopeFix.invoke
2017-10-12 19:38:49 +02:00
Anna.Kozlova 0056220d8b generic throwable: detect generics through ancestors (IDEA-179958) 2017-10-12 19:38:48 +02:00
Pavel Dolgov 0fe0c296c4 Java: Extract method from similar expressions by introducing a parameter (IDEA-179924, IDEA-180107) 2017-10-12 16:02:04 +03:00
nik 91b7b3e720 IDEA project configuration: protobuf converted to repository library 2017-10-12 15:57:55 +03:00
Pavel Dolgov 72dfa72d48 Java: Moved the main logic of AddRequiredModuleFix to an utility function, added tests 2017-10-12 15:46:33 +03:00
Anna.Kozlova be801000c7 keep non-member types from being raw (revert) 2017-10-12 12:04:35 +02:00
peter abca97e2ad IDEA-178922 A few more null annotation problems with arrays 2017-10-11 22:01:07 +02:00
peter 75ee2ffe59 IDEA-179516 "Previous Method" skips methods in anonymous classes 2017-10-11 22:01:07 +02:00
Anna.Kozlova 74d1bdb5f3 safe delete: ignore imports on inner classes (IDEA-180327) 2017-10-11 18:16:56 +02:00
Pavel Dolgov 8e22643771 Java: Fixed safe-deleting variable used in 'for' loop's update or init clause (IDEA-180217) 2017-10-11 15:35:05 +03:00
Pavel Dolgov 24a6c66183 Java: Fixed removing unused variable occurrences from 'for' loop's update and init clauses (IDEA-180217) 2017-10-11 15:35:05 +03:00
peter 1370d8d435 java mad testing: "make * default" intention can break compilability 2017-10-11 14:23:42 +02:00
peter e00db490b0 fix multiple slash matching in Goto File on Windows (IDEA-180339) 2017-10-11 14:23:42 +02:00
Anna.Kozlova 4e2a83d6d0 unused parameter: correctly ignore parameters used in overridden methods
when graph was build over not project scope (IDEA-180281)
2017-10-11 12:09:57 +02:00