Commit Graph

571 Commits

Author SHA1 Message Date
anna c97457bb07 testdata for IDEA-57650 2012-10-23 18:07:10 +02:00
anna 64ae8e711e testdata for IDEA-57667 2012-10-23 18:07:09 +02:00
anna 0f807e9219 check reference type as type argument for constructor params (IDEA-57668) 2012-10-23 18:07:09 +02:00
anna 0a00c340b2 testdata for IDEA-67599 2012-10-23 18:07:08 +02:00
anna c8f56fcb28 forbid type annotations on anonymous class creation with interface base class (IDEA-67598) 2012-10-23 18:07:07 +02:00
anna 0dfb29db51 red code green: warn about non inner classes used in super constructor call qualifiers (IDEA-57443) 2012-10-23 18:07:06 +02:00
anna b0db19229a testdata for IDEA-67667 2012-10-22 21:10:51 +02:00
anna ef61777e7f testdata for IDEA-67678 2012-10-22 21:10:51 +02:00
anna f75aa7d17b testdata for IDEA-67672 2012-10-22 21:10:50 +02:00
anna ec616c67da duplicate local class: accept local classes inside class initializers (IDEA-67797) 2012-10-22 21:10:49 +02:00
anna 41636949ad testdata for IDEA-67681 2012-10-22 21:10:49 +02:00
anna 3c796d7901 disable convert anonymous -> lambda when non qualified getClass is called 2012-10-22 17:10:44 +02:00
anna 665894b44b method refs: allow unchecked conversions in default constructors (IDEA-93346) 2012-10-22 17:10:41 +02:00
Roman Shevchenko 56a32c93a2 Fix false annotation highlighting 2012-10-20 11:22:05 +02:00
Roman Shevchenko 4279897e22 IDEA-93208 (highlight incorrectly placed annotations) 2012-10-19 22:41:40 +02:00
anna 47dd9e09cd good code red: array access expr type should be treated as variable type (IDEA-67675) 2012-10-19 18:44:41 +02:00
anna 9953d363a7 good code red: no enclosing instance found: qualified new in constructors should accept new expr (IDEA-93254) 2012-10-19 18:44:41 +02:00
anna 90c6a12e7f simplify boolean: xor (IDEA-92131) 2012-10-19 18:44:40 +02:00
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