Anna Kozlova
|
cbe6eb48ed
|
take into account container class type parameters: return type
detection if return type mentions type parameters should include types specified on outer class
|
2017-06-22 15:54:30 +03:00 |
|
Anna Kozlova
|
cba2ff917b
|
take into account container class type parameters
when non-generic inner class is located inside generic outer, inference variables could be hidden in parent parameters (IDEA-174762; IDEA-174776)
|
2017-06-22 12:14:03 +03:00 |
|
peter
|
94701d360d
|
IDEA-146460 Assertions aren't generated for @NotNull method parameters and return types if @NotNull assertion is changed to TYPE_USE only
honor only top-level type annotations (IDEA-CR-22158)
|
2017-06-21 19:55:55 +02:00 |
|
peter
|
f1e4db35a4
|
IDEA-146460 Assertions aren't generated for @NotNull method parameters and return types if @NotNull assertion is changed to TYPE_USE only
|
2017-06-21 17:19:07 +02:00 |
|
Pavel Dolgov
|
0aa8430cb4
|
Java: Look for redundant assignment of a field in class and field initializers (IDEA-149587)
|
2017-06-21 14:45:30 +03:00 |
|
yarik
|
60228a1b81
|
[psi formatting model] allow to replace whitespace in leaf non-whitespace nodes (e.g. multiple blocks for one PsiComment element), fixed formatting in injections by recalculating proper formatting text range
|
2017-06-20 14:48:36 +03:00 |
|
yarik
|
ced545552a
|
[java formatter] c style comments formatting supported. Note, only single line comments or comments with each line starting with asterisks will be formatted, since by using /* and */ you
|
2017-06-20 14:48:26 +03:00 |
|
Anna Kozlova
|
b6482f44a1
|
add static import: use existing import name (IDEA-174647)
|
2017-06-20 11:32:03 +03:00 |
|
Anna Kozlova
|
39815e1c7a
|
safe delete: suggest to delete constructor parameter (IDEA-173595)
when field is deleted and parameter would be unused after removing of assignment
|
2017-06-20 11:32:03 +03:00 |
|
Pavel Dolgov
|
f060340474
|
Java: Infer nullability annotations for extracted method's parameters (IDEA-150243)
|
2017-06-19 12:54:10 +03:00 |
|
Anna Kozlova
|
ebbcb94e58
|
inline constant: decode with this access from initial expr (IDEA-174568)
|
2017-06-19 11:18:56 +03:00 |
|
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 |
|