Commit Graph

553 Commits

Author SHA1 Message Date
anna a444dcfa01 good code red:do not override calculated subst with raw (IDEA-67680) 2012-10-19 12:29:54 +02:00
anna a40a08d1d9 good code red: leave empty subst when processing type params supers (IDEA-67680) 2012-10-18 21:40:03 +02:00
anna fd9d1764e2 good code red: allow containing this before super call (IDEA-67756) 2012-10-18 21:40:03 +02:00
anna 78c8fe106b static override: search method in superclass by method signature from derived (IDEA-93043) 2012-10-17 15:49:58 +02:00
anna 24a2d19043 add constructor params: collect new names to prevent conflicts (IDEA-92902) 2012-10-15 18:06:30 +02:00
anna e775459321 lambda: nested lambda return statements exclusion 2012-10-15 16:20:57 +02:00
anna 5c798946df java7 cast conventions 2012-10-15 16:20:56 +02:00
anna 1c0933b830 search for method references during constructor search (IDEA-92804) 2012-10-15 16:20:55 +02:00
Anna Kozlova 23120f5c8a continue inference after raw type detected; report raw after all args were processed with raw result only (IDEA-92273) 2012-10-13 15:31:50 +02:00
Anna Kozlova 289ee1d04c lambda: do not override already inferred types from parent (IDEA-92733) 2012-10-12 17:31:16 +02:00
Anna Kozlova beb2c4df54 method refs: do not warn about type args over raw types, non parameterized methods (IDEA-92851) 2012-10-12 14:56:44 +02:00
Anna Kozlova 074c756386 method refs: shorten class names in qualifiers supported (IDEA-92724) 2012-10-12 11:30:21 +02:00
anna d598293eb9 method refs: propagate substitutor from method reference resolve to upper level inference (IDEA-91988) 2012-10-11 18:32:48 +02:00
anna fedfbcaa85 method refs/lambda: types assignability (IDEA-92786) 2012-10-11 18:32:48 +02:00
anna 56036f1542 method refs: default constructors check (IDEA-92777) 2012-10-11 18:32:47 +02:00
anna a927ecf5d1 method refs: check constructor refs qualifiers (IDEA-92722) 2012-10-10 17:19:43 +02:00
anna 0706510a1e method refs: correct static flag detection in case of default constructors (IDEA-92735) 2012-10-10 17:19:42 +02:00
anna 635ebe4e27 method refs: varargs in receiver position supported (IDEA-92711) 2012-10-10 15:10:43 +02:00
anna b929c5ad2f wildcards in receiver type supported (IDEA-92699) 2012-10-10 15:10:42 +02:00
Roman Shevchenko b13e8b0d7a Move try-with-resources data flow test to right place 2012-10-10 13:03:57 +02:00
anna fced71498b anonymous can be method reference inspection 2012-10-09 20:28:07 +02:00
anna 2e599091fd methods refs: check if default constructor is acceptable 2012-10-09 20:28:06 +02:00
anna 573abd10e3 varargs (IDEA-92641) 2012-10-09 17:54:33 +02:00
anna 0fbf5f2464 lambda can be converted to method reference inspection 2012-10-09 17:54:32 +02:00
anna f65e347410 method refs: accept default constructors refs for SAMs with void return type 2012-10-09 12:31:40 +02:00
anna 8f11a9d3fa method refs: varargs in referenced method processed (IDEA-92598) 2012-10-08 19:22:00 +02:00
anna ada232f63e ignore static imports for method references (IDEA-92590) 2012-10-08 19:21:59 +02:00
anna 9488b020db method refs: infer from functional interface return types 2012-10-05 10:39:24 +02:00
anna 4eeaeb4f2f method refs: resolve default constructor 2012-10-05 10:39:23 +02:00
anna 43ddd9311a method refs: do not cache results during parent conflict resolving 2012-10-05 10:39:22 +02:00
anna 93245d3611 method refs: accept instance inner classes from instance methods 2012-10-04 17:21:05 +02:00
anna 77590cf807 isReifiable should not check outer class type params for static inners 2012-10-04 17:21:05 +02:00
anna 0b4a8e2873 method refs: check access problems (II) 2012-10-04 17:21:04 +02:00
anna 9f5d27f863 method refs: check access problems 2012-10-04 17:21:02 +02:00
anna 120111d01b method refs: check cyclic inference for method refs 2012-10-04 17:21:01 +02:00
anna a1bcdbf97b method refs: testdata 2012-10-02 21:15:30 +02:00
anna cf0e5a1051 method refs: check more specific by return type; check used method in test via unused symbol inspection 2012-10-02 21:15:29 +02:00
anna 55c8b4db6c method refs: testdata 2012-10-02 21:15:28 +02:00
anna ff500e1468 method refs: choose more specific return type when checking more specific functional interface 2012-10-02 21:15:27 +02:00
anna 65983d0060 method refs: accept qualified receivers when called over raw type 2012-10-02 21:15:27 +02:00
anna 0e8ade2f40 method refs: allow reference parameters before method name 2012-10-02 21:15:26 +02:00
Roman Shevchenko 8377cdda86 IDEA-92335 (DFA in resource variable initializer) 2012-10-02 19:54:43 +02:00
anna 9c796a4342 method refs: filter more specific 2012-10-02 18:00:45 +02:00
anna 340ebdccdb method ambiguity: compare ellipsis assignability with Object... only 2012-10-02 18:00:44 +02:00
anna b043a24ebf method refs: when no acceptable methods found force conflicts to be empty; raw refs corrected; check for static should be performed over inner class in case of constructors 2012-10-02 18:00:43 +02:00
anna bd1f035718 method refs: ambiguity with method refs inside 2012-10-01 20:52:39 +02:00
anna b3029c4f46 method refs: inner classes from hierarchy availability 2012-10-01 20:52:38 +02:00
anna 61ce8c8f12 method refs: inner classes constructors 2012-10-01 15:04:24 +02:00
anna b7ca327ee3 method refs: testdata; varargs 2012-10-01 10:19:56 +02:00
anna 96482dd326 method refs: testdata 2012-10-01 10:19:55 +02:00