Commit Graph
1697 Commits
Author SHA1 Message Date
Anna Kozlova 943d901fff lambda: do not accept ? as type argument for return value (IDEA-91369) 2012-09-12 00:03:42 +04:00
Anna Kozlova 9ddff21a9c inline inside lambda body (IDEA-91371) 2012-09-12 00:03:41 +04:00
Anna Kozlova e8f211bdd9 extract method: detect used lambda params in selection (IDEA-91345) 2012-09-12 00:03:38 +04:00
peter 20f79a297e don't report constant conditions containing call chains 2012-09-11 20:54:29 +02:00
Roman Shevchenko 4cbe87de02 Highlight misplaced reference parameter lists 2012-09-11 19:31:55 +04:00
Anna Kozlova 1bdca6d4e5 create method from usage: do not qualify already qualified ref (IDEA-91041) 2012-09-11 17:34:00 +04:00
nik a34e75a3f9 IDEA-91309: All classes in the same package are marked as unresolved 2012-09-11 16:40:39 +04:00
Anna Kozlova d2ebef63e8 (int)Object cast conversion in java 1.7 supported (IDEA-90906; IDEA-66803) 2012-09-11 10:39:16 +04:00
peter 62b03bb715 include final field accessors into dfa (IDEA-89594) 2012-09-10 20:53:36 +02:00
peter 5cb12c39f1 IDEA-88766 Nullable: include final fields into data flow 2012-09-10 20:53:35 +02:00
Anna Kozlova a2cb71edfe detect duplicates: ignore returns from inner classes/lambdas (IDEA-91087) 2012-09-10 21:43:52 +04:00
Anna Kozlova 5315375de4 inplace rename: do not rename enum constants when constructor was renamed (IDEA-91063) 2012-09-10 21:43:51 +04:00
Anna Kozlova b2d6e4266f EA-38866 - AIOOBE: ParameterCanBeLocalInspection$ConvertParameterToLocalQuickFix.applyChanges 2012-09-10 18:47:49 +04:00
Anna Kozlova 64581b2d53 anonymous class can't have constructor (IDEA-91071) 2012-09-10 18:47:47 +04:00
peter b80416163d IDEA-91280 Infer not-nullity from numeric comparisons of values assigned based on that not-nullity 2012-09-10 15:57:27 +02:00
peter d13b70d875 IDEA-89964 Constant conditions & exceptions inspection is incorrect with instance checks in loops 2012-09-10 14:15:41 +02:00
Anna Kozlova b665d21263 anonym -> lambda: decode context correctly 2012-09-10 14:59:17 +04:00
Anna Kozlova 2c659ba2d9 redundant lambda code block: do not suggest for expressions with non-void type 2012-09-10 12:54:45 +04:00
Anna Kozlova 11a2faaf14 lambda: allow raw types when no inference was performed 2012-09-10 12:54:44 +04:00
Anna Kozlova 5a546b640c lambda: missed return statement error; do not use containing method return type for lambda inference 2012-09-10 12:54:43 +04:00
Anna Kozlova 447bc37818 lambda: remove redundant code block inspection accept void compatible lambda & nested blocks (IDEA-91184) 2012-09-07 22:29:45 +04:00
peter d0efe00076 IDEA-64875 "Constant conditions and exceptions" should eliminate false positives by analyzing static final constants 2012-09-07 19:08:42 +02:00
peter aba62f142b IDEA-89654 Incorrect control flow warning with @Nullable 2012-09-07 19:08:41 +02:00
peter 316e41c33b IDEA-90613 Invalid @Nullable processing 2012-09-07 19:08:41 +02:00
peter b0428ec975 IDEA-31555 Wrong warning: method invocation may produce a NullPointerException 2012-09-07 19:08:41 +02:00
nik f21e20fbf4 external compiler: added test for rename class changing case only 2012-09-07 17:07:08 +04:00
Anna Kozlova 51aa69e8da inline method to one line lambda: expand to code block when needed (IDEA-91126) 2012-09-06 21:06:52 +04:00
Anna Kozlova 9f014974eb inline field: reuse cast etc from inline variable refactoring (IDEA-91150) 2012-09-06 21:06:51 +04:00
Evgeny Gerashchenko 9b0d18c367 Added test for editing external annotation. 2012-09-06 20:46:03 +04:00
Evgeny Gerashchenko cfb2a511e9 Creating self-closing tag when annotation arguments list is not null, but empty. Added test. 2012-09-06 20:46:01 +04:00
Evgeny Gerashchenko 37ceccb1eb Fixed bug on deannotating: when annotation tag removed, parent is also removed if the latter has no children. Added test. 2012-09-06 20:46:00 +04:00
peter baecbfd6c8 IDEA-90606 Smart completion misses exception from try-with-resources 2012-09-06 17:36:30 +02:00
Anna Kozlova 2a91b03499 testdata for IDEA-90998 2012-09-06 19:17:34 +04:00
Anna Kozlova 614b14316b introduce variable from one line lambda transforms body to code block (IDEA-91122) 2012-09-06 19:17:11 +04:00
Anna Kozlova 262fcbafad extend lambda valid context: conditional expressions (IDEA-91140) 2012-09-06 19:10:16 +04:00
Anna Kozlova a8ea5d4deb introduce variable from one line lambda transforms body to code block (IDEA-91122) 2012-09-06 19:10:15 +04:00
Anna Kozlova 51e044a8f5 smart completion in lambda body: decision to insert semicolon based on lambda context and body type (IDEA-91083) 2012-09-06 14:59:46 +04:00
Anna Kozlova 1703f863b8 lambda: correct control flow for lambda body; additional test for IDEA-91076 2012-09-06 14:59:45 +04:00
Anna Kozlova a06512b331 lambda: skip lambda return statements during wrapping method return values (IDEA-91065) 2012-09-06 14:59:44 +04:00
Anna Kozlova 7a15a26cf2 lambda: correct control flow for lambda body (IDEA-91061) 2012-09-06 14:59:43 +04:00
Anna Kozlova 8d4ef8b54e lambda: do not suggest to replace anonymous with lambda when this/super exist in body (IDEA-91055) 2012-09-06 13:31:24 +04:00
Denis.Zhdanov cbd0fe4e8e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Test data is updated
2012-09-06 13:21:42 +04:00
Denis.Zhdanov e76b02dc4e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. Arrangement API provides 'dependent entries' concept now;
2. Java static and instance initialization blocks are defined to be 'dependent arrangement entries';
3. Corresponding tests are added;
4. Default java arrangement rules are expanded in order to preserve old 'generated class members order';
5. Test data is corrected;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov 4a4aa01505 IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. 'Constructor' entry type is defined and supported at java rearranger;
2. Test data fixes;
2012-09-06 13:21:41 +04:00
Anna Kozlova d474aa3f1c lambda: take into account substitution interface with method -> functional interface;
do not infer return type parameters when lambda parameter type was calculated, no substitution caching here (IDEA-90875)
2012-09-06 13:07:11 +04:00
Anna Kozlova f73177c04e lambda: correct message when lambda params are incompatible (IDEA-91016) 2012-09-04 21:05:05 +04:00
Anna Kozlova d83b1f12c7 lambda: skip conditional condition during inference from return value 2012-09-04 21:05:03 +04:00
Roman Shevchenko b579aab18b LoadProjectTest moved to CE 2012-09-04 19:46:56 +04:00
peter 2e722afde9 IDEA-90900 Complete statement works incorrectly in some simple cases 2012-09-04 16:39:54 +02:00
nik 163227c22f external compiler: test data simplified 2012-09-04 12:20:48 +04:00