Anna Kozlova
|
f85e37b1c8
|
inline method: avoid another cases where invalidated this expr is used
EA-103338 - PIEAE: PsiUtilCore.ensureValid
|
2017-06-16 19:14:29 +03:00 |
|
Anna Kozlova
|
52b2493e19
|
introduce variable: allow extraction to field, etc (IDEA-CR-21940)
|
2017-06-16 19:14:28 +03:00 |
|
Anna Kozlova
|
5d8e3f67a1
|
don't override first field by same named second (IDEA-174523)
|
2017-06-16 11:53:53 +03:00 |
|
peter
|
3add884872
|
fix stub-ast mismatch caused by broken import list
plus add a test for mismatch in IDEA-169118
|
2017-06-16 09:23:31 +02:00 |
|
Anna Kozlova
|
267a77b6a3
|
fix introduce constant inside enum on unresolved ref (with target type)
EA-103229 - IAE: PsiTreeUtil.isAncestor
|
2017-06-15 20:51:20 +03:00 |
|
Anna Kozlova
|
1298560a61
|
introduce variable: case with unresolved reference and replace all
EA-90834 - AIOOBE: AbstractInplaceIntroducer.lambda$restoreState$
|
2017-06-15 20:51:20 +03:00 |
|
Anna Kozlova
|
38f29c5389
|
restore class by index in target file for top level classes
EA-36372 - assert: CreateSubclassAction$.templateFinished
|
2017-06-15 18:14:17 +03:00 |
|
Roman Shevchenko
|
97a6bdb9bf
|
[java] removes harmful parser heuristic (IDEA-169118)
|
2017-06-15 15:30:36 +03:00 |
|
Anna Kozlova
|
fb3295db37
|
introduce variable/occurrences: allow to walk up through anonymous
the current behavior is not transitive as occurrences inside anonymous when selected outside were detected (IDEA-174339)
|
2017-06-15 13:52:55 +03:00 |
|
Anna Kozlova
|
5840277944
|
extract method: allow to pass context for empty method (IDEA-174450)
|
2017-06-14 19:27:02 +03:00 |
|
Anna Kozlova
|
f60676d110
|
default Optional.empty for Optional type (IDEA-174268)
|
2017-06-14 19:27:02 +03:00 |
|
Dmitry Batkovich
|
87b68598cb
|
add javadoc intention should be unavailable if javadoc already exists IDEA-174275
|
2017-06-14 17:11:07 +03:00 |
|
Dmitry Batkovich
|
b1d40b518b
|
relevant method chain completion: introduce new field if completion for field initializer is called (EA-103019)
|
2017-06-14 16:53:21 +03:00 |
|
Pavel Dolgov
|
7e689ac90c
|
Java: Detect which output variables are used after the method call when extracting a method object (IDEA-152688)
|
2017-06-14 15:07:32 +03:00 |
|
Anna Kozlova
|
3dff91600a
|
redundant code block: compare same overload resolution (IDEA-174288)
instead of trying with cast afterwards, don't suggest to remove the block at the first place
|
2017-06-14 11:51:52 +03:00 |
|
Anna Kozlova
|
605dfb1c3c
|
redundant cast: ensure cast type compared with ground type (IDEA-174369)
remove attempts to emulate that and reuse getGroundTargetType api
|
2017-06-13 20:27:13 +03:00 |
|
Anna Kozlova
|
4b3e51a69d
|
testdata changes
|
2017-06-13 20:27:12 +03:00 |
|
Maxim.Mossienko
|
0573e1f109
|
update tests and testdata to reflect newer mock jdk 1.7
|
2017-06-13 15:30:25 +02:00 |
|
Anna Kozlova
|
fb928f72c6
|
lambda inference: conditional expressions in returns (IDEA-174301)
skip conditionals and parenthesis during find top expression
|
2017-06-13 16:12:45 +03:00 |
|
Anna Kozlova
|
634a945b0f
|
apply unifying substitutor to compare return types (IDEA-174292)
attempt to apply incompatible return types in method hierarchy due to method type parameters used in return types
|
2017-06-13 16:12:44 +03:00 |
|
Maxim.Mossienko
|
7387ee525b
|
update tests and testdata to reflect newer mock jdk 1.7
|
2017-06-13 15:09:42 +02:00 |
|
Maxim.Mossienko
|
4d165172dd
|
update testdata to reflect newer mock jdk 1.7
|
2017-06-13 15:09:42 +02:00 |
|
Maxim.Mossienko
|
6838c9f9f5
|
fix test data due to change in mock jdk 1.8
|
2017-06-12 20:17:42 +02:00 |
|
Maxim.Mossienko
|
b29013e1dc
|
fix test data due to change in mock jdk 1.4
|
2017-06-10 22:07:56 +02:00 |
|
peter
|
2e6cfa9223
|
don't generate setters for constants during completion (IDEA-CR-21764)
|
2017-06-09 18:16:19 +02:00 |
|
Anna Kozlova
|
b18d182cc8
|
collect transitive dependant type parameters (IDEA-174194)
|
2017-06-09 18:33:06 +03:00 |
|
Roman Shevchenko
|
0d61e56b64
|
[java] recognizes @index Javadoc tag (IDEA-160185)
|
2017-06-09 17:50:49 +03:00 |
|
peter
|
dceb40cf32
|
add some notnulls to BaseStream (IDEA-173629)
|
2017-06-09 16:41:54 +02:00 |
|
Anna Kozlova
|
d0fab7fd0b
|
introduce functional variable: encode this (IDEA-174203)
|
2017-06-09 16:51:20 +03:00 |
|
Anna Kozlova
|
404fe68c03
|
introduce functional variable: allow comments (IDEA-174183)
|
2017-06-09 16:51:20 +03:00 |
|
peter
|
1a4a90e174
|
IDEA-173726 Generation completion suggests create setter for final field
|
2017-06-09 15:41:32 +02:00 |
|
Anna Kozlova
|
9c1a494628
|
extract method: disable support of postfix/prefix exprs (IDEA-174182)
enable it for extract method object only
|
2017-06-09 12:28:26 +03:00 |
|
Alexey Kudravtsev
|
3c9c050b46
|
fixed yellow code in PersistentFSImpl where VEvent was casted to subclass for the method different not-nullness
|
2017-06-09 11:08:23 +03:00 |
|
Roman Shevchenko
|
e16815fb9f
|
[java] drops improperly added Javadoc tag
|
2017-06-08 19:14:48 +03:00 |
|
Pavel Dolgov
|
a95807108c
|
Java: Don't extract method where it's not safe because of nullable result (IDEA-167391)
|
2017-06-08 18:17:10 +03:00 |
|
peter
|
0e938165ea
|
fix contracts for junit5 assertions
|
2017-06-08 17:12:36 +02:00 |
|
Anna Kozlova
|
cb2eaa99e1
|
extract functional: don't show error dialogs (IDEA-174180)
unable to perform in complex cases instead
|
2017-06-08 17:49:08 +03:00 |
|
Anna Kozlova
|
e78186d6ae
|
support for arrays in template j.u.Objects.equals/hashCode (IDEA-162302)
|
2017-06-08 17:49:06 +03:00 |
|
Anna Kozlova
|
e32734234d
|
move instance method: resolve conflict local var/field in target class
IDEA-174017
|
2017-06-08 17:49:06 +03:00 |
|
Tagir Valeev
|
c0f0d3c636
|
IDEA-174151 'Replace with single Map method' suggests incorrect rewrites to computeIfAbsent
Option added (on by default) to disable warning if side effects are possible.
|
2017-06-08 17:41:44 +07:00 |
|
Tagir Valeev
|
fb6965b6b9
|
ExtractSideEffectsFix -> DeleteSideEffectsAwareFix; i18n
Now intention availability logic is moved from HighlightUtil to DeleteSideEffectsAwareFix
Review: IDEA-CR-21623
|
2017-06-08 12:15:20 +07:00 |
|
Tagir Valeev
|
a5dcf8841f
|
ComparatorResultComparisonInspection: support >/>=/</<= checks
Additional fix for IDEA-173177. Now conditions like "a.compareTo(b) > 1" are warned as well.
|
2017-06-08 10:14:34 +07:00 |
|
Anna Kozlova
|
3e7e52a4df
|
inline to anonymous: convert to lambda when applicable (IDEA-173821)
|
2017-06-07 19:04:05 +03:00 |
|
Anna Kozlova
|
101ae53c3b
|
introduce functional: convert to lambda when applicable (IDEA-174018)
|
2017-06-07 19:04:04 +03:00 |
|
Anna Kozlova
|
d65ff6ad81
|
introduce functional: combine extract method & introduce
IDEA-174011; IDEA-174021
|
2017-06-07 19:04:04 +03:00 |
|
peter
|
b8588d2006
|
prefer local variables over NULL_PSI_ELEMENT in smart completion
|
2017-06-07 13:35:28 +02:00 |
|
Tagir Valeev
|
535c113dba
|
IDEA-172877 Provide a quick-fix on 'Not a statement' error message
|
2017-06-07 15:27:49 +07:00 |
|
Anna Kozlova
|
07a086dace
|
don't suggest inaccessible functional interfaces (IDEA-174008)
|
2017-06-06 19:07:58 +03:00 |
|
Anna Kozlova
|
02c718aae8
|
replace assignment with comparison in condition exps (IDEA-173860)
|
2017-06-06 19:07:58 +03:00 |
|
peter
|
e5b892bd23
|
report when notnull type is instantiated with unknown nullity (IDEA-CR-21203)
|
2017-06-06 17:41:59 +02:00 |
|