Commit Graph
8560 Commits
Author SHA1 Message Date
Tagir Valeev ef215da116 StreamToLoopInspection: disable for raw types (IDEA-163493), disable for unresolved method references 2016-11-03 09:47:40 +07:00
Anna.Kozlova 8067101fcf EA-91047 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2016-11-02 17:02:29 +01:00
peter a91dfb6feb don't allow concurrent access to thread-unsafe lighter AST in indices (EA-90268 - NPE: JavaNullMethodArgumentIndex$.getNullParameterIndices) 2016-11-02 16:50:35 +01:00
peter 8c54e84341 don't suggest to make parameters for field @NotNull if the parameters don't belong to a constructor 2016-11-02 16:50:35 +01:00
Anna.Kozlova d336733d3e ensure bounds are promoted on derived type otherwise bounds from super could appear on unbounded wildcards (IDEA-162882) 2016-11-02 15:51:14 +01:00
Anna.Kozlova bf259fed79 unrelated defaults when one interface overrides 2 unrelated (IDEA-163469) 2016-11-02 15:51:14 +01:00
Yaroslav Lepenkin 30c2f1abf4 [Parameter Name Hints] fixed possible NPE 2016-11-02 13:01:31 +03:00
Anna.Kozlova bed1e83f3d migration: ensure migrated refs are shortened (IDEA-163298) 2016-11-02 10:06:44 +01:00
Tagir Valeev 0fb67d4f9d StreamToLoopInspection fixes: toArray intermediate list type fixed; keywords are filtered out from possible var names; context added to expression passed to BoolUtils; supported inside method calls 2016-11-02 13:50:36 +07:00
Tagir Valeev 0ae5c0f1ae StreamToLoopInspection: fixed flatMap with method reference argument 2016-11-01 18:46:15 +07:00
Tagir Valeev 9caa6d5ede IDEA-161198 Migration from Stream API back to for loops 2016-11-01 15:38:57 +07:00
Tagir Valeev efa6763db1 ComparatorCombinatorsInspection: fixed for incomplete statement (EA-90916) 2016-11-01 09:38:18 +07:00
Maxim.Mossienko 61e14510d6 vfs event merger for file based index, initial 2016-10-31 18:09:24 +01:00
Pavel Dolgov e47fb9177a Java: Quick fix that adds "requires" statement to the module info - code cleanup, improved messages (IDEA-162762) 2016-10-31 19:48:09 +03:00
Pavel Dolgov 689d26b3e2 Java: Quick fix for importing a package the current module doesn't read by adding "requires" statement to the module info (IDEA-162762) 2016-10-31 16:42:38 +03:00
Dmitry Batkovich 5bfddbb3f6 javac ast indices: inheritor/lambda search: cache only candidate's ids (in read action) and restore psi-elements only when a search client asks 2016-10-31 15:13:00 +03:00
Sergey Ignatov d2efbba31f IDEA-105927 remove ancient RCS and SCCS from ignored files
IDEA-155471 IDEA CE does not compile files under directory named "rcs" even remove "rcs" from "Ignored files and types" settings
2016-10-30 23:41:14 +03:00
Bas Leijdekkers 1eebf487f3 IG: merge 3 inspections into one "Call to suspicious String method" inspection 2016-10-29 20:50:06 +02:00
Bas Leijdekkers 50d645e256 Allow "Convert 'compareTo()' expression to 'equals()' call" intention in more cases 2016-10-29 20:50:04 +02:00
Yaroslav Lepenkin 6963fdde8a [Parameter Name Hints] add ToggleInlineHints action to parameter hints popup menu. In regular popup menu action will be shown only if hints are disabled and there is a hint to show at caret. 2016-10-29 16:00:30 +03:00
peter f6a57edb2d teach more tests that find in path is multithreaded (IDEA-CR-15039) 2016-10-29 09:33:00 +02:00
peter d55c683edb a test proving that root changes increase psi mod counts 2016-10-29 09:33:00 +02:00
Anna.Kozlova 80a5866b23 super expression rules should not apply to this expressions (IDEA-163303) 2016-10-28 18:23:21 +02:00
peter 303a3a845f contract inference index 2016-10-28 15:34:10 +02:00
Dmitry Batkovich 252be38f2d javac ast indices: fix find usages of class members: can't find usages in getter's method call 2016-10-28 12:42:54 +03:00
peter 32fbf57626 resolve to context method parameters from non-physical code blocks 2016-10-28 07:51:38 +02:00
Dmitry Batkovich 04f6faf096 javac ast indices: more tests 2016-10-28 08:50:24 +03:00
Dmitry Batkovich 3c24f6bdb3 javac ast indices: more find usages tests 2016-10-27 22:57:27 +03:00
Dmitry Batkovich 93acac9284 java ast indices: add injected code find usages test 2016-10-27 21:20:48 +03:00
peter 19ae8cdcdb IDEA-163213 Method contract is not inferred when it returns the result of string concatenation 2016-10-27 18:01:46 +02:00
Vladimir Krivosheev 6dbe6b27f5 avoid InspectionProfileImpl class cast 2016-10-27 16:30:27 +02:00
Yaroslav Lepenkin 027df2e7c9 [Parameter Name Hints] do not show hints for generic builders (IDEA-163214) 2016-10-27 16:08:30 +03:00
Alexey Kudravtsev 7c9e070c2b refactored Condition<String> to Condition<CharSequence> to use it with cheaper vfile.getNameSequence() 2016-10-27 15:17:37 +03:00
Dmitry Batkovich e7705e5bba javac ast indices: de-generify to avoid possible CCE in service 2016-10-27 11:00:47 +03:00
peter 4a0ec7d71b make SearchInLibsTest tolerate multithreaded search 2016-10-26 19:15:06 +02:00
peter 9e4071cd68 make FindManagerTest tolerate multithreaded search 2016-10-26 18:55:26 +02:00
Vladimir Krivosheev b7e818d80d move deleteProfile to impl 2016-10-26 16:42:11 +02:00
Vladimir Krivosheev 1e9f58c53e simplify — reduce class casts 2016-10-26 16:42:11 +02:00
Dmitry Batkovich 4010cec385 java functional expressions: last one test-data fixed 2016-10-26 12:24:25 +03:00
Dmitry Batkovich 7b2d0c3d4a java functional expressions: remove ":" from toString() + fix test data according to 381bbbe 2016-10-25 23:33:11 +03:00
Dmitry Batkovich 7b35665044 java functional expressions: render functional expressions in show implementation using stubs if possible 2016-10-25 21:35:36 +03:00
Yaroslav Lepenkin 69b0ba44e8 [Parameter Name Hints] do not show in exception constructors 2016-10-25 16:09:04 +03:00
Tagir Valeev c8b125fb65 IDEA-163051 "Replace inefficient Stream API call chains ending with count()": fix leaves redundant casts
IDEA-163050 "Replace inefficient Stream API call chains ending with count()": highlighting
2016-10-25 12:27:51 +07:00
Tagir Valeev 6e3d0c6c0e IDEA-163082 "can be replaced with addAll" inspection suggests a recursive call; support "this" qualifier for collect/addAll conversion 2016-10-25 11:38:24 +07:00
Tagir Valeev 4ce59ee865 Stream API Migration: do not add type arguments if a type is a wildcard type 2016-10-25 11:10:08 +07:00
Roman Shevchenko 2592ba883f Cleanup (formatting) 2016-10-24 18:27:54 +02:00
Dmitry Batkovich 1cb5141dbe revert redundant Project argument since getFilesToSearchInPsi() is accessed only in EDT 2016-10-24 17:54:33 +03:00
Dmitry Batkovich 4c72b12c6a function expression searcher: find most likely files only among of files where occurrences was found 2016-10-24 17:47:31 +03:00
Dmitry Batrak 71cde419d2 fix test
(for IDEA-135620)
2016-10-24 14:55:04 +03:00
Tagir Valeev d51f09d0d5 Stream API Migration: fix cases when boxed collection is iterated with primitive parameter (inspired by PR https://github.com/JetBrains/intellij-community/pull/455 by FHannes) 2016-10-24 17:44:45 +07:00