Commit Graph
8669 Commits
Author SHA1 Message Date
Roman Shevchenko 7c8d607d8d [tests] test data inlined 2016-11-03 16:59:34 +01:00
Anna.Kozlova b8e4985205 don't erase method invocation type iff unchecked conversion was required during additional constraints processing (IDEA-163503) 2016-11-03 16:38:40 +01:00
Yaroslav Lepenkin 9eea5815d8 [Parameter Name Hints] do not show for add methods with single argument 2016-11-03 17:53:57 +03:00
Pavel Dolgov a9d1f4ebb9 Java: Test for the inspection "Non-accessible type is exposed" (IDEA-162768) 2016-11-03 17:46:19 +03:00
peter 0ccc7cdbc7 when inferring purity, honor class initializers (IDEA-CR-15144) 2016-11-03 14:46:40 +01:00
Yaroslav Lepenkin 8ec8522d3c [Parameter Name Hints] added test for "blacklist" intention 2016-11-03 16:20:02 +03:00
Dmitry Batkovich d2faad61ec javac ast indices: add scope invalidation multi-module test case 2016-11-03 13:45:11 +03:00
Maxim.Mossienko adbdbefcdb cleanup: extracted code related to vfs event filtering from FileBasedIndexImpl to IndexedFilesListener 2016-11-03 10:41:51 +01:00
Tagir Valeev f04509a776 IDEA-163302 Suggest to use IntStream.boxed() if manually mapping to an Integer 2016-11-03 11:26:21 +07:00
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