Commit Graph
10177 Commits
Author SHA1 Message Date
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
Anna Kozlova 32890f5693 start progress if search for local variable could be long due to initialization, etc (IDEA-157730) 2016-06-29 21:37:15 +03:00
Roman Shevchenko ebb84bbd3d [java] non-mandatory import list 2016-06-29 21:02:18 +03:00
peter 3df4c75d57 less allocations during stub hierarchy resolve 2016-06-29 19:35:15 +02:00
Dmitry Batkovich 99f9ab2426 Merge remote-tracking branch 'origin/master' 2016-06-29 16:27:16 +03:00
Anna Kozlova 2d142cdfd7 discard converting from string to primitive during extract refactorings (IDEA-157549; IDEA-157987) 2016-06-29 16:18:27 +03:00
peter 0870d8dcad stub hierarchy: search for compiled elements, even if invoked from library source 2016-06-29 15:07:22 +02:00
Dmitry Batkovich fad2baf39b add method qualifier fix: npe fixed EA-84642 2016-06-29 15:40:14 +03:00
Gregory.Shrago 286d3788cf update to cglib-3.2.4-nodep and drop ancient asm.jar 2016-06-28 22:43:48 +03:00
Daniil Ovchinnikov ec94c66cc9 [javadoc] ability to provide delegate to copy javadoc from 2016-06-28 15:43:50 +03:00
Pavel Dolgov c3bd56a80c Java inspection: convert the intention for "Make Type Generic" into an INFORMATION-level inspection (IDEA-157727) 2016-06-28 15:13:49 +03:00
Anna Kozlova 5dc271c3a2 unused inspection settings: allow to configure visibility for members to check 2016-06-28 13:15:07 +03:00
Dmitry Batrak c5859f8f77 revert original fix for IDEA-152628
performing IO in background thread while holding read lock sometimes leads to EDT freeze (when there's a pending write action)
2016-06-28 10:44:56 +03:00
Pavel Dolgov 10c335b44e Java inspection: In "Join Declaration and Assignment" intention action warn about side effects of the initializer being removed (IDEA-157727) 2016-06-27 15:37:13 +03:00
peter c4b79ff4df artificially split stub hierarchy index keys to reduce memory usage during index queries 2016-06-27 10:31:31 +02:00
peter 44fd03bf32 more compact class anchor storage in stub hierarchy 2016-06-27 10:31:31 +02:00
peter 141aec46d7 stub hierarchy: allocate less intermediate objects during reading 2016-06-27 10:31:30 +02:00
peter d5c21fffb4 avoid accidental boxing during stub hierarchy creation 2016-06-25 14:03:06 +02:00
peter bbadd9d7df stub hierarchy: use less memory for storing nested classes 2016-06-25 14:03:05 +02:00
peter 602e2e08f7 stub hierarchy: store supers in a more compact form 2016-06-25 14:03:04 +02:00
peter d30e4bceda stub hierarchy: mark binary classes also incomplete when unable to resolve their supers 2016-06-25 14:03:04 +02:00