Commit Graph

2365 Commits

Author SHA1 Message Date
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
Anna Kozlova
3ea5b44100 resolve package/class if field is not accessible in fqn method call (IDEA-133812) 2014-12-03 12:53:07 +01:00
Anna Kozlova
2fa3bdf88f testdata fixed (too wide fonts on linux splitted components into multi rows!) 2014-12-02 19:34:41 +01:00
Andrey Starovoyt
f1fb09084b postfix template: reduce scope of 'try' IDEA-132878 2014-12-02 18:06:44 +03:00
Anna Kozlova
bcf0f87453 raw diamond substitution: infer Object for jdk < 1.8 (IDEA-133733) 2014-12-02 12:49:55 +01:00
Yaroslav Lepenkin
9f82306ea5 Added possibility not to add FQN in javadocs if class was imported (IDEA-121121 ) [CR-IC-6907]
Now three options is available: use FQN always, never, or when not imported. Last is used by default.
Converted and moved boolean legacy setting from CommonCodeStyle settings into JavaCodeStyleSettings.
2014-12-02 12:14:01 +02:00
Anna Kozlova
08a7e5b8bf show params info: ignore varargs conflicts, current index calculation 2014-12-01 18:00:33 +01:00
Andrey Starovoyt
af6e705092 disable autocompletion for live/postfix templates 2014-12-01 16:48:30 +03:00
Alexey Kudravtsev
6ce8da783c fix RefCountHolder to avoid "all yellow" syndrome, highlighting cleanup 2014-11-28 14:26:06 +03:00
Anna Kozlova
145f701bc1 new overload resolution: integrate isPotentiallyCompatible in isApplicable checks 2014-11-26 17:42:30 +01:00
Anna Kozlova
68cc2ec0a2 method refs: mark as potentially incompatible expression based reference of non-static method with incorrect number of parameters; contradict spec (15.12.2.1) 2014-11-26 17:39:25 +01:00
Anna Kozlova
3f0ce40440 testdata for IDEA-127124 2014-11-25 19:23:29 +01:00
Anna Kozlova
152df440c6 method call type: erasure should not be applied if method doesn't have type params; < 1.8 (IDEA-132810) 2014-11-25 17:13:03 +01:00
Anna Kozlova
897609bd68 new inference: avoid resolveGenericMethod on new expressions as diamond types are expanded and cached on class reference (IDEA-133297) 2014-11-25 13:36:23 +01:00
Anna Kozlova
efc2dc0c59 lambda -> methref: respect laziness (IDEA-133372) 2014-11-24 12:09:15 +01:00
Dmitry Batkovich
38353bfac4 IDEA-133322 Add an intention to convert compareTo(x)==0 to equals 2014-11-24 13:21:18 +03:00
Anna Kozlova
6d73d68b6a replace unused parameter fix with safe delete in onTheFly mode: deep parameter delete is enabled this way 2014-11-20 11:49:14 +01:00
Anna Kozlova
fa29801a8a method refs: varargs methods should be checked for parameter numbers (IDEA-133173) 2014-11-20 11:49:09 +01:00
Anna Kozlova
b239f91e8e replace with setter: skip non-primitive assignment (IDEA-133102) 2014-11-19 14:01:19 +01:00
Anna Kozlova
498e067158 do not add exceptions to containing methods when element is selected inside lambda 2014-11-18 18:36:39 +01:00
Anna Kozlova
f52ceb369b do not search for lambda parameter javadoc 2014-11-18 18:36:38 +01:00
Anna Kozlova
2bd9c19a63 @SafeVarargs for java 9 (IDEA-132278) 2014-11-18 18:36:28 +01:00
Anna Kozlova
ba0cba456e invert if: stop at lambda level (IDEA-133023) 2014-11-17 20:14:42 +01:00
Anna Kozlova
6261633a4d AIOOBE 2014-11-13 12:35:05 +01:00
Alexey Kudravtsev
18365be5d0 instantiate UnusedDeclarationInspection properly in tests; got rid of setters 2014-11-13 14:13:18 +03:00
Anna Kozlova
b5a7fdbbf8 retrieve expected type by containing array creation expression (IDEA-132794) 2014-11-12 19:38:03 +01:00
Anna Kozlova
d98a3da35a enum attribute values must be a constant (JLS 9.7.1 IDEA-132747) 2014-11-12 19:38:00 +01:00