Commit Graph
184 Commits
Author SHA1 Message Date
Anna.Kozlova 81e49151ff don't insert braces around single lambda parameter 2016-12-06 12:35:48 +01:00
peter cf4ac26b5d correct read-only file handling in more java intentions 2016-11-29 13:31:06 +01:00
Tagir Valeev 67c4dfb483 Moved TypeUtils#getMethodReturnType -> PsiTypesUtil; used in LambdaUtil#getFunctionalInterfaceType amd PsiTypesUtil#getExpectedTypeByParent (IDEA-CR-15590) 2016-11-11 10:23:15 +07:00
Tagir Valeev 4465e4420b TypeUtils#getMethodReturnType extracted 2016-11-10 11:48:45 +07:00
Dmitry Batkovich 0f30ce7977 migrate to matchers inspection: fix for migration of "assertFalse(collection.contains(item));" statement (IDEA-163310) 2016-11-07 16:51:18 +03:00
Dmitry Batkovich 66402ebb25 type migration: cleanup (warnings) 2016-10-17 21:54:50 +03:00
Dmitry Batkovich cd0f6ddb9d GuavaInspection cleanup 2016-10-17 20:55:31 +03:00
Dmitry Batkovich 8b124b0acd GuavaInspection cleanup (resolve yellow code) 2016-10-17 20:52:48 +03:00
Dmitry Batkovich ab70f86102 remove redundant getName-s for QuickFix inheritors (update) 2016-09-28 21:05:21 +03:00
Dmitry Batkovich 4d8ba2542a atomic type migration: handle properly statement-chains like "int i = 0; int j = i + 1;" 2016-09-27 17:14:27 +03:00
Dmitry Batkovich 12d01ec025 type migration to atomic: fix test data to satisfy new more clear migration 2016-09-23 19:53:37 +03:00
Dmitry Batkovich 23731ae9ad java convert to atomic intention: assignment conversion fix IDEA-161639 2016-09-23 15:22:26 +03:00
Dmitry Avdeev 419af8ce27 typo 2016-09-15 16:47:36 +03:00
Dmitry Batkovich fd4d971933 ConvertAtomicToLongAdderIntention check element is valid 2016-09-14 18:40:21 +03:00
Dmitry Batkovich bcffe61fbc type migration: migration to void: delete returns more accurately IDEA-159957 2016-08-30 18:18:15 +03:00
Daniil Ovchinnikov abf97d8790 cleanup: remove unnecessary 'public' 2016-08-30 14:13:33 +03:00
Dmitry Batkovich a0dcb10ff9 guava inspection: migrate Optional.fromNullable chains (IDEA-160227) 2016-08-26 15:54:25 +03:00
Dmitry Batkovich eb9caf6180 guava inspection: conversion for FluentIterable.last (IDEA-160221) 2016-08-26 09:28:56 +03:00
Dmitry Batkovich df2061219c guava inspection: add "toMultiset" to stop methods 2016-08-24 17:28:07 +03:00
Dmitry Batkovich 81729cef47 type migration: use side effect checker in type migration to void 2016-08-16 10:44:01 +03:00
Dmitry Batkovich 63e73c1fe8 type migration: to void: remove unused variables in simple cases IDEA-158196 2016-08-16 10:08:35 +03:00
Anna.Kozlova 78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Dmitry Batkovich 6af0c778f6 MigrateAssertToMatcherAssert inspection: swap actual and expected parameters to preserve proper order + fix for statically imported assertion method IDEA-159137 2016-08-05 13:32:11 +03:00
Vladimir Krivosheev ece03bb140 guava 19 2016-07-27 14:09:52 +02:00
Alexey Kudravtsev db48c64473 use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests 2016-07-20 15:47:18 +03:00
Dmitry Batkovich 9732e343e7 guava type migration: convert function variable that defined as method reference IDEA-152415 2016-07-15 14:56:02 +03:00
Dmitry Batkovich 7eaa505a9e type migration: multiple variable declaration in single statement migration IDEA-154937 2016-07-15 14:22:44 +03:00
Dmitry Batkovich ea503d7fb7 diagnostic 2016-07-14 11:26:23 +03:00
Dmitry Batkovich f9626d8657 type migration: produce more compilable code on method return type migration to void IDEA-158196 2016-07-07 13:47:51 +03:00
Anna Kozlova 153255f9d2 anonymous -> lambda: enable casts again (IDEA-157960) 2016-06-29 16:18:27 +03:00
Dmitry Batkovich efdee7ddde guava type migration: add parenthesises while FluentIterable.from conversion IDEA-157851 2016-06-29 14:38:28 +03:00
Anna Kozlova a37b66ec49 typo 2016-06-20 14:02:29 +03:00
Dmitry Batkovich 83f58b492f guava type migration: problem descriptor class cast fixed EA-83023 2016-05-30 17:52:04 +03:00
Anna.Kozlova 43673ee4bd block lambda -> expr lambda 2016-05-24 12:27:58 +02:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Alexey Kudravtsev 89e6460446 removed redundant methods in tests 2016-05-16 15:04:01 +03:00
Dmitry Batkovich bbd50dacc2 guava inspection: negate isEmpty method conversion IDEA-154952 2016-05-05 12:21:29 +03:00
Anna.Kozlova f52458abdf restrict anonym -> lambda: reject if return type would be changed (IDEA-154805) 2016-04-29 14:41:28 +02:00
Anna.Kozlova ee4f41b14c don't open captures on type computation (IDEA-154968) 2016-04-20 17:49:29 +02:00
Anna.Kozlova 9f746bed33 EA-81353 - assert: PsiManagerImpl.fireEvent 2016-04-12 16:34:07 +02:00
Dmitry Batkovich 0790362737 guava type migration: convert anonymous Function-s with runtime retention policy annotations to anonymous classes except @javax.annotations.Nullable (can be configured in settings) 2016-03-22 14:46:28 +03:00
Dmitry Batkovich cd3c941c91 guava type migration: do not create large string in QuickFix#getText() IDEA-153032 2016-03-22 10:11:34 +03:00
peter 1c8ea0e6f1 ChangeClassParametersIntention.java: start write action explicitly inside a template listener (EA-80311 - assert: DocumentImpl.replaceString) 2016-03-16 18:20:07 +01:00
Anna Kozlova 315a410767 redundant write action 2016-03-10 10:10:47 +01:00
Dmitry Batkovich 735b883fd9 guava type migration: add type cast to method reference IDEA-152409 2016-03-03 13:09:38 +03:00
Dmitry Batkovich 583d623c3c guava type migration: availability of Optional-chain conversion IDEA-151874 2016-03-03 11:50:51 +03:00
Dmitry Batkovich e44d9f7a91 guava type migration: use predefined wide scope to search for roots IDEA-152193 2016-03-03 11:43:51 +03:00
Alexey Kudravtsev 1d1025401f execute tests outside write action by default 2016-02-12 15:18:39 +03:00
Dmitry Batkovich af11a27380 type migration: migrate field in case of migration to super type (IDEA-69760) 2016-02-03 13:47:02 +03:00
Anna Kozlova d8ea1bc2fe inline method to method reference: convert to lambda (IDEA-148481) 2016-01-11 18:53:47 +01:00