Commit Graph
2217 Commits
Author SHA1 Message Date
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
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
anna dea70f5fdd correctly check for super call in constructor (IDEA-97203) 2012-12-11 22:02:28 +01:00
anna fabb9c6f92 change method signature from usage: fix reverse order presentation text (IDEA-97218) 2012-12-11 17:44:21 +01:00
anna 7a870adca7 extract method: adjust params to be final in case of local classes (IDEA-97253) 2012-12-11 17:44:20 +01:00
anna 6391d81307 restore new expressions correctly (IDEA-97001) 2012-12-11 16:14:17 +01:00
Roman Shevchenko 36cc6d348a IDEA-97100 (annotation highlighting in default values) 2012-12-11 13:37:29 +01:00
Max Medvedev dc2ce9522d IDEA-96839 Inline static method refactoring throws UnsupportedOperationException 2012-12-11 13:33:37 +04:00
anna 9b9be3f623 highlight this inside interface inner classes (IDEA-97032) 2012-12-10 12:56:07 +01:00
anna f6e0f4bd7a inline: disable for multiline methods inlined in super/this constructor calls (IDEA-96962) 2012-12-10 12:56:06 +01:00
Roman Shevchenko 91c10b815e line separators normalized 2012-12-08 20:01:21 +01:00
peter bd4212a585 use the deepest super method for completion statistics 2012-12-07 16:17:12 +01:00
anna 592cc321af prefer extensions methods als interface (IDEA-96719) 2012-12-06 20:48:54 +01:00
peter 3b06fed9ca remove wrong test 2012-12-06 18:22:33 +01:00
peter f238ac5882 expected type considered less important a sorting criterion than statistics and prefix (IDEA-94884, IDEA-93198) 2012-12-06 18:22:33 +01:00