Anna Kozlova
e5979eaa35
diamonds: ensure new expression with diamond is treated as poly expression; ensure that site substitutions for constructor refs are ignored as they always contain raw substitutions
2015-09-30 17:35:12 +02:00
Anna Kozlova
c111105d30
cache diamond inference results
2015-09-30 10:59:13 +02:00
Anna Kozlova
090038722a
EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
2015-09-29 17:59:47 +02:00
peter
15369d718e
IDEA-145680 Basic completion doesn't work inside method call after "<" in if condition
2015-09-29 11:07:45 +02:00
Gregory.Shrago
ef910d7385
FileStructureTestCase refactoring: move logic out of setUp, allow testing by text
2015-09-28 23:57:26 +03:00
Anna Kozlova
3c9f16f866
extract super from anonymous fixed; no rename could be suggested
...
EA-71255 - assert: JavaPullUpHelper.doMoveClass
2015-09-28 20:18:35 +02:00
Anna Kozlova
d5a31ea205
inference: incorporation with capture and fresh variables (IDEA-145566)
2015-09-28 20:18:34 +02:00
Alexander Zolotov
2687cd7a22
Do not filter out templates with same key but different groups from completion
2015-09-28 12:23:37 +03:00
Anna Kozlova
06eecb0b1d
duplicate throws: ensure checks are proceed with correct type after first problem detected (IDEA-145542)
2015-09-25 15:43:12 +03:00
Anna Kozlova
2da2ff75fa
don't reject static method of interfaces imported via static imports (IDEA-145504)
2015-09-25 15:43:09 +03:00
Alexander Zolotov
3ab37bc487
Do not complain about referencing test-only class on anonymous classes
...
This functionality is covered by checking PsiCallExpression elements
2015-09-25 15:29:52 +03:00
Ilya Klyuchnikov
ac3ee3b425
IDEA-144129: support for inferred negated contracts
2015-09-25 15:01:31 +03:00
Anna Kozlova
d9403ffcb7
encode qualifiers in method refs (IDEA-145512)
2015-09-25 13:53:43 +03:00
Anna Kozlova
b29779ed87
local can be final: don't ignore problems found in lambda body (IDEA-145500)
2015-09-25 13:53:40 +03:00
Anna Kozlova
7d92ec966f
new overload resolution: reject candidates with applicability level less than asked (IDEA-145505)
2015-09-24 19:58:55 +03:00
Anna Kozlova
9ebe7c76c9
unused library: bind parameter modifier lists with annotation classes (IDEA-145186)
2015-09-24 19:58:49 +03:00
Anna Kozlova
dc5e1732f7
report redundant suppressions on line with suppression or on corresponding member if member annotated (IDEA-145472)
2015-09-24 13:09:22 +03:00
peter
c57fa18eaa
display type arguments in java completion suggestions (IDEA-143204)
2015-09-23 18:08:04 +02:00
peter
ced18f2839
prefer expected type generics suggestions in java completion, overwrite existing type arguments (IDEA-145119)
2015-09-23 18:08:03 +02:00
peter
e3657dfb11
always suggest non-imported annotations (IDEA-145447)
2015-09-23 18:08:03 +02:00
peter
c70ab42653
fix finding lambdas implementing JDK interfaces
2015-09-23 13:48:55 +02:00
Alexey Kudravtsev
04fb864cc4
Reverted
2015-09-22 14:24:41 +03:00
Alexey Kudravtsev
54ffb7157d
make temporary names more nice-looking, remove project files cached in VFS from the previous tests
2015-09-21 16:32:36 +03:00
Anna Kozlova
386c7f19c1
normalize variable declaration before application
...
EA-69890 - PIEAE: CompositePsiElement.getContainingFile
2015-09-18 20:47:47 +03:00
Anna Kozlova
4487019854
completion inside method call after new could use return type constrains/other variables ignoring unresolved IntellijIdeaRulezz type (IDEA-144885)
2015-09-18 14:37:16 +03:00
Anna Kozlova
8b322fadb7
static methods of interfaces: accept calls on type parameters with exact one interface bound (IDEA-145269)
2015-09-18 14:37:14 +03:00
Anna Kozlova
76c7aaf56e
new inference inside enum constants (IDEA-145211)
2015-09-17 13:42:49 +03:00
Anna Kozlova
99a54a3e76
resolve/overload resolution: collect static methods of interface called on foreign class/instance but filter them out during overload resolution (IDEA-145187)
2015-09-17 13:42:45 +03:00
nik
6a479aeef7
'change language level' functionality moved to JavaProjectModelModificationService, test on IncreaseLanguageLevelFix added
2015-09-17 10:00:23 +03:00
Anna Kozlova
f61de7a241
method refs: ensure inference from captured return type (IDEA-145152)
2015-09-16 18:53:31 +03:00
Anna Kozlova
c26cc82486
notify about refs to foreign types (IDEA-145186)
2015-09-16 18:53:29 +03:00
Yaroslav Lepenkin
6decb9742f
Do not treat type parameter is @param section as tag - do not insert closing tag (IDEA-70898)
2015-09-16 16:08:15 +03:00
Yaroslav Lepenkin
c557b7acdf
Renamed test file to case-sensitively match one used in test
2015-09-15 19:29:51 +03:00
Yaroslav Lepenkin
5131b4a55c
[IndentDetector] CONTINUATION_WITHOUT_FIRST indent of the outermost block is treated as CONTINUATION, while the rest are treated as NONE
...
Every null indent retrieved from Block build by FormattingModelBuilder.buildBlocks is converted to CONTINUATION_WITHOUT_FIRST. Nested blocks starts the same offset and are retrieved as first block of it's parent that's why CONTINUATION_WITHOUT_FIRST works in such a case as NONE (because they are literally first blocks, see CWF javadoc)
2015-09-15 16:27:00 +03:00
Yaroslav Lepenkin
a536dc7eeb
Added indent detector test for Kotlin comments case
2015-09-15 16:26:58 +03:00
Yaroslav Lepenkin
86e9a10687
First formatting block found on new line may not be starting it, there could be part of multiline leaf block before, so we should skip it when detecting indent (IDEA-144945)
2015-09-15 16:26:54 +03:00
Alexander Zolotov
74d1b638f6
TestOnly inspection should validate classes
2015-09-14 14:47:48 +03:00
Anna Kozlova
f5101a309a
fix java inplace introduce inside injections
2015-09-11 19:56:47 +03:00
Anna Kozlova
c989070fd9
fix testdata
2015-09-11 11:42:49 +03:00
Anna Kozlova
837f0c8324
detect generated parameter name ignoring prefixes (e.g. in case of overriding library) (IDEA-144961)
2015-09-10 15:55:08 +03:00
Anna Kozlova
a811f9668e
new inference for enum constants (IDEA-144973)
2015-09-10 15:55:05 +03:00
Alexey Kudravtsev
c4a913213b
update corrupted files, recommitted
2015-09-10 15:10:14 +03:00
Alexey Kudravtsev
5cdb8d1552
CPP-4454
2015-09-10 14:42:02 +03:00
Anna Kozlova
741804bb7e
field can be local: don't suggest if used in this/super calls (IDEA-142287)
2015-09-09 21:04:56 +03:00
Anna Kozlova
db53e6d20b
extract method: stop at lambda body during exceptions collecting (IDEA-144938)
2015-09-09 19:24:30 +03:00
Anna Kozlova
87f484a5fe
diamonds with anonymous: reject cases according to JDK-8062373
2015-09-09 16:47:55 +03:00
Anna Kozlova
9a6264dcc0
enable diamonds with anonymous (IDEA-139098)
2015-09-09 16:47:53 +03:00
Anna Kozlova
07ab234ff3
extract class: allow to make nested (IDEA-144033)
2015-09-09 11:44:36 +03:00
Anna Kozlova
8356d38604
inline: use wildcard bound to avoid ? in top level type element (IDEA-144883)
2015-09-08 15:10:00 +03:00
Anna Kozlova
76081b5b78
captured wildcards in cls: equals -> equivalent (IDEA-144856)
2015-09-08 15:09:58 +03:00