Commit Graph
2541 Commits
Author SHA1 Message Date
Anna Kozlova 658607d9c2 new overload resolution: reject complete normally when last instruction is return (IDEA-134808) 2014-12-29 18:57:39 +01:00
Maxim.Mossienko ecbf2e64c5 [Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Anna Kozlova bb51fb1c63 generate equals/hashCode: support deep arrays equals for java > 1.5 (IDEA-131533) 2014-12-24 20:26:36 +01:00
Alexander Zolotov 30c60fff7a ListTemplate action: do not overwrite prefix-matched template with template
that was found by description
2014-12-24 19:44:40 +03:00
Anna Kozlova e130ff2669 quick javadoc: include new javadoc tags in view (IDEA-128304) 2014-12-24 14:26:27 +01:00
Anna Kozlova fc2f15f64e java 8 javadoc tags @apiNote, @implNote, @implSpec 2014-12-24 14:26:26 +01:00
Anna Kozlova f99580f6a5 enable delegate for interfaces in 1.8 2014-12-23 19:32:29 +01:00
Andrey Starovoyt b20fc1c936 live templates: incorrect adding generic parameter IDEA-134434 2014-12-23 18:18:43 +03:00
Maxim.Mossienko 7126e14983 open mail client on mailto: links 2014-12-22 13:40:05 +01:00
Maxim.Mossienko 2f73716a0e IDEA-64131 support for links in comments 2014-12-22 13:15:25 +01:00
Anna Kozlova 09dc54d415 extension for lombok val support (IDEABKL-5667) 2014-12-19 19:49:01 +01:00
Anna Kozlova e6371b208f lambda <-> anonymous <-> method ref: collapse lambda block when applicable refactored (IDEA-134509) 2014-12-18 19:20:21 +01:00
Anna Kozlova 79da0849e2 disable lambda -> method ref if resulted methods are not the same (IDEA-134486) 2014-12-18 14:13:23 +01:00
Anna Kozlova 6e761e661f surround with try/catch: ignore nested functional expressions from unchecked analyzes 2014-12-18 14:13:22 +01:00
Anna Kozlova 6336e973c9 add exception to throws: find functional interface method for method references; discard if in library (IDEA-134468) 2014-12-18 14:13:20 +01:00
Anna Kozlova 0be4af00e0 new overload resolution: block can complete normally if the last statement could throw exception (IDEA-134103) 2014-12-17 20:51:47 +01:00
Anna Kozlova 24a7a43f7c redundant lambda code block: ensure conflicts between same param numbers are checked 2014-12-17 20:13:47 +01:00
Anna Kozlova 7343c62b7e new inference: infer exceptions for inner lambda body calls (IDEA-134225) 2014-12-17 20:13:46 +01:00
Anna Kozlova a026cc2dd1 new overload resolution: check only functional arguments in isFunctionalTypeMoreSpecific (IDEA-134328) 2014-12-17 20:13:42 +01:00
Anna Kozlova 014215aec5 generated test data, unrelated classes 2014-12-17 09:57:50 +01:00
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
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
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 482de672ef method references: site substitution for method references without receiver (IDEA-134261) 2014-12-12 20:57:02 +01:00
Dmitry Jemerov 65666dfa8c capitalize JUnit correctly 2014-12-11 16:56:24 +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
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 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
Dmitry Avdeev 10d9a87226 sentence capitalization 2014-12-06 11:49:04 +03:00
Dmitry Avdeev 25275abdc8 sentence capitalization 2014-12-06 11:38:01 +03:00
Dmitry Avdeev 1d566347e1 sentence capitalization 2014-12-06 11:19:41 +03:00
Dmitry Avdeev d304ec4ede Invert 'if': sentence capitalization 2014-12-06 10:57:22 +03:00
Anna Kozlova e90b046aa4 forbid anonym -> lambda/meth ref if method is synchronized (IDEA-133947) 2014-12-05 21:06:09 +01:00
Andrey Starovoyt 315f1b9977 reduce scope of try postfix template (2) after review IDEA-132878 2014-12-05 14:42:09 +03:00
Andrey Starovoyt 0b767366cb postfix templates incorrect expand IDEA-133867 2014-12-04 21:20:26 +03:00
Bas Leijdekkers f972926905 fix expected thrown types for lambda expressions 2014-12-03 15:30:48 +01:00