Commit Graph
5092 Commits
Author SHA1 Message Date
Anna Kozlova 502a3e9a65 new inference: check also variable instantiation for primitive wrappers (IDEA-127752) 2014-07-23 19:19:13 +02:00
Anna Kozlova 24be503eb2 new inference: missed condition in conditional expression (IDEA-127752) 2014-07-23 19:19:12 +02:00
peter c88f288bda source contract inference: handle unboxing during delegation (CR-IC-5787) 2014-07-23 18:37:36 +02:00
Dmitry Batrak 1d198e18bb IDEA-127695 Formatting is breaking on typing 2014-07-23 20:10:16 +04:00
Anna Kozlova 381c7fc817 ensure type parameters contain fully qualified names (IDEA-127714) 2014-07-23 17:53:18 +02:00
Alexey Kudravtsev 1b9ba31da8 cast from Short to char is prohibited 2014-07-23 13:35:58 +04:00
Yaroslav Lepenkin fed971c173 Perform folding for prefix literal expressions with addition operator: e. g. "+3" (IDEA-127689) 2014-07-23 12:09:40 +04:00
Yaroslav Lepenkin ff2e0ed9e4 IDEA-127145 "Go to declaration" does not work for string file name in method with more than two arguments. 2014-07-23 11:39:46 +04:00
Ilya Klyuchnikov ccc527669a bytecode analysis: embedding direction into long key 2014-07-23 11:02:22 +04:00
Anna Kozlova e9a17dfad8 field can be local: when field is used in method for read it can't be converted to local if used in another methods (IDEA-127159) 2014-07-22 20:37:38 +02:00
peter 0299b302c6 auto-import context variable declaration type when completing (IDEA-90157) 2014-07-22 18:26:56 +02:00
peter e353c2f0a6 prefer some well-known java util classes in completion (IDEA-100669) 2014-07-22 18:26:55 +02:00
peter f81e96ef9d java chained completion: qualifier class items shouldn't be inserted as constructors 2014-07-22 18:26:55 +02:00
Roman Shevchenko e1d651bcf5 Cleanup (formatting) 2014-07-22 17:24:03 +02:00
Anna Kozlova 9cce5c76b7 do not split annotations on multiple lines for params (IDEA-127017) 2014-07-22 17:08:03 +02:00
Yaroslav Lepenkin 0aa3890084 simplified, added filtering for subsequent parameter pairs: "key, value", "first, second" 2014-07-22 19:00:09 +04:00
nik da81c5d0b6 ProjectFileIndex#isIgnored renamed to 'isExcluded' 2014-07-22 16:31:23 +04:00
Anna Kozlova b585c95984 inline method: check unique names for this variable in initial class scope (IDEA-127411) 2014-07-22 13:49:32 +02:00
peter 2eae3c8876 contract inference: take explicit parameter notnull into account (IDEA-127667) 2014-07-22 12:43:00 +02:00
nik 693b2a2c03 DirectoryIndexTest: renames 2014-07-22 12:15:36 +04:00
Yaroslav Lepenkin 73dfd94582 parameter name folding reducing:
- do not inline if parameter length is less than 3
- do not inline if two subsequent parameters has interval names (beginIndex, endIndex; startId, endId; from, to...)
2014-07-22 10:09:55 +04:00
nik 90d58bef51 DirectoryIndex: removed unnecessary isProjectExcludeRoot method 2014-07-22 10:04:28 +04:00
Anna Kozlova bacc3c2ad6 lambda -> method refs: collapse when acceptable method without supers found 2014-07-21 20:47:52 +02:00
Anna Kozlova 4b7122b83d shorten FQNs when insert casts (IDEA-127573) 2014-07-21 19:19:15 +02:00
Anna Kozlova 91f505e2f7 create static method from usage in interface (IDEA-127563) 2014-07-21 19:19:14 +02:00
Anna Kozlova 824f4329b2 workaround for <p/> inside <pre> in javadoc preview in JEditorPane (IDEA-127430) 2014-07-21 17:56:23 +02:00
Anna Kozlova a46f4cef52 anonym -> lambda: disable in case when inferred type differs from type of anonymous class and parameter of param type is used inside (IDEA-127603);
BTW param.toString would be also rejected
2014-07-21 17:56:21 +02:00
Anna Kozlova 89dc528242 new inference: no substitution during most specific inference by means of new spec (IDEA-127584) 2014-07-21 17:56:20 +02:00
Roman Shevchenko 322e539fc5 IDEA-127077 (highlighting test) 2014-07-21 16:08:23 +02:00
Anna Kozlova 9b4912c5a0 lambda: do not start inference from void type (IDEA-127596) 2014-07-21 12:12:28 +02:00
Roman Shevchenko 14d57e4209 Cleanup (formatting) 2014-07-21 11:34:17 +02:00
Roman Shevchenko e35d9d846c IDEA-127077 (incorrect parsing of type annotations) 2014-07-21 11:33:46 +02:00
Anna Kozlova 067ef9e309 method refs: check first parameter if it could be a receiver for varargs methods (IDEA-127506) 2014-07-18 18:19:20 +02:00
Andrey Starovoyt 6bf1409b85 postfix template fix ternary operator + test 2014-07-18 19:48:54 +04:00
peter 2ff73e2b6e don't recreate code fragment psi (IDEA-127039) 2014-07-18 15:38:28 +02:00
peter 5379b771ca turn off contract inference for overrideable methods; hopefully, not forever (IDEA-127518) 2014-07-18 15:34:11 +02:00
peter 49a119a0e7 IDEA-121276 Constant conditions: work with arrays 2014-07-18 15:34:10 +02:00
Alexey Kudravtsev 0a6a37496e Reverted: cast from Short to char is prohibited (1c5a03589e) 2014-07-18 17:21:10 +04:00
Alexey Kudravtsev 1c5a03589e cast from Short to char is prohibited 2014-07-18 14:58:43 +04:00
Anna Kozlova aea7066c18 allow to pull methods in super interface as default ones when super interface already contains a method with the same signature; remove @Override in such case (IDEA-126988) 2014-07-18 10:34:56 +02:00
Anna Kozlova 7d19e0e85e method refs: missed super class substitution (IDEA-126969) 2014-07-18 10:34:55 +02:00
Dmitry Batrak d61da37eda IDEA-122076, IDEA-122172 Multicaret actions in quick find mode 2014-07-18 12:11:16 +04:00
Dmitry Batrak 8b2824dc45 IDEA-121956 Multiple Carets: Add support for skipping next selection 2014-07-18 12:11:15 +04:00
nik b0fe937f64 DirectoryIndex: fixed 'isIgnored' for ignored files 2014-07-18 11:34:09 +04:00
nik fb4de8d85f DirectoryIndex: store info for excluded and ignored directories 2014-07-18 11:27:46 +04:00
peter df68af8efe require that notnull fields be initialized (IDEA-114889) 2014-07-18 09:14:08 +02:00
peter 5a22fdcf73 IDEA-126660 Incorrect 'condition is always true' for a final field if an overridden method is called from the constructor 2014-07-18 09:14:08 +02:00
peter a7ec8b7660 IDEA-126173 Specify exception type thrown by @NotNull annotations 2014-07-18 09:14:07 +02:00
peter f4d3703103 IDEA-126531 Completion inserts unwanted semicolon 2014-07-18 09:14:07 +02:00
peter 28870690fd dfa: take into account known variable values when handling number comparisons (IDEA-126446) 2014-07-18 09:14:06 +02:00