Commit Graph
6090 Commits
Author SHA1 Message Date
peter 1a014a13e8 IDEA-138061 Prefer "return" completion suggestion before the last expression in a code block 2015-03-24 16:32:25 +01:00
peter 409070a176 IDEA-138071 Completion shouldn't show private symbols from compiled code 2015-03-24 16:32:25 +01:00
Anna Kozlova d18781b365 make method static: warn about broken method references if filed or class need to be passed; NPE (EA-66661 - NPE: MakeMethodStaticProcessor.changeExternalUsage) 2015-03-23 20:33:24 +01:00
Anna Kozlova 8a56a94ff1 add assert != null fix should be disabled on the class level (EA-66814 - assert: AddAssertStatementFix.applyFix) 2015-03-23 20:33:20 +01:00
Anna Kozlova 5ed4840dad make capture<? super Object> == Object 2015-03-23 20:33:19 +01:00
peter 7e8644b3a2 complete statement should add body to private interface methods (jdk9) 2015-03-23 18:57:37 +01:00
peter eab2402c47 dfa: support non-initialized final field escaping in constructors (IDEA-137154) 2015-03-23 18:57:36 +01:00
peter 4fc7acb38f IDEA-137719 Complete current statement doesn't insert a method body for static methods in interfaces, creates broken code 2015-03-23 18:57:36 +01:00
Yaroslav Lepenkin 8e9aff7916 Corrected parameters order, which caused extra spaces formatting when performed on selected fragment. Formatter depending on the result of FormatterUtil.isFormatterCalledExplicitly decides whether to cut trailing spaces or not, and command name mismatch eliminated range correction. Test added. 2015-03-23 20:34:19 +03:00
Anna Kozlova 4d079801bf incompatible types quickfix: reregister for variable initializer (IDEA-138023) 2015-03-23 17:57:15 +01:00
Anna Kozlova 48db714b67 jdk9: support private methods in interfaces (IDEA-137918) 2015-03-23 17:57:12 +01:00
Alexey Kudravtsev c1456b60cc restore 'find in library source' feature 2015-03-23 14:06:01 +03:00
Anna Kozlova 4597494195 import of inner classes through should get raw substitutor from outr class if applicable (IDEA-121166) 2015-03-20 21:09:04 +01:00
Eugene Zhuravlev 0504e11398 method refs and invokeDynamic bytecode parsing to register corresponding dependencies correctly (IDEA-137568) 2015-03-20 21:02:33 +01:00
Anna Kozlova 1f50640671 lambda isValueCompatible: ensure that normal completion is impossible for infinite loops (IDEA-137848) 2015-03-20 20:08:51 +01:00
Anna Kozlova 858119b775 new overload resolution: remember candidate when argument type is to be calculated (IDEA-137921) 2015-03-20 20:08:50 +01:00
Alexander Zolotov b31a1fd000 Set ID and alternateID for inspection in test environment 2015-03-20 10:48:38 +01:00
Anna Kozlova 48619015ea testdata for IDEA-137893 2015-03-19 20:46:57 +01:00
Anna Kozlova e09ec985bf light elements should not be simplified especially when they were not changed (EA-47908 - IOE: CheckUtil.checkWritable) 2015-03-19 19:55:19 +01:00
Alexey Gopachenko 358a3bc249 IDEA-137369
findElementAt behavior has changed in IDEA 14 / test coverage
2015-03-19 10:55:59 +01:00
Anna Kozlova be5e054e6a extract method params suggester: cleanup initial params if they are not used anymore 2015-03-18 17:46:02 +01:00
Anna Kozlova dd1b0c2796 method reference: ignore already handled exceptions (IDEA-137694) 2015-03-18 14:09:58 +01:00
Anna Kozlova 4ba0890182 testdata for IDEA-137795 2015-03-18 14:09:56 +01:00
Alexey Kudravtsev 9008a31da9 test outside write action 2015-03-17 16:10:19 +03:00
peter c72c1bf7c6 dfa: mark ephemeral states even when there's no way of checking contract condition (IDEA-137604) 2015-03-17 13:03:44 +01:00
Anna Kozlova 4603022670 testdata for IDEA-137668 2015-03-16 20:14:20 +01:00
Anna Kozlova dfc1f6b698 testdata for IDEA-137694 2015-03-16 20:14:18 +01:00
peter e134599ffb don't cache data in FactoryMap when not allowed to (an addition to IDEA-137323 fix) 2015-03-16 17:48:19 +01:00
Anna Kozlova 6ad1810157 unchecked warning explanation (IDEA-126457) 2015-03-16 13:34:32 +01:00
Dmitry Batrak 665550b7e1 IDEA-82135 Missing images in Quick Documentation Java Doc loaded from jars
fixed new test
2015-03-16 12:39:20 +03:00
Anna Kozlova c6b72e19f2 testdata fixed 2015-03-13 21:22:57 +01:00
Dmitry Batrak 18a9996e5f IDEA-82135 Missing images in Quick Documentation Java Doc loaded from jars
fixed existing test, added new test
2015-03-13 19:57:09 +03:00
Anna Kozlova 1bf1a2cc13 do not report weaker access assignability higher in the hierarchy (IDEA-137533) 2015-03-13 14:32:10 +01:00
Alexey Kudravtsev d1e00c187c supply correct ID 2015-03-13 14:00:18 +03:00
Dmitry Batrak e0de6d5bd8 IDEA-82135 Missing images in Quick Documentation Java Doc loaded from jars 2015-03-13 13:46:58 +03:00
Anna Kozlova 027943681f lambda: check assignment for proper types (IDEA-137564) 2015-03-12 19:14:19 +01:00
Dmitry Batkovich 5a663626cf tests temp muted 2015-03-12 19:44:55 +03:00
Sergey Ignatov 9b8dc4933c use constant 2015-03-12 15:43:25 +03:00
Dmitry Batkovich f6ccae5153 inspection to highlight and convert pseudo-functional code (like guava Iterables) to java 8 api. initial version 2015-03-12 15:27:19 +03:00
Anna Kozlova a439f0184a EA-65822 - assert: EncapsulateFieldsProcessor.checkExistingMethods
(cherry picked from commit ba6d1cbd27710de60a1d918ff478fe3094f94012)
2015-03-11 20:36:27 +01:00
Anna Kozlova 50043d2bd9 EA-65747 - assert: LambdaCanBeMethodReferenceInspection.canBeMethodReferenceProblem
(cherry picked from commit 694a7b3b7869e1be50170bf6490c8b3e30328c4b)
2015-03-11 20:36:01 +01:00
Anna Kozlova 87a7731477 disable stream conversion if qualifier is used inside method call args (IDEA-137186)
(cherry picked from commit 24dfdad535f2c33e4d1f4d004a28b0ca45012c1b)
2015-03-11 20:34:30 +01:00
Anna Kozlova 5435a357c6 extract method: check duplicates/used vars also in unreachable code
(cherry picked from commit 42249fe8f0cead1a0023aa9edfb23fc52a95c268)
2015-03-11 20:33:25 +01:00
Anna Kozlova 80bc7dad79 preprocess substitutor for receiver type exact references during reduction (IDEA-137417)
(cherry picked from commit 8515ed9707c6a5a61a7d908024247e523b89f08f)
2015-03-11 20:31:42 +01:00
Anna Kozlova 979dca3880 hide duplicated 'Add constructor parameter' fix (IDEA-137231)
(cherry picked from commit 7c5d5ec6c5141cf7fedf6d55712fb2dffc0d3ace)
2015-03-11 20:29:06 +01:00
Anna Kozlova bece20cb9f testdata for IDEA-137277
(cherry picked from commit d98f44e277ae128ef6fb279a4e0dd738f9162939)
2015-03-11 20:27:58 +01:00
Anna Kozlova f19a6c1ed8 testdata for IDEA-58687
(cherry picked from commit 0be74138c6c6c288887944c26107a5d47bc5cd09)
2015-03-11 20:27:31 +01:00
Anna Kozlova f6de981477 ensure anonymous is not converted to lambda/method ref if it contains inner classes or class initializers
(cherry picked from commit 32afe318e3bacd714f3e0b49d8f904402b17a9c2)
2015-03-11 20:27:02 +01:00
Anna Kozlova b73f7f9c7a hide add import fix if qualified name of imported class is not a valid qName (IDEA-137296)
(cherry picked from commit bfae9cef8ff0d4fd773d6ee66f952b324d5e01ec)
2015-03-11 20:25:55 +01:00
Anna Kozlova 07cd972d60 completion: completion of constructor ref should insert new instead of class name (IDEA-137350)
(cherry picked from commit f98061b83147b69eed33fa86c4817bcbe67e26f4)
2015-03-11 20:25:01 +01:00