Commit Graph

743 Commits

Author SHA1 Message Date
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
Anna Kozlova 196ed7600d prefer interface as super method when class extends unrelated class and interface (IDEA-99347) 2013-01-21 19:11:45 +04:00
Anna Kozlova 85cc736b86 unchecked warning (IDEA-99357) 2013-01-21 15:10:29 +04:00
Denis.Zhdanov f2d010031e IDEA-99028 Introduce casted variable intention breaks formatting 2013-01-21 14:25:15 +04:00
Roman Shevchenko 66b12164aa IDEA-74850 (incorrect numeric literals highlighting) 2013-01-17 21:57:21 +01:00
anna 4cbc38008a lambda: incompatible lambda parameters type check fixed according to wildcards (IDEA-99073) 2013-01-16 15:57:08 +01:00
anna 225296c67f treat Object[] (IDEA-99061) 2013-01-15 12:49:02 +01:00
anna 1cc7b6ee11 lambda: check unhandled exceptions for method references; disable surround with try/catch accordingly (IDEA-98966) 2013-01-14 16:51:11 +01:00
anna 8c431a908a default methods: check unrelated defaults (IDEA-91685;IDEA-98792) 2013-01-14 14:16:52 +01:00
anna 1ad6c2ed24 class shadowing (IDEA-98828) 2013-01-11 21:34:56 +01:00
anna c892ea7f32 java 8: resolve conflicts choosing more specific return type (IDEA-98845) 2013-01-11 18:55:34 +01:00
Roman Shevchenko 7f67356440 IDEA-97282 (disable pointless quickfixes) 2013-01-11 18:12:50 +01:00
anna 6f2878cdf7 java 8: intersection type casts (IDEA-98843) 2013-01-11 16:09:23 +01:00
anna 93a7d9f158 method conflicts: prefer method with more specific return type (IDEA-67570) 2013-01-08 13:44:08 +01:00
anna fe7244031a testdata for IDEA-57539 2013-01-08 11:27:09 +01:00
anna 5055466ac6 testdata for IDEA-67597 2013-01-07 19:12:47 +01:00
anna d1893766c4 type params: error for jdk < 1.7 (IDEA-67861) 2013-01-07 19:12:46 +01:00
anna 542009391b IDEA-67859 2013-01-07 19:12:45 +01:00
anna a7fb7f9f54 create enum: add implements list if needed (IDEA-93141) 2013-01-04 16:04:38 +01:00
anna 9a683bbc4a formatter: field groups alignment: correctly process range (IDEA-98368; IDEA-98367) 2013-01-03 19:41:16 +01:00