Commit Graph
54 Commits
Author SHA1 Message Date
Anna Kozlova f85e37b1c8 inline method: avoid another cases where invalidated this expr is used
EA-103338 - PIEAE: PsiUtilCore.ensureValid
2017-06-16 19:14:29 +03:00
Anna.Kozlova e30711cb87 inline constructor: allow inlining constructors with multiple statements in chained constructor calls (IDEA-168258) 2017-03-20 17:05:33 +01:00
Anna.Kozlova 9eccba4ef5 inline method to enum constant (IDEA-169658) 2017-03-15 14:21:33 +01:00
Anna.Kozlova 9574fa7a6e inline: don't check containing method call if inline to method reference 2017-03-14 14:17:14 +01:00
Anna.Kozlova 38cb2b8c29 assume that lambda on method references place won't require additional cast (IDEA-165335; IDEA-165039) 2016-12-20 19:31:40 +01:00
Anna.Kozlova bf60885576 inline chained constructor from library class 2016-10-20 19:04:25 +02:00
Anna.Kozlova 9849261dae inline constructor: avoid javadoc references
EA-89601 - UOE: InlineMethodProcessor$.inlineUsage
2016-10-11 12:19:48 +02:00
Anna Kozlova 1cbbf5614b testdata to ensure inline from library doesn't find library usages 2016-09-15 18:35:34 +03:00
Anna.Kozlova 4866aa1f89 inline method: avoid dbl substitution of return/param types 2016-08-12 11:06:57 +02:00
Anna.Kozlova 5fc02f38a4 inline method: don't repeat field initializer (IDEA-158832) 2016-07-21 19:03:45 +02:00
Anna Kozlova 7ae633eb9f inline method: allow to inline vars ar parameters for negative values (IDEA-154831) 2016-05-26 18:56:33 +03:00
Anna.Kozlova ccb2710190 inline method: preserve @Override deep in hierarchy 2016-04-27 15:16:57 +02:00
Anna.Kozlova 4f649256bc inline: check accessibility according to the file scope (IDEA-152181) 2016-04-27 15:16:57 +02:00
Anna.Kozlova 66248de9e4 inline: delete @Override annotations if super method was deleted during inline (IDEA-152175) 2016-04-27 11:10:23 +02:00
Anna.Kozlova 8822f1e267 inline method: don't ignore super expression conflict if containing class inherits target but the call is located inside static context (IDEA-152173) 2016-04-27 11:10:23 +02:00
Anna Kozlova d8ea1bc2fe inline method to method reference: convert to lambda (IDEA-148481) 2016-01-11 18:53:47 +01:00
Anna Kozlova d3c9ae35eb EA-65910 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText 2015-10-14 17:05:39 +02:00
Anna Kozlova 4afad1703c inline: ensure parenthesis around numeric sum used inside string concatenation (IDEA-145795) 2015-10-05 20:02:23 +02:00
Anna Kozlova d9403ffcb7 encode qualifiers in method refs (IDEA-145512) 2015-09-25 13:53:43 +03:00
Anna Kozlova 8356d38604 inline: use wildcard bound to avoid ? in top level type element (IDEA-144883) 2015-09-08 15:10:00 +03:00
Anna Kozlova 19aee02b2c invalid psi during inline 2015-07-09 12:04:36 +03:00
Yaroslav Lepenkin 6731485cb8 Reformat with context on postponed formatting: fixed java test data 2015-07-07 17:24:09 +03:00
Anna Kozlova 5cfd7bb681 inline method: missed braces (IDEA-133700) 2014-12-02 12:49:54 +01:00
Anna Kozlova df85632e9d preserve static imports if overloaded methods are still used (IDEA-128873) 2014-08-26 15:54:00 +04:00
Anna Kozlova b585c95984 inline method: check unique names for this variable in initial class scope (IDEA-127411) 2014-07-22 13:49:32 +02:00
Anna Kozlova f0f8dd1db2 variable incomplete code searcher should not find methods with the same name even if they are also unresolved; inline covered by RefactoringUtil.renameVariableReferences() (IDEA-126312) 2014-06-18 17:17:13 +02:00
Anna Kozlova 6bc99a3133 IDEA-122548 Exception while inlining method 2014-03-20 20:05:28 +01:00
anna be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna 5f0b7626de accept inline on method reference (IDEA-102845) 2013-03-11 14:53:33 +01:00
Max Medvedev dc2ce9522d IDEA-96839 Inline static method refactoring throws UnsupportedOperationException 2012-12-11 13:33:37 +04:00
anna f6e0f4bd7a inline: disable for multiline methods inlined in super/this constructor calls (IDEA-96962) 2012-12-10 12:56:06 +01: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 40006957a2 inline: replace type elements in order (IDEA-88882) 2012-07-16 20:11:15 +02:00
anna 41932a9527 inline: do not delete call but warn when resulted expr is not a valid statement (IDEA-88886) 2012-07-16 19:20:51 +02:00
Anna Kozlova 173cb1f7ca inline this() as method inside the constructor for non chained constructors (IDEA-87111) 2012-06-09 16:11:11 +04:00
Anna Kozlova 0b59d19a7c inline method/constant: warn when method is used in javadoc (IDEA-72562); add search in comments and strings/for text occurrences options 2012-06-05 18:09:49 +04:00
Anna Kozlova 255d12f79a inline method: decode before class declaration become invalid 2012-05-16 18:36:03 +04:00
anna d2bab883bd inline method: do not check for inaccessibility if referenced member would be also inlined (IDEA-78941 ) 2011-12-16 10:01:03 +01:00
anna 210a43b301 inline: enable inline from library sources (IDEA-63407 ) 2011-11-07 10:54:04 +01:00
anna eb800fd0ee inline method: do not insert unnecessary qualification (IDEA-70786 ) 2011-06-08 21:57:31 +04:00
anna e68c92c49f inline: substitute ellipsis type before array construction (IDEA-65897) 2011-02-27 18:20:25 +01:00
anna 13d5d02daa inline: insert sync on class object when static sync method is inlined (IDEA-65449) 2011-02-14 14:14:32 +01:00
anna 0654693bcf inline methods: delete static imports on method delete (IDEA-62126) 2010-12-22 22:25:20 +03:00
anna 9d736f9820 inline: tweak search scope for conflicts replacement 2010-07-16 13:28:30 +04:00
anna bfc75928b9 NPE: check raw substitution during inline 2010-06-16 12:43:29 +04:00
anna aa24f87a58 inline method: this qualifier in class hierarchy 2010-04-28 13:15:24 +04:00
anna 8d6c9d5fe0 inline method: do not conflict inline super expr inside inner class 2010-02-02 17:18:40 +03:00
Dmitry Jemerov 18440a6958 merge idea90 branch into trunk 2010-01-18 20:19:19 +03:00
anna eced11faaf inline varargs parameter in calls when method is inlined (IDEADEV-41353) 2010-01-14 14:28:47 +03:00
anna d7f916a812 AIOOBE 2009-12-23 13:31:38 +03:00