Anna Kozlova
303edac35e
functional type erasure: check if resulted type functional (IDEA-142341)
2015-07-07 14:55:14 +03:00
Roman Shevchenko
a9bbf772d6
IDEA-87252 (a couple more javadoc tests)
2015-07-06 18:33:32 +03:00
Anna Kozlova
024f917277
method refs: return type check fix for raw constructor (IDEA-142302)
2015-07-06 17:37:31 +03:00
Anna Kozlova
0c0d95fbc9
SOE (IDEA-142291)
2015-07-06 15:56:21 +03:00
Anna Kozlova
0415ca7a79
testdata fixed
2015-07-03 20:58:41 +03:00
peter
1294ec93f4
IDEA-140728 Suggest to automatically fill parameter of Stream#collect() method calls with standard Collectors instances
2015-07-03 18:25:08 +02:00
peter
209dea1eda
IDEA-140731 Second invocation of Smart Type completion should suggest to convert array to Stream
2015-07-03 18:25:08 +02:00
Roman Shevchenko
8c9d42e0a8
java: correct FQN for .class stubs of inner classes
2015-07-03 18:50:21 +03:00
Roman Shevchenko
484fc43881
Merge remote-tracking branch 'origin/master'
2015-07-03 16:09:44 +03:00
Roman Shevchenko
200e67ca65
IDEA-106141 (trailing annotations excluded from an incomplete reference expression)
...
I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".
2015-07-03 16:00:02 +03:00
Anna Kozlova
51404269ff
ensure left expression is processed before right in assignments (IDEA-140772)
2015-07-03 14:57:13 +03:00
Anna Kozlova
fe400fc988
method refs: infer 'diamond' if constructor ref type is raw (IDEA-142142)
2015-07-02 20:08:10 +03:00
Dmitry Batkovich
e98517a060
StaticPseudoFunctionalStyleMethodInspection: doesn't throw exception when lambda is variable
2015-07-02 19:52:42 +03:00
Dmitry Batkovich
4a3341e7bd
PseudoFunctionStyleMethodInspection: detection of functional type improved
2015-07-02 18:45:40 +03:00
Anna Kozlova
4684772197
extract method: include method prams when extracting from lambda body (IDEA-142163)
2015-07-02 17:13:33 +03:00
Dmitry Batkovich
526af6f1c1
PseudoFunctionStyleMethodInspection: removed transformation of lambda generating function, fixed most of type parameters issues
2015-07-02 17:09:55 +03:00
Roman Shevchenko
0888e688fd
Cleanup (unneeded test parameters)
2015-07-02 16:06:52 +03:00
Roman Shevchenko
2edb98e34d
Merge remote-tracking branch 'origin/master'
2015-07-02 15:53:14 +03:00
Roman Shevchenko
fd0061d246
java: receiver parameter highlighting
2015-07-02 15:29:22 +03:00
Roman Shevchenko
e737db6dcc
java: receiver parameter parsing
2015-07-02 15:29:10 +03:00
Alexey Kudravtsev
863eeb1898
IDEA-141330 Find Usages cannot find valid usage from abstract class
2015-07-02 12:48:38 +03:00
Dmitry Batkovich
507388b7a5
StaticPseudoFunctionalStyleMethodInspection: more clear options, validation of obtained result, part of problems with type parameters are fixed
2015-07-01 14:51:30 +03:00
Roman Shevchenko
d926c3cca3
Cleanup (highlighting tests unified)
2015-07-01 00:21:44 +03:00
Yaroslav Lepenkin
eea25059d8
IDEA-141982 SOE, recursion eliminated
2015-06-29 16:43:00 +03:00
Roman Shevchenko
2d7590996e
IDEA-122133 (type annotations skipped from copying into generated parameter)
2015-06-29 14:42:18 +03:00
Anna Kozlova
f1f08c3481
ensure no conflicts on move in module with another jdk (IDEA-139356)
2015-06-26 20:30:58 +03:00
Anna Kozlova
f38a38278c
redundant cast: don't mark redundant boxing casts in conditional (IDEA-137395)
2015-06-26 20:30:56 +03:00
Anna Kozlova
ec4bbd1d22
unused declaration: change message to avoid misunderstandings (IDEA-140103)
2015-06-26 16:21:34 +03:00
Anna Kozlova
5ff68d71b0
stream api: shorten class references when replace with foreach
2015-06-26 15:13:22 +03:00
Alexey Kudravtsev
9e99eabbb6
IDEA-141923 Errors in for-each statement header aren't highlighted if there're errors in its body
2015-06-26 14:42:13 +03:00
Anna Kozlova
db73973674
replace operator assignment with assignment (IDEA-137214)
2015-06-26 12:24:32 +03:00
Anna Kozlova
98713f26a8
introduce constant: don't miss comments (IDEA-140623)
2015-06-25 20:58:22 +03:00
Anna Kozlova
c343396fde
introduce constant: don't miss comments (IDEA-140623)
2015-06-25 20:58:20 +03:00
Anna Kozlova
0ebc041076
copy classes: ensure refs are updated one after another (IDEA-141658)
2015-06-24 20:25:22 +03:00
peter
b4a9a53ec7
dfa: report constant xor conditions only for the last operator in polyadic (IDEA-141853)
2015-06-24 18:37:44 +02:00
peter
69081779fe
dfa, Optional.ofNullable: suggest improvements only if in all states the arg was null or non-null (IDEA-141843)
2015-06-24 16:47:22 +02:00
peter
02fc02798f
dfa: handle in a special way only getX() != null comparisons (IDEA-141823)
2015-06-24 14:29:34 +02:00
Anna Kozlova
7f0692d0f2
lambda valueCompatible check: don't evaluate constant expressions which could lead to reference resolution during overload check = caching possible wrong refs (IDEA-141808)
2015-06-24 11:11:03 +03:00
peter
3ae8186707
IDEA-126629 java.io.Closeable is not AutoCloseable in some cases
...
search for close() method in a correct scope
2015-06-23 18:29:18 +02:00
Yaroslav Lepenkin
28a13b77d1
Do not skip blocks outside of formatting range, when building block wrappers. Blocks with alignments will be built and in some cases aligned properly.
...
Removed FieldInColumnsPreFormatProcessor, because now using CodeStyleManager#reformatWithContext we can reformat not only selected fragment, but also all blocks with alignments found there. (Also it fixes IDEA-99343)
Corrected test data
2015-06-23 17:22:25 +03:00
Anna Kozlova
28f8cd68d1
introduce local variable intention should not go to outer anonymous class (IDEA-141716)
2015-06-23 15:54:54 +03:00
Anna Kozlova
6fd53851a0
report unrelated defaults when 2 default methods provided; abstract/default otherwise (IDEA-141714)
2015-06-23 12:05:22 +03:00
Anna Kozlova
6bc7f0b207
safe delete: hide warning about static import if found in the one-class-file which would be deleted (IDEA-141686)
2015-06-23 12:05:21 +03:00
Anna Kozlova
715ae734a2
fix equals templates (IDEA-141700)
2015-06-23 12:05:19 +03:00
Yaroslav Lepenkin
aca7484bc8
Added performance test for indent detector
2015-06-22 15:26:51 +03:00
Dmitry Batrak
3631c0325e
IDEA-141461 Quick Documentation viewer: for javdocs inside jars, internal relative links to pages in the same jar don't work
2015-06-20 16:41:07 +03:00
Roman Shevchenko
f8581b839b
EA-45951, EA-58568 (PSI traversal fixed; test added)
2015-06-19 13:44:33 +03:00
Anna Kozlova
36ca5d6a23
disable surround with parenthesis for one-no-type-parameter lambda
2015-06-18 21:26:57 +03:00
Anna Kozlova
eaa9b80df1
introduce variable: ensure initialize conflict resolver over code ready to rename (IDEA-141634)
2015-06-18 17:54:25 +03:00
Anna Kozlova
30a12275a2
lambda: highlight containing method ambiguity on method name: this avoids lots of lines of lambda body to be highlighted and it would show errors even if lambda body contains errors actually caused by the ambiguity on the parent level (IDEA-141580)
2015-06-18 17:54:23 +03:00