Commit Graph
5711 Commits
Author SHA1 Message Date
Anna Kozlova 1ed0901d4b new inference: reject equals bounds contradicting lower bounds 2014-12-17 09:57:48 +01:00
Anna Kozlova f217ed47c4 new inference: reject contradicting equals bounds 2014-12-17 09:57:47 +01:00
Anna Kozlova e0b2d2d8f0 new inference: process wildcards captured bounds 2014-12-17 09:57:45 +01:00
Dmitry Avdeev 8b3c008d1b test fixed 2014-12-17 11:19:05 +03:00
Yaroslav Lepenkin 42aeed5df4 AbstractJavaBlock, SimpleJavaBlock, refactoring, simplification 2014-12-16 12:54:13 +02:00
Anna Kozlova 811234ec46 captures: replace type parameter in capture on substitution 2014-12-16 10:45:03 +01:00
Anna Kozlova 7933aad974 captures: distinguish by type parameters in method return type evaluation context 2014-12-16 10:45:02 +01:00
Yann Cébron 11ee2822c0 fix BytecodeAnalysisIntegrationTest (revert 2c7d2d9) 2014-12-15 19:41:34 +01:00
Alexey Kudravtsev c3e8934499 IDEA-133946 Don't highlight private constructor as unused if it is called by dependency injection engine 2014-12-15 14:18:20 +03:00
Anna Kozlova 8cc6072e73 introduce functional parameter: ignore parameters of containing method as they are available at call site 2014-12-15 12:13:30 +01:00
Anna Kozlova 482de672ef method references: site substitution for method references without receiver (IDEA-134261) 2014-12-12 20:57:02 +01:00
Anna Kozlova 9b4cacf341 functional interface suggester: check return types and try to infer 2014-12-12 19:28:55 +01:00
Anna Kozlova 124c957b7c introduce functional parameter: ensure resulted method non-static 2014-12-12 19:28:52 +01:00
Konstantin Bulenkov 2c7d2d9ccc fix Bytecode Analysis tests 2014-12-12 14:03:35 +01:00
Dmitry Avdeev deeb381d45 IDEA-27486 Make file templates per-project: fixing clients 2014-12-12 13:48:27 +03:00
Anna Kozlova e767382757 functional interface suggester: accept non exact method references 2014-12-11 17:20:11 +01:00
Dmitry Jemerov 65666dfa8c capitalize JUnit correctly 2014-12-11 16:56:24 +01:00
Anna Kozlova cae244cf52 exclude ConcurrentMap#putIfAbsent from avoided prior 1.8 api 2014-12-11 11:16:46 +01:00
Anna Kozlova 474e0fef6f introduce code block parameter: filter out functional interfaces which are not compatible by thrown types 2014-12-11 11:16:45 +01:00
Anna Kozlova 1053a96872 introduce code block parameter: extract method call with conditional exit 2014-12-11 11:16:44 +01:00
nik 9421b80596 external build: fixed problem with files remaining dirty after 'Make Project' 2014-12-11 12:40:30 +03:00
Anna Kozlova 3d1f3bf386 introduce code block parameter: extract from code block 2014-12-10 16:37:46 +01:00
Anna Kozlova 380a115d70 introduce code block parameter: shorten class refs 2014-12-10 16:05:59 +01:00
Anna Kozlova 4889becd80 introduce code block parameter: try to infer SAM type by extracted method parameter types 2014-12-10 16:05:58 +01:00
Anna Kozlova dfc7e8cb61 introduce parameter: allow to introduce parameter from code block (IDEA-81166) 2014-12-10 16:05:56 +01:00
Anna Kozlova a23fdf8c97 introduce variable: exclude classes with not acceptable @since tag from suggestion 2014-12-10 16:05:55 +01:00
Dmitry Avdeev f7916ef70a IDEA-27486 Make file templates per-project: initial 2014-12-10 15:55:46 +03:00
Anna Kozlova fc4434d241 extract method: use target class context to check nullability 2014-12-09 17:06:19 +01:00
Anna Kozlova 8d368b625e safe delete: show conflict if after parameter delete method would duplicate existing one 2014-12-08 21:04:43 +01:00
peter 803a5d18cb nullity inference: a more self-explanatory "test delegation to nullable means nothing" 2014-12-08 20:46:39 +01:00
peter 7c0eb3e5ad infer contracts from comparisons with non-null value 2014-12-08 20:46:38 +01:00
peter 1bb8e60e6e nullity inference: unknown wins over a single delegat 2014-12-08 20:46:38 +01:00
peter 1b4d301a50 treat lambdas as notnull in dfa & nullity inference (IDEA-134045) 2014-12-08 19:37:45 +01:00
Anna Kozlova 8210171223 anonym -> lambda: ignore calls to object and qualified calls when check to interface methods is performed (IDEA-134039) 2014-12-08 18:59:51 +01:00
Alexander Zolotov dd48c7e91b Prefer live template among other exact matched elements 2014-12-08 18:56:39 +03:00
Alexander Zolotov 8ff44d2ae1 Get rid of try/finally in live template tests 2014-12-08 18:56:39 +03:00
Anna Kozlova 2dc893734e force "prefer long names" if multiple fields/parameters of same type are generated (~ IDEA-99564) 2014-12-08 16:19:29 +01:00
Anna Kozlova 5a5ed0fe42 extract method: allow to fold parameters if calls to fields are involved 2014-12-08 16:19:28 +01:00
Anna Kozlova 497d5caf13 implement marker: fix range and tooltip 2014-12-08 11:33:21 +01:00
Dmitry Avdeev 224ee86927 test fix 2014-12-06 16:14:56 +03:00
Dmitry Avdeev 2dece3cb4b sentence capitalization 2014-12-06 14:31:18 +03:00
Dmitry Avdeev ee678ac849 test fix 2014-12-06 14:09:25 +03:00
Dmitry Avdeev 6811ae3de3 sentence capitalization 2014-12-06 13:25:00 +03:00
Dmitry Avdeev e6681a176d test data fixed 2014-12-06 13:10:10 +03:00
Dmitry Avdeev 91a5684fee sentence capitalization 2014-12-06 13:02:00 +03:00
Dmitry Avdeev b2147def98 sentence capitalization 2014-12-06 12:52:25 +03:00
Dmitry Avdeev 127db13c12 create ... fixes: sentence capitalization 2014-12-06 12:48:06 +03:00
Dmitry Avdeev bdf912b7b4 create class fixes: sentence capitalization 2014-12-06 12:41:46 +03:00
Dmitry Avdeev 9896227871 test data fixed 2014-12-06 12:09:22 +03:00
Dmitry Avdeev 466b4e442b Create from usage: sentence capitalization 2014-12-06 12:06:31 +03:00