Commit Graph
1151 Commits
Author SHA1 Message Date
peter ecfddb515c IDEA-97738 Completion should respect enum parameters 2012-12-21 14:48:39 +01:00
peter 48cc2b3257 IDEA-97822 Code completion inserts a space after primitive types but not reference types 2012-12-20 18:30:44 +01:00
anna aa4e002ea2 IDEA-97888 2012-12-20 17:12:15 +01:00
anna 5a15076bd6 lambda: check lambda return type compatibility before more specific checks (IDEA-97870) 2012-12-20 15:32:39 +01:00
peter 404e2312c5 update test expectations (IDEA-96299) 2012-12-20 14:09:30 +01:00
peter 4341bc7222 IDEA-96404 java type inference does not work in for-each template 2012-12-19 19:36:33 +01:00
anna bd4346cea8 lambda: use incomplete substitutor when calc functional interface (IDEA-97038) 2012-12-18 20:26:31 +01:00
peter 3e0d7a41c9 suggest extends&super in wildcards (IDEA-97765, IDEA-57321) 2012-12-18 18:25:31 +01:00
anna d9fb83d631 lambda: accept raw functional interfaces when there are no params 2012-12-18 13:07:31 +01:00
anna 963b2ed293 lambda: relax incompatible return type in case of void functional types 2012-12-17 17:32:29 +01:00
anna 44ab4d534a lambda: infer functional interface from enum constants (IDEA-97596) 2012-12-17 17:32:28 +01:00
anna 125ba5424d proceed to check method call args if unknown type args were specified in java 7 (IDEA-97521) 2012-12-17 13:29:15 +01:00
anna 5aa6fe3572 check overriding in correct order (IDEA-97506) 2012-12-14 18:36:43 +01:00
anna d29e6b8b99 composition of extends/super wildcard reworked (IDEA-96721) 2012-12-14 18:36:42 +01:00
anna c484ce61f0 composition of extends/super wildcard should get just its bound (IDEA-96721) 2012-12-14 15:31:23 +01:00
anna 7cff72c988 no enclosing instance (IDEA-97063) 2012-12-13 21:20:05 +01:00
anna 788336e0ff do not treat diamonds in jdk 8 special (IDEA-97294) 2012-12-13 18:42:28 +01:00
anna b9669b6add isAssignable (IDEA-97276) 2012-12-12 15:59:15 +01:00
anna fabb9c6f92 change method signature from usage: fix reverse order presentation text (IDEA-97218) 2012-12-11 17:44:21 +01:00
Roman Shevchenko 36cc6d348a IDEA-97100 (annotation highlighting in default values) 2012-12-11 13:37:29 +01:00
anna 9b9be3f623 highlight this inside interface inner classes (IDEA-97032) 2012-12-10 12:56:07 +01:00
Roman Shevchenko 91c10b815e line separators normalized 2012-12-08 20:01:21 +01:00
peter bd4212a585 use the deepest super method for completion statistics 2012-12-07 16:17:12 +01:00
anna 592cc321af prefer extensions methods als interface (IDEA-96719) 2012-12-06 20:48:54 +01:00
peter 3b06fed9ca remove wrong test 2012-12-06 18:22:33 +01:00
peter f238ac5882 expected type considered less important a sorting criterion than statistics and prefix (IDEA-94884, IDEA-93198) 2012-12-06 18:22:33 +01:00
anna 7bf7cb9e6f when detect inaccessible classes in static context take into account NewExpression qualifiers 2012-12-06 11:01:29 +01:00
peter bf416e5f9a IDEA-96387 Code completion popup prefers unimported static method to local variable when appending to a string literal 2012-12-05 11:54:41 +01:00
Roman Shevchenko 79f65ee30c Java 8's old extension method syntax is error, not warning 2012-12-05 11:13:06 +01:00
anna 5112e8dce9 generate getters/setters: prefer less visibility corresponding to containing class (IDEA-95697) 2012-12-03 17:06:28 +01:00
Roman Shevchenko c0d2012934 IDEA-96228 (restrict annotation owner at lower language levels) 2012-11-30 20:19:26 +01:00
Roman Shevchenko 1c95e8a529 Duplicate test dropped 2012-11-30 20:19:26 +01:00
peter 8abbe6de3a IDEA-95528 Remove completion common prefix insertion in tests 2012-11-30 18:07:02 +01:00
anna 6fe44eee73 erasure wildcards when generate overriding
(cherry picked from commit 58ced7b4e6be23577a1427c93a7b9c58a4edb5f3)
2012-11-30 16:53:49 +01:00
anna 8d44b61a55 cast conversion java 7 (IDEA-96213) [Roma]
(cherry picked from commit d433089be2856a9c3ae05c10daeeb12736d13023)
2012-11-30 16:52:25 +01:00
peter ba09e196d3 [^romka] IDEA-96146 Cannot enter 'final' keyword in try-with-resources
(cherry-picked from acd831e)
2012-11-29 17:00:13 +01:00
peter 73ffd878be remove some common-prefix-based assertions in tests 2012-11-29 13:18:33 +01:00
anna 306c531544 SOE (IDEA-95955)
(cherry picked from commit d092c1363b3ae02dbfb4059f0c0cf28df575024c)
2012-11-29 11:53:09 +01:00
anna e5a6ce555d EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific
(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
2012-11-29 11:53:02 +01:00
Roman Shevchenko f2f3f4898c Fix test data 2012-11-23 23:35:51 +01:00
anna 0586625266 make method return: do not add return statement when control flow found a problem (IDEA-95738)
(cherry picked from commit b4e5b7d23c22f692da029a95d6718359fac577cc)
2012-11-23 21:14:46 +01:00
anna 9ec65aa657 disable change param type fix in case of overriding library method
(cherry picked from commit b00a060b18fc3de1f8e317b61a5fd87efdc8b565)
2012-11-23 21:13:48 +01:00
anna 6d2b2ced11 disable copy impls when interface extends; disable implement methods when methods with access problems exist (IDEA-93017)
(cherry picked from commit 3d50c0c08eaee71d14604ca9dfb0fcb2218c9b5c)
2012-11-23 21:13:43 +01:00
anna 10cecacf14 EA-41161 - CCE: JavaTreeGenerator.generateTreeFor: create from usage with method ref on the right
(cherry-picked from 04f7b76)
2012-11-23 21:13:39 +01:00
Roman Shevchenko f5546bc0c0 IDEA-94934 (test case for already fixed issue) 2012-11-23 20:53:34 +01:00
Roman Shevchenko fd09e4393d Cleanup 2012-11-21 15:47:24 +01:00
anna 73b6d506d2 EA-41114 - AIOOBE: StaticImportMethodFix.getExpectedType 2012-11-21 14:27:47 +01:00
Roman Shevchenko d2740963e7 IDEA-95437 (separate rethrow types/data flow analysis) 2012-11-21 13:41:15 +01:00
anna a5f940d5e4 method reference: proceed with class type when diamond static factory is used (IDEA-93099) 2012-11-21 12:20:29 +01:00
anna f0175340e7 change variable type should be suggested on calls [roma] 2012-11-19 21:25:00 +01:00