Commit Graph
10197 Commits
Author SHA1 Message Date
Anna.Kozlova 11f1b71835 inconsistent language level: avoid LocalQuickFix when QuickFix is expected (IDEA-156375) 2016-07-11 18:05:00 +02:00
Anna.Kozlova 750afb8497 return type fix: change type arguments of dependant type parameters only (IDEA-158361) 2016-07-11 18:05:00 +02:00
Anna.Kozlova 38cc186bc3 EA-85711 - E: BaseRefactoringProcessor.run 2016-07-08 20:11:47 +02:00
Anna Kozlova d4840b76ad show lambdas in File Structure (IDEA-151616; IDEA-157809; IDEA-151429) 2016-07-08 14:25:05 +02:00
Anna Kozlova b88d3c2d5a end template in tests as normal; if template was canceled - don't perform onSuccess method setup (IDEA-157973) 2016-07-08 10:50:23 +02:00
Anna Kozlova 185b889f35 inline class to anonymous: generate final modifier according to setting for java 8 (IDEA-157802) 2016-07-08 10:46:34 +02:00
Anna Kozlova 9b6d1abf3d don't select first history item if text is empty (IDEA-156938) 2016-07-08 10:46:34 +02:00
Konstantin Bulenkov cd8cf62a19 cleanup. Convert empty arrays to constants (new T[0] -> T.EMPTY) 2016-07-07 22:52:00 +02:00
Roman Shevchenko 65ecef075b Cleanup (ASM library name) 2016-07-07 12:00:36 +02:00
Roman Shevchenko bbed9b3f2d [java] for modular JDK, uses per-module class roots instead of a single one 2016-07-06 17:45:06 +02:00
Dmitry Batkovich 01366c7f83 type migration: do not allow start "void" variable migration 2016-07-06 18:25:39 +03:00
Dmitry Batkovich c400fa39ce unused declaration inspection: improve CommentOut quick fix if parent element is not suspicious IDEA-157566 2016-07-06 18:25:39 +03:00
Gregory.Shrago 6cb4ad5f77 make breadcrumbs shorter: strip lambda & anonymous 2016-07-06 03:18:41 +03:00
peter d749ceff70 avoid IncompleteHierarchyException instantiation 2016-07-05 22:09:53 +02:00
peter d42b29725e stub hierarchy: replace qualified name interning with hashing 2016-07-05 22:09:53 +02:00
peter b908d5f2c2 stub hierarchy: process imports without destructuring qualified names, remove memory structures needed for now unused destructuring 2016-07-05 22:09:52 +02:00
peter 5ed4364149 avoid qualified name destructuring during stub hierarchy resolve in src file data 2016-07-05 19:26:12 +02:00
peter 9747035c79 single-pass stub hierarchy package name reading 2016-07-05 19:26:12 +02:00
peter 88944e57ef no staticness distinction in stub hierarchy 2016-07-05 19:26:11 +02:00
peter a468c68314 build stub hierarchy: print the number of classes with ambiguous supers 2016-07-05 19:26:11 +02:00
Roman Shevchenko 4e5bdf0b85 Cleanup (warnings; minor optimization) 2016-07-05 17:03:33 +02:00
peter 8fc91c6503 minor stub hierarchy clarification 2016-07-05 15:10:02 +02:00
peter da07daf5ce stub hierarchy: use less memory when reading from index 2016-07-05 08:58:07 +02:00
peter 8aed1499c7 stub hierarchy: reindex when stubs change; mark as such some cases when we can't reliably resolve supers 2016-07-04 19:37:30 +02:00
peter a95a5c1afe "test stub hierarchy" action should find non-indexed classes in files reported as 'covered' 2016-07-04 19:37:30 +02:00
Pavel Dolgov 65a5b0e437 Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" - handle comments and take care of empty block when copying the loop body (IDEA-124751) 2016-07-04 14:37:31 +03:00
peter af05034f6e a more compact storage for stub hierarchy names 2016-07-04 10:39:25 +02:00
Anna Kozlova 87701e3acf fix default getter template for boolean fields with meaningful starting 'is' (IDEA-148006) 2016-07-01 20:20:29 +03:00
Roman Shevchenko a227adbc69 [java] diagnostics for missing JRT FS provider (EA-84606) 2016-07-01 19:37:06 +03:00
Dmitry Batkovich 577ace5bb2 AddMethodQualifierFix prevent IOOBE in getText() 2016-07-01 19:01:31 +03:00
Pavel Dolgov d50a5c7a07 Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" (IDEA-124751) 2016-07-01 16:12:36 +03:00
Pavel Dolgov 57b55ceeb6 Java inspection: Removed AddOverrideAnnotationAction, because MissingOverrideAnnotationInspection does the same thing (and a bit more). Enable MissingOverrideAnnotationInspection by default at INFORMATION level. (IDEA-157727) 2016-07-01 16:10:11 +03:00
Roman Shevchenko 7c2cb465cd [java] navigation around decompiled code
Fixes IDEA-157772; reduces the number of cases where PsiCompiledFile check is necessary.
2016-07-01 15:43:42 +03:00
Yaroslav Lepenkin 24e5406327 [formatter] moved from java-impl to core, extra ranges calculation now works for every language 2016-07-01 11:19:55 +03:00
Anna Kozlova b98f40b336 change signature: restore explicit check for used parameters 2016-07-01 11:04:51 +03:00
Anna Kozlova a2ae47010d temp disable conflict check to fix tests 2016-07-01 10:43:15 +03:00
Anna Kozlova fe7045debb change signature: conflict if deleted parameter is used in method body, excluding javadoc (IDEA-157603) 2016-06-30 21:02:38 +03:00
Anna Kozlova 4b1ff8c516 change signature: add warning if new signature duplicates method in overrider (IDEA-157659) 2016-06-30 21:02:38 +03:00
Anna Kozlova 41998a977e change signature: show conflicts if delegated method has same erasure as initial one (IDEA-157672) 2016-06-30 21:02:38 +03:00
Yaroslav Lepenkin 166464a38f [formatter] moved registry flag upper on call stack, do not create AdjustFormattingRangesState if it is disabled. 2016-06-30 19:03:14 +03:00
Yaroslav Lepenkin de0f67efc6 [java-formatter] minor, extracted class, added test 2016-06-30 19:03:13 +03:00
Yaroslav Lepenkin 3a3b594676 [java-formatter] extra ranges calculation generified 2016-06-30 19:03:12 +03:00
Yaroslav Lepenkin ef970b3a9b [java-formatter] reformat added while added block 2016-06-30 19:03:11 +03:00
Yaroslav Lepenkin c7cb87ea90 [formatter] let's provide us info about newly added lines 2016-06-30 19:03:10 +03:00
Yaroslav Lepenkin 6bfdf0d617 [java-formatter] initial extra range calculation to reformat whole if/for blocks 2016-06-30 19:03:08 +03:00
Dmitry Batkovich 338ceb712c java inspections: empty method inspection should not show "add annotation" quick-fix when was invoked in run inspection by name action IDEA-156450 2016-06-30 17:43:59 +03:00
Roman Shevchenko d41f234c43 Merge remote-tracking branch 'origin/master' 2016-06-30 15:18:24 +03:00
Roman Shevchenko 9559f7f371 [java] avoids setting a package name for module-info files 2016-06-30 15:16:07 +03:00
Anna Kozlova c3db4448ff javadoc: simplify build relative to containing class path 2016-06-30 13:28:49 +03:00
Dmitry Batkovich f460c5ef00 Merge remote-tracking branch 'origin/master' 2016-06-30 10:44:04 +03:00