Commit Graph
3041 Commits
Author SHA1 Message Date
anna ea55d12eb3 check erased types for method calls on raw exprs (IDEA-97952) 2012-12-27 20:14:17 +01:00
anna c66e1c07b8 inline: do not insert casts when inline conditional expression in statements (IDEA-97902) 2012-12-27 20:14:17 +01:00
anna c55a43df60 testdata fixed 2012-12-27 20:14:15 +01:00
peter 4a3f20d72f don't let null checks affect 'unchecked cast' analysis 2012-12-27 16:03:48 +01:00
peter dc22cda945 a test for IDEA-98211 "Constant conditions & exceptions": warning about possible ClassCastException is shown in one case, but one in another similar one 2012-12-27 16:03:47 +01:00
peter b8ce61f6d6 a hacky fix for IDEA-98228 Autocompletion for String does equalsIgnoreCase() instead of equals() 2012-12-27 13:30:38 +01:00
Dmitry Avdeev 3ad0e60b1e diagnostics for blinking test 2012-12-25 17:31:30 +04:00
peter 81863d6298 IDEA-98012 Code completion bug in HTML files 2012-12-24 18:51:19 +01:00
peter ecfddb515c IDEA-97738 Completion should respect enum parameters 2012-12-21 14:48:39 +01:00
peter c703d48c41 no String.valueOf suggestions, they're stupid 2012-12-21 14:48:39 +01:00
peter ed75ddc4f7 no instance method/field suggestions when completing inside annotation 2012-12-21 14:48:39 +01:00
peter c78962a332 remove superfluous test 2012-12-21 14:48:39 +01:00
peter 10221b9b7f IDEA-97144 Constant conditions & inspections: transient final variables can be null after deserialization 2012-12-20 18:30:45 +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 e9b67cad4c IDEA-97313 @Nullable inspection does not warn on dereferencing @Nullable variable declared in foreach loop 2012-12-19 19:36:33 +01:00
peter 4341bc7222 IDEA-96404 java type inference does not work in for-each template 2012-12-19 19:36:33 +01:00
peter d56903812b don't suggest null as the most preferable variant (IDEA-97739) 2012-12-19 17:19:44 +01:00
Denis.Zhdanov 57eef859be IDEA-97826 Java arrangement: Don't insert unnecessary line feeds for anonymous classes 2012-12-19 16:50:46 +04:00
Denis.Zhdanov cb279e7b3f IDEA-95410 Arrangement: Preserve fold regions on arrangement 2012-12-19 16:24:47 +04:00
anna 70ab126c8f testdata changed according to inference from type cast 2012-12-18 20:26:32 +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
peter ea73902b92 IDEA-97017 Constant condition and expression does not recognize previous statments in anonymous inner class 2012-12-18 18:25:30 +01:00
anna 6db335d5ad allow to infer expected type from cast expr (IDEA-97727) 2012-12-18 17:24:09 +01:00
anna d9fb83d631 lambda: accept raw functional interfaces when there are no params 2012-12-18 13:07:31 +01:00
anna 55ce55a20e method refs: rename in case of constructor refs fixed 2012-12-18 13:07:30 +01:00
anna 2ec5a213cf java api checker: support @since 1.7 2012-12-17 21:45:40 +01:00
anna 3afa9c526d extract method: add default modifier when extracted into interface (java 8 only) 2012-12-17 21:45:39 +01:00
anna 746ed966f9 extract method: do not suggest to replace duplicates if candidates intersects with extracted method 2012-12-17 21:45:38 +01:00
anna 762fce13c9 pull up: delete @Override annotation if it is inappropriate in new hierarchy (IDEA-97598) 2012-12-17 19:06:13 +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
Denis.Zhdanov 31863df0e5 IDEA-97680 Java arrangement: Respect 'dependent methods' for calls from anonymous classes 2012-12-17 19:16:19 +04: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
Dmitry Avdeev 8101e1cb69 debugging test 2012-12-17 15:45:04 +04:00
Alexey Kudravtsev fb14e965f4 encoding fixes: utf-32 support,
introduce two separate actions: Reload and Convert,
warn on incompatible encoding on convert,
UI more usable - new Project Encoding separate setting
IDEA-74801, IDEA-74873
2012-12-17 14:05:14 +04: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 b8c340ff6b inplace introduce: do not replace identifier with method expr even when ref names equals (IDEA-97536) 2012-12-14 15:31:22 +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 032a2a603a introduce field: choose anchor corresponding to used fields without initializer (IDEA-97420) 2012-12-13 15:50:07 +01:00
anna b9669b6add isAssignable (IDEA-97276) 2012-12-12 15:59:15 +01:00
Dmitry Avdeev 4e892bf8ab diagnostics 2012-12-12 18:21:34 +04:00
anna dea70f5fdd correctly check for super call in constructor (IDEA-97203) 2012-12-11 22:02:28 +01:00
Roman Shevchenko 20d8ea0085 Test-only methods moved to test framework 2012-12-11 19:35:32 +01:00