Commit Graph
4414 Commits
Author SHA1 Message Date
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
Anna Kozlova 46847b71fd suggest to replace introduced parameter initializer with lambda when appropriate (IDEA-137827) 2015-09-08 11:29:52 +03:00
Anna Kozlova 7f043d56d1 testdata for IDEA-144840 2015-09-07 15:50:24 +03:00
Anna Kozlova 5071ef8aeb rename method without super: remove @Override (IDEA-142867) 2015-09-04 20:35:21 +03:00
Anna Kozlova 1b70e296eb simplified hashCode for nullable arrays (IDEA-144775) 2015-09-04 17:46:13 +03:00
Yaroslav Lepenkin 161cfae7c9 Rearranger: commit document before processing (IDEA-144637) 2015-09-04 15:03:46 +03:00
Anna Kozlova aba9734a6b testdata for IDEA-107713 2015-09-04 14:10:37 +03:00
Anna Kozlova 962225c53e isApplicable for raw qualifiers: it's enough to erasure left type, then right type should be able to assign there, so method reference type/lambda type won't be lost during erasure (IDEA-144547) 2015-09-04 14:10:35 +03:00
Anna Kozlova 05ae98b10d testdata for IDEA-93713 2015-09-04 14:10:31 +03:00
Anna Kozlova 0f24b5bae9 testdata for IDEA-81318 2015-09-03 20:31:05 +03:00
Anna Kozlova 788d7d0e3c intersect thrown types when implementing 2 interfaces with same method signature (IDEA-82426) 2015-09-03 20:31:03 +03:00
Anna Kozlova b22c0040f7 testdata for IDEA-98866 2015-09-03 20:31:01 +03:00
Anna Kozlova 5f45a046ea testdata for IDEA-106848 2015-09-03 20:30:59 +03:00
Anna Kozlova 0426946f75 varargs formal parameters inaccessible: extend for non-parameterized methods (IDEA-140600) 2015-09-03 20:30:57 +03:00
Anna Kozlova f741a6a366 testdata for IDEA-132253 2015-09-03 17:22:31 +03:00
Anna Kozlova eb638c67d7 testdata for IDEA-133920 2015-09-03 17:22:29 +03:00
Anna Kozlova 8f4768f3b3 testdata for IDEA-136401 2015-09-03 17:22:27 +03:00
Anna Kozlova f1919cf246 testdata for IDEA-144386 2015-09-03 17:22:25 +03:00
Anna Kozlova 3893b9f6d4 new inference: collect additional constraints from lambda return expressions when lambda parameters are already fixed; process constraints without input variables before others, so their 'return' expressions could influence next rounds; testdata (IDEA-144596) 2015-09-03 17:22:22 +03:00
Dmitry Batrak f7c123e328 IDEA-144356 Recognize relative HTML links with anchors when parsing external Javadoc 2015-09-02 19:58:05 +03:00
Anna Kozlova 984b65ef65 new inference: incorporation with capture: treat type param's extends bounds as one as glb (IDEA-142145) 2015-09-02 17:04:31 +03:00
Anna Kozlova 9a7d951e1e new inference: caching resolve result during getTargetType inference (IDEA-142733; IDEA-140035; IDEA-133385) 2015-09-02 17:04:29 +03:00
peter bf4a3805e0 dfa: store CCE state in visitor, not runner: the latter is reused which can result in multiple warning 2015-09-01 21:48:59 +02:00
Anna Kozlova ed06d3ff72 preserve captured wildcards during non wildcard parameterization (IDEA-132690) 2015-09-01 16:30:52 +03:00
Anna Kozlova 21e2fd41c0 non wildcard parameterization: workaround problems caused by different parameterizations of the same class during glb algorithm (IDEA-132690) 2015-09-01 16:30:50 +03:00
peter f482636569 IDEA-144532 "extends" keyword is not hinted correctly 2015-08-31 19:22:29 +02:00
Anna Kozlova 14cfc1680c unrelated defaults false negative (IDEA-144518) 2015-08-31 19:09:55 +03:00
Anna Kozlova 2df4481722 fix intersection types in receiver position (IDEA-144472) 2015-08-31 19:09:52 +03:00
Anna Kozlova 03ab26830f convert to instance: resolve conflicting names (IDEA-144265) 2015-08-28 21:05:45 +03:00
Anna Kozlova 3d96977c2c unreachable code: qualified fields and array access in assignments (IDEA-144428) 2015-08-28 18:33:15 +03:00