Commit Graph
762 Commits
Author SHA1 Message Date
anna a684c033a1 lambda: replace raw inference from lambda with Object when it doesn't matter (IDEA-101788) 2013-02-25 14:12:42 +01:00
anna 25220f5f46 method refs: accept generic methods in functional interfaces testdata 2013-02-21 20:21:50 +01:00
anna 985efd2362 more specific method should be chosen before static access is checked (IDEA-101480) 2013-02-21 15:23:11 +01:00
anna e869310a92 ambiguous method call: choose one method if both are from the same hierarchy as the actual problem is there (IDEA-101529) 2013-02-21 15:23:10 +01:00
anna 5c8e94689b update anchor to skip whitespaces (IDEA-93459) 2013-02-21 11:38:11 +01:00
anna 6edc546e65 lambda: void compatibility guess 2013-02-20 21:30:51 +01:00
anna a82225975a lambda/method refs: check functional interface accessibility 2013-02-20 20:41:07 +01:00
anna 9634bb390e lambda: stop inference from lambda if return type retrieval leads to second lambda inference; do not cache types during this calculation 2013-02-20 20:41:06 +01:00
anna def5e21e6a lambda: restore void-compatibility checks 2013-02-20 20:41:05 +01:00
anna 35c349430a graph inference: infer from non-eq type bound 2013-02-20 18:09:44 +01:00
anna 65eba117da graph inference: do not infer diamonds based on graph inference 2013-02-20 16:33:51 +01:00
anna 6ef43fb5d9 check erased types for first param applicability if method substitutor is raw 2013-02-20 14:26:28 +01:00
anna 533ca9ace4 SAM: skip allowed static methods as they are not supposed to be overridden (IDEA-101403) 2013-02-19 12:54:36 +01:00
anna ec1fcb263f lambda: inference from formal params fixed (IDEA-101176) 2013-02-18 18:15:18 +01:00
anna dbd2a5db98 EA-44003 - SOE: PsiResolveHelperImpl.inferBySubtypingConstraint 2013-02-18 18:15:17 +01:00
anna 43e079d97d skip inference from parent for diamond's search for constructor (IDEA-101166) 2013-02-18 11:31:58 +01:00
anna 99a14543f2 new inference: subtyping constraint (IDEA-101166) 2013-02-15 21:40:30 +01:00
anna 1bc365756b fix method hierarchy with default methods: mark method to implement if it abstract and overrides default method (IDEA-101167) 2013-02-15 18:36:24 +01:00
anna 52338427d5 inference from conditions (IDEA-101161) 2013-02-15 16:28:14 +01:00
anna e120d0af1f do not check within bounds for super wildcards 2013-02-15 16:28:13 +01:00
anna 3b4e3818e6 lambda: correct inference for vararg place > params.len (IDEA-101169) 2013-02-15 14:00:03 +01:00
anna 38ce821958 method ref: accept non parameterized receivers (IDEA-101168) 2013-02-15 14:00:02 +01:00
anna 3de6d80c2e create constant from usage: set static/final before insert field in order to get correct anchor (IDEA-100867) 2013-02-14 21:15:36 +01:00
Roman Shevchenko 6910c2e3ab Test fixed 2013-02-14 20:15:42 +01:00
anna 7e6e59724e lambda: clear caches after usage; more testdata 2013-02-13 15:57:24 +01:00
anna ac0f65d247 graph inference for the first arg 2013-02-13 12:20:33 +01:00
anna b0a04ac5d2 lambda: preserve partial substitutor data during substitute 2013-02-12 17:42:24 +01:00
anna c4eaec6655 method refs: take into account super class substitutor 2013-02-12 17:42:22 +01:00
anna cc9724c489 graph inference: conditional expressions then/else branches inference based on context (IDEA-100453) 2013-02-11 17:32:01 +01:00
anna b2ffa6a8d1 testdata for IDEA-100441 2013-02-11 17:32:00 +01:00
anna a9c4a9c5ab java 8 initial graph inference: allow to infer type information from siblings and parent calls 2013-02-08 11:34:25 +01:00
anna f9565522cb split tests according to expected language level 2013-02-08 11:34:24 +01:00
Anna Kozlova 5a288c4f7d testdata for IDEA-86875 2013-02-06 16:03:09 +04:00
Anna Kozlova 89109d4348 method refs: process local classes (IDEA-100452) 2013-02-05 13:09:37 +04:00
Anna Kozlova 68f7ee96f7 java8: static method with body is allowed in interface (IDEA-100334) 2013-02-04 14:07:09 +04:00
Anna Kozlova e8c454f426 lambda -> method ref: insert cast when resulted ref is ambiguous (IDEA-100385) 2013-02-04 14:07:08 +04:00
Anna Kozlova c4be7cc14a ambiguous method call: prefer non raw types (IDEA-100314) 2013-02-04 14:07:07 +04:00
peter 8a3b6547f6 IDEA-99725 "Constant conditions & exceptions" inspection produces invalid code 2013-02-03 22:42:55 +01:00
Roman Shevchenko 28f69425fc Class/package clash test updated 2013-02-01 21:56:24 +04:00
Roman Shevchenko 7521c51616 Name case conflict fixed, sorry 2013-02-01 21:43:45 +04:00
Roman Shevchenko 4c1093bfa1 Class/package clash check fixed for case-insensitive FS 2013-02-01 21:35:11 +04:00
Roman Shevchenko 24e17b7bc2 Resolve to packages obscured by inaccessible class 2013-01-30 16:59:54 +04:00
Anna Kozlova 23d936db66 method refs: attempt to use parent to infer constructor type (IDEA-98846) 2013-01-30 15:51:30 +04:00
Roman Shevchenko b744be6a12 Class/package name clashes highlighting 2013-01-29 18:26:07 +04:00
Roman Shevchenko 1da520f9f0 IDEA-98936 (classes in default (unnamed) package cannot be referenced from other packages) 2013-01-29 18:26:06 +04:00
Anna Kozlova d2435840b2 allow refs to constants from inner classes in explicit constructor invocation: http://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.8.7.1 (IDEA-99980) 2013-01-29 14:43:29 +04:00
Anna Kozlova 42d2b33230 lambda: choose more specific by return type fix (IDEA-99969); check cyclic inference when not on raw 2013-01-29 14:43:26 +04:00
Anna Kozlova f1c1c6ee42 support @FunctionalInterface 2013-01-28 16:21:22 +04:00
Anna Kozlova 857c23caf2 method refs: wildcards treatment (IDEA-99828) 2013-01-28 14:00:10 +04:00
Anna Kozlova a0d654aba8 IDEA-99536 2013-01-23 17:26:28 +04:00