Commit Graph
3200 Commits
Author SHA1 Message Date
Anna Kozlova 9aa2f3aaac testdata: ensure correct parameters number in functional interface method 2014-04-22 20:02:42 +02:00
Anna Kozlova 1698f7bb29 testdata: ensure method ref qualified are checked over static problems 2014-04-22 20:02:41 +02:00
Anna Kozlova b49d8e753f testdata 2014-04-22 20:02:40 +02:00
Anna Kozlova f1f6fcf53b functional interfaces: ignore methods with type parameters during abstract method choosing 2014-04-22 20:02:38 +02:00
Anna Kozlova a55db18089 lambda: accept intersection type when exactly one conjunct is functional 2014-04-22 20:02:37 +02:00
Anna Kozlova 4a34bd569b do not report unrelated return type error only for generics methods 2014-04-22 20:02:36 +02:00
Anna Kozlova 76a9293609 testdata 2014-04-22 20:02:34 +02:00
Anna Kozlova 17b020f7c2 new overload resolution: covariant comparison of return types 2014-04-22 20:02:33 +02:00
Anna Kozlova 98ab76f060 new overload resolution: most specific check on invalid class exceptions fixed 2014-04-22 20:02:32 +02:00
Anna Kozlova 552dfe92a9 lambda: intersection type produces conjunction of abstract methods 2014-04-22 20:02:30 +02:00
Anna Kozlova bd9dbfc7d5 testdata 2014-04-22 20:02:29 +02:00
Anna Kozlova 9914757d15 warn about underscore identifier 2014-04-22 20:02:28 +02:00
peter 0bd06e5e39 More on comparison that is always false due to being out of type range on implicit type conversion (IDEA-124210) 2014-04-22 14:34:31 +02:00
peter 094f040cc5 IDEA-122362 'getClass()' should be suggested in smart completion if Class<? extends SomeAncestorOfCurrentClass> is expected 2014-04-21 22:21:20 +02:00
Andrey Starovoyt a43d7f8726 added new test for live postfix templates 2014-04-21 17:55:24 +04:00
peter 947d8ab9c5 missing test data 2014-04-19 21:06:58 +02:00
peter 3af306c66e IDEA-55556 Inspection suggestion: Comparison that is always false due to being out of type range on implicit type conversion 2014-04-18 22:37:32 +02:00
peter 996d0c6a63 IDEA-123782 "Complete current statement" doesn't put colon for case branches 2014-04-18 22:37:32 +02:00
peter 29fec2258a IDEA-123948 Constant condition and exceptions: false positive on MappedByteBuffer.getInt 2014-04-18 22:37:31 +02:00
peter 019a68bcc8 IDEA-123289 Infer nullability of 'for each' variable from type annotations of the collection parameter 2014-04-18 22:37:31 +02:00
peter c47713fe17 prefer T if Class<? extends T> is expected (IDEA-121339) 2014-04-18 22:37:29 +02:00
Andrey Starovoyt 5d908867e0 Add "try-with-resources" live postfix template 2014-04-17 17:57:50 +04:00
Alexander Zolotov 814a79afde Unify prefix calculation rules for live templates 2014-04-17 16:02:35 +04:00
Anna Kozlova 8cd1ee6344 remove assignment: fix for assignment nested in expression, not statement (IDEA-123903) 2014-04-16 21:23:47 +02:00
Anna Kozlova 1471847207 testdata for IDEA-79251 2014-04-16 21:23:46 +02:00
Anna Kozlova e512a2f07a EA-55951 - CCE: StreamApiMigrationInspection$ReplaceWithForeachCallFix.applyFix 2014-04-16 19:19:20 +02:00
Anna Kozlova e7b3efbf80 EA-55962 - CCE: DefUseInspection$RemoveInitializerFix.sideEffectAwareRemove 2014-04-16 19:19:19 +02:00
Anna Kozlova 199e9d8119 generate visibility setting for create from usage, generate getter/setter/constructor (IDEA-120662, IDEA-64613, IDEA-122025) 2014-04-16 16:42:09 +02:00
Anna Kozlova 9fda587640 extract variable: ensure replace all occurrences survive parenthesis around value (IDEA-122041) 2014-04-16 16:42:07 +02:00
Andrey Starovoyt fffcd492d5 Add "try" live postfix template 2014-04-16 14:45:35 +04:00
Anna Kozlova af9135166d try to pass self name as default value during create parameter from usage (IDEA-123780) 2014-04-16 10:30:59 +02:00
Rustam Vishnyakov 29f708cca7 EnterInStringLiteralHandler should use language-specific option for operation sign (fixes IDEA-114783), [CR-IC-5159] 2014-04-16 12:08:59 +04:00
Anna Kozlova 9d3b4638ce join declaration and assignment (IDEA-92226; IDEA-123689) 2014-04-14 21:38:56 +02:00
Anna Kozlova b708f2006e remove unused assignment: do not move the transformed statement up as it could change the semantic and is not evident (IDEA-123841) 2014-04-14 21:38:55 +02:00
Anna Kozlova f20f1bb8cf redundant cast: nested casts with outer primitive (IDEA-119857) 2014-04-14 18:51:29 +02:00
peter b5df84e66b IDEA-123850 incorrect "Condition is always false" warning in GemRequirementsChangeWatcher.updateAndAttach() 2014-04-12 16:38:17 +02:00
Anna Kozlova 1977e48c1a escalate visibility for moved class (IDEA-119683) 2014-04-11 22:21:16 +02:00
Eugene Zhuravlev 4935bbc9ee do not delete output files corresponding to non-existing sources, if these outputs are already associated with existing sources from other modules that have been already compiled (example: moving some class to a dependent module with the same output root) 2014-04-11 22:18:16 +04:00
Anna Kozlova d9fe7023db push down: interface constants in class should appear with public-static-final (IDEA-123758) 2014-04-11 18:52:46 +02:00
Anna Kozlova 0d66941866 IDEA-123839: abstract&default combination 2014-04-11 17:06:07 +02:00
Anna Kozlova 75f267c222 testdata for IDEA-123848 2014-04-11 17:06:06 +02:00
Anna Kozlova 5e4751f25f testdata for IDEA-123869 2014-04-11 17:06:05 +02:00
Anna Kozlova 36466df690 redundant type args: check also method reference qualifiers 2014-04-11 17:06:03 +02:00
Anna Kozlova d84cfe4661 method refs: do not loose information about type arguments given by ReferenceType in receiver 2014-04-11 17:06:02 +02:00
Anna Kozlova a3348c56cb lambda-> method ref: do not insert type args to reference type if they were inferred for lambda expression 2014-04-11 17:06:01 +02:00
Anna Kozlova 6f7f761be5 IDEA-123338 2014-04-10 15:27:38 +02:00
Anna Kozlova 52951cfbfe allow to replace strings with non-final static 'constants' (IDEA-119480) 2014-04-10 15:27:37 +02:00
Anna Kozlova 666adddc20 invert boolean: ensure to invert default boolean initializer (IDEA-123510) 2014-04-09 20:21:27 +02:00
Anna Kozlova 5a0fe4306e check access class for super expressions referenced to interfaces 2014-04-09 19:27:20 +02:00
Anna Kozlova 07600e5109 testdata for IDEA-123731 2014-04-09 19:27:17 +02:00