Commit Graph
4764 Commits
Author SHA1 Message Date
Anna Kozlova f72e4f5a7c testdata for IDEA-124148 2014-04-23 16:33:49 +02:00
Anna Kozlova 1c431a8076 create meth reference from usage: substitute param types (IDEA-124322) 2014-04-23 16:33:48 +02:00
Anna Kozlova c160fc5adf copy to temp/array for non-effectively final variables used in lambda expressions 2014-04-23 16:33:47 +02:00
Anna Kozlova 54ced00cb4 highlight all pairs of methods with same erasures (IDEA-124116) 2014-04-23 16:33:43 +02:00
Alexey Kudravtsev 3a294e97b0 removed unused component methods 2014-04-23 12:48:38 +04:00
Anna Kozlova 2b8e2e885a add unchecked warning calls also for method references 2014-04-22 20:02:55 +02:00
Anna Kozlova 57e886f7a4 testdata: check that method ref on static interface method is accepted 2014-04-22 20:02:54 +02:00
Anna Kozlova 8bad8079f6 lambda: do not skip generic method when non-generic method exist in the same class 2014-04-22 20:02:52 +02:00
Anna Kozlova 7d74b9dcf1 NPE 2014-04-22 20:02:51 +02:00
Anna Kozlova 0da9f91eec testdata: ensure overload resolution prefer correct one from methods with boxed types 2014-04-22 20:02:49 +02:00
Anna Kozlova 2c49817e26 NPE 2014-04-22 20:02:48 +02:00
Anna Kozlova d5107d652f testdata: ensure intersection type is not missed during inference 2014-04-22 20:02:47 +02:00
Anna Kozlova 7898108ccd testdata: ensure lambda can't be inferred from type parameter 2014-04-22 20:02:45 +02:00
Anna Kozlova 5b91054564 testdata: ensure overload resolution by return type should not take place for interrupted control flow 2014-04-22 20:02:44 +02:00
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
peter 1a34573547 IDEA-120139 Autopopup doesn't popup sometimes after completion 2014-04-21 22:21:19 +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 3c769acbae goto popup calculations should be cancellable even after Ctrl+Space (IDEA-123714 ?) 2014-04-18 22:37:33 +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 0fd86dea1f IDEA-122946 final modifier not inserted when completing a sequence of parameters from an inner method
IDEA-123493 Smart completion makes completed variable final
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 dc2f64aa97 use superclass for inner class variable name suggestion (IDEA-122109) 2014-04-18 22:37:30 +02:00
peter c47713fe17 prefer T if Class<? extends T> is expected (IDEA-121339) 2014-04-18 22:37:29 +02:00
Alexey Kudravtsev 1274dbae64 removed confusing createTempPath() 2014-04-18 12:25:57 +04:00
Sergey Ignatov a32e2eb8b3 code style 2014-04-17 18:59:15 +04: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