Commit Graph
1974 Commits
Author SHA1 Message Date
Anna Kozlova 9914757d15 warn about underscore identifier 2014-04-22 20:02:28 +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 996d0c6a63 IDEA-123782 "Complete current statement" doesn't put colon for case branches 2014-04-18 22:37:32 +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
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 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 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
Anna Kozlova 6d7cfc99c2 java 8: anonymous class fields could be available later in next lambdas (IDEA-123731) 2014-04-09 19:27:16 +02:00
Anna Kozlova 33f6d78833 testdata for IDEA-64103 2014-04-09 13:29:02 +02:00
Anna Kozlova e860377181 testdata for IDEA-123366 2014-04-09 13:29:01 +02:00
Anna Kozlova 6e4249e5e1 diamonds: wrong constructor selected (IDEA-123518) 2014-04-09 11:29:27 +02:00
Anna Kozlova 6fd18d16b3 unused parameter: do not highlight if method is used locally by method reference (IDEA-123265) 2014-04-08 18:28:27 +02:00
Anna Kozlova 2fa8491e90 IDEA-112552 "Replace with lambda" should use expression lambda when possible 2014-04-08 18:28:25 +02:00
Anna Kozlova c8bbd66850 anonym -> lambda, method ref: do not suggest replacement when default method is called out of functional interface context 2014-04-08 16:45:38 +02:00
Anna Kozlova d8ed05dbfa functional expressions: allow to delete/change signature of default methods of functional interfaces 2014-04-08 12:18:32 +02:00
Alexander Zolotov 2f3d180fbd IDEA-123355 Postfix template expansions .null/.notnull after 'else' fail to provide a valid Java output
allow JavaWithIfExpressionSurrounder just after else keywords
2014-04-07 19:05:34 +04:00
Anna Kozlova ec1d4927bd search for functional interface implementations by lambdas and method references: change signature/find usages; to be continued (IDEA-104286; IDEA-90824) 2014-04-07 16:59:16 +02:00
Alexander ZolotovandSergey Ignatov edb1f6b86f suppress postfix templates [r=ignatov] 2014-04-07 15:08:10 +04:00
Anna Kozlova fcd50614bb name suggestions for static non-final fields should escape _ (IDEA-123441) 2014-04-04 17:55:26 +02:00
Alexander Zolotov c3a806c92d EA-55600 2014-04-04 17:14:38 +04:00
Anna Kozlova 7bb8868ef2 smart completion of method references (IDEA-123293; IDEA-123291) 2014-04-03 17:15:57 +02:00
Anna Kozlova 1daf8f50df ambiguity (IDEA-123352) 2014-04-03 17:15:53 +02:00
Anna Kozlova edf024ca23 ensure assert inserted in correct place (IDEA-123296) 2014-04-02 20:54:10 +02:00
Anna Kozlova 565b28a089 check for assignment to final field inside lambda (IDEA-123308) 2014-04-02 20:54:08 +02:00
Anna Kozlova 9cfa60146c allow unchecked generics in comparing unrelated return types (IDEA-123316) 2014-04-02 13:52:33 +02:00
Anna Kozlova cbe0d6d860 create method from method reference (IDEA-112556) 2014-04-02 13:52:31 +02:00
Anna Kozlova 2cc9842ac2 method references: highlight separately non-instantiated classes, not resolved methods (IDEA-123279) 2014-04-02 10:51:27 +02:00
Anna Kozlova 06d6ad7180 static in interfaces before 1.8 (IDEA-123252) 2014-04-01 17:04:14 +02:00
Anna Kozlova 5bc8717dc9 EA-55507 - IOE: PsiJavaParserFacadeImpl.createStatementFromText 2014-04-01 14:17:07 +02:00