Commit Graph
2082 Commits
Author SHA1 Message Date
anna 9a683bbc4a formatter: field groups alignment: correctly process range (IDEA-98368; IDEA-98367) 2013-01-03 19:41:16 +01:00
anna ac671ea0a2 fix testdata to collapse diamonds 2013-01-03 16:50:40 +01:00
anna 8d97155040 erasure: use before subst for type param bound (IDEA-98092) 2013-01-03 16:04:53 +01:00
anna 1e9a4087e6 parenthesis processing (IDEA-98421) 2013-01-03 13:15:42 +01:00
Roman Shevchenko b4eebdd684 IDEA-98421 (parse super call type arguments) 2013-01-02 21:19:14 +01:00
Anna Kozlova 7228521cd1 extract method: insert cast when duplicate with changed type processed (IDEA-98396) 2013-01-02 12:45:05 +01:00
Anna Kozlova 782320dcd0 highlight enum constant name when its body should contain some implementation (IDEA-98411) 2013-01-02 11:41:23 +01:00
anna e47dc7accb extract method object: do not make static when already static (IDEA-98290) 2012-12-31 13:58:17 +01:00
anna 320f89f28c change signature: fix param name hides field (IDEA-98123) 2012-12-31 11:32:58 +01:00
anna 7646fda820 wording: don't suggest to make enum constant abstract (IDEA-98165) 2012-12-28 18:33:13 +01:00
anna 4f7a6d0de0 method return type fix: when changing class params take into account super substitutor (IDEA-98145) 2012-12-28 18:33:12 +01:00
peter f141942a3d IDEA-98283 Wrong code completion within annotations 2012-12-28 17:57:44 +01:00
anna dbfd42dd63 infer nullity: treat instanceof as null check (IDEA-98153) 2012-12-28 15:32:08 +01:00
anna 299e587bc4 create from usage: do not suggest to create static methods in interfaces (IDEA-98147) 2012-12-28 15:32:08 +01:00
anna e8d6602585 disable override method from abstract class intention for static methods (IDEA-98006) 2012-12-28 15:32:07 +01:00
Roman Shevchenko 409a465045 Syntactically correct enum stubs 2012-12-28 13:05:40 +01:00
anna 2fe641dad6 insert cast/local variable from instanceof: check if written expression equals operand in instanceof before replacement (IDEA-97941) 2012-12-27 22:22:49 +01:00
Roman Shevchenko 54c399949e Include resource closer exceptions in control flow 2012-12-27 22:04:36 +01:00
anna e33fb35daa ambiguity: prefer non arrays (IDEA-97983) 2012-12-27 20:14:18 +01:00
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
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
peter ecfddb515c IDEA-97738 Completion should respect enum parameters 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
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 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
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
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