Commit Graph
11978 Commits
Author SHA1 Message Date
Anna Kozlova fcd84a0d35 add explicit type arguments intention (IDEA-173960) 2017-06-09 21:15:37 +03:00
peter 2e6cfa9223 don't generate setters for constants during completion (IDEA-CR-21764) 2017-06-09 18:16:19 +02:00
Anna Kozlova b18d182cc8 collect transitive dependant type parameters (IDEA-174194) 2017-06-09 18:33:06 +03:00
peter c7d35311b2 don't match yourkit thread name twice (IDEA-CR-21711) 2017-06-09 17:16:40 +02:00
Anna Kozlova 3e447142db suggest functional interfaces from use scope only (IDEA-174204) 2017-06-09 16:51:21 +03:00
Anna Kozlova d0fab7fd0b introduce functional variable: encode this (IDEA-174203) 2017-06-09 16:51:20 +03:00
Anna Kozlova 404fe68c03 introduce functional variable: allow comments (IDEA-174183) 2017-06-09 16:51:20 +03:00
peter 1a4a90e174 IDEA-173726 Generation completion suggests create setter for final field 2017-06-09 15:41:32 +02:00
Anna Kozlova e3aecbce9b extract functional: suggest incompatible SAM by throws list
when there is no applicable interfaces (IDEA-174045)
2017-06-09 12:28:27 +03:00
Anna Kozlova 23cc5b9cdb extract functional: better accessibility check 2017-06-09 12:28:26 +03:00
Anna Kozlova 9c1a494628 extract method: disable support of postfix/prefix exprs (IDEA-174182)
enable it for extract method object only
2017-06-09 12:28:26 +03:00
Alexey Kudravtsev 5297a83586 fixed annoying yellow code due to incorrect nullness 2017-06-09 10:49:12 +03:00
Pavel Dolgov a95807108c Java: Don't extract method where it's not safe because of nullable result (IDEA-167391) 2017-06-08 18:17:10 +03:00
peter 31ddfe6122 support yourkit 2017 thread dump format 2017-06-08 17:12:35 +02:00
Anna Kozlova cb2eaa99e1 extract functional: don't show error dialogs (IDEA-174180)
unable to perform in complex cases instead
2017-06-08 17:49:08 +03:00
Anna Kozlova 703283b008 extract functional: skip if element was invalidated (IDEA-174178)
when typed to the editor between dialog is closed and popup was shown
2017-06-08 17:49:07 +03:00
Anna Kozlova 5a5cfb7b2f extract functional: ensure reordering/renaming (IDEA-174173)
ensure data from dialog applied to non-physical processor before reordering according to it
2017-06-08 17:49:07 +03:00
Anna Kozlova 84747a178a suggest functional: ensure only exact types are suggested for primitives
SAM types with primitive parameters should be checked for exact matching, boxed types accept passing primitives
2017-06-08 17:49:07 +03:00
Anna Kozlova e78186d6ae support for arrays in template j.u.Objects.equals/hashCode (IDEA-162302) 2017-06-08 17:49:06 +03:00
Anna Kozlova 52e5edb007 don't check read-only status second time 2017-06-08 17:49:06 +03:00
Anna Kozlova e32734234d move instance method: resolve conflict local var/field in target class
IDEA-174017
2017-06-08 17:49:06 +03:00
Dmitry Batkovich a3bbe18b33 type migration: don't decompile code 2017-06-08 17:46:51 +03:00
Dmitry Batkovich 2066338d72 type migration: convert to atomic / convert to thread local should use refactoring instead of manual conversion 2017-06-08 17:03:20 +03:00
Roman Shevchenko dbd72db8ed [java] adds missing var initializer check (EA-99746) 2017-06-08 16:08:06 +03:00
Dmitry Batkovich 925d97acdb rename field 2017-06-08 14:46:43 +03:00
Tagir Valeev c0f0d3c636 IDEA-174151 'Replace with single Map method' suggests incorrect rewrites to computeIfAbsent
Option added (on by default) to disable warning if side effects are possible.
2017-06-08 17:41:44 +07:00
Tagir Valeev 0234c70fd6 OptionalIsPresentInspection: do not check nullity for consumer case 2017-06-08 16:42:28 +07:00
Tagir Valeev fb6965b6b9 ExtractSideEffectsFix -> DeleteSideEffectsAwareFix; i18n
Now intention availability logic is moved from HighlightUtil to DeleteSideEffectsAwareFix
Review: IDEA-CR-21623
2017-06-08 12:15:20 +07:00
Sergey Malenkov 6643c4a636 IDEA-173655 Poor text wrapping in the inspections Options 2017-06-07 22:42:48 +03:00
nik 6aab284c25 Project View: show special icon for content root of unloaded modules (IDEA-27471) 2017-06-07 19:31:29 +02:00
Anna Kozlova 3e7e52a4df inline to anonymous: convert to lambda when applicable (IDEA-173821) 2017-06-07 19:04:05 +03:00
Anna Kozlova 101ae53c3b introduce functional: convert to lambda when applicable (IDEA-174018) 2017-06-07 19:04:04 +03:00
Anna Kozlova d65ff6ad81 introduce functional: combine extract method & introduce
IDEA-174011; IDEA-174021
2017-06-07 19:04:04 +03:00
Anna Kozlova cb1e34fe92 suggest SAM with same primitive return type (IDEA-174020) 2017-06-07 19:04:04 +03:00
peter b8588d2006 prefer local variables over NULL_PSI_ELEMENT in smart completion 2017-06-07 13:35:28 +02:00
Alexey Kudravtsev 0f26f8f6e2 removed deprecated usages 2017-06-07 12:40:23 +03:00
Tagir Valeev 535c113dba IDEA-172877 Provide a quick-fix on 'Not a statement' error message 2017-06-07 15:27:49 +07:00
Anna Kozlova 07a086dace don't suggest inaccessible functional interfaces (IDEA-174008) 2017-06-06 19:07:58 +03:00
Anna Kozlova cf44af7c7d mnemonic (IDEA-174006) 2017-06-06 19:07:58 +03:00
Anna Kozlova 834ca5e9f3 AIOOBE (IDEA-174007) 2017-06-06 19:07:58 +03:00
Anna Kozlova 02c718aae8 replace assignment with comparison in condition exps (IDEA-173860) 2017-06-06 19:07:58 +03:00
Anna Kozlova 9710edbc0a add first test generated methods according to rearranger (IDEA-173880) 2017-06-06 19:07:57 +03:00
Anna Kozlova a19a52bf49 raw type to parameterized: warn about conflicts (IDEA-173770) 2017-06-06 14:54:07 +03:00
Anna Kozlova 6487bb6913 disable assign parameter to final field (IDEA-173815)
for constructors with chaining calls, for non-constructors
2017-06-06 14:54:06 +03:00
yarik d2aaf814aa [java formatter] ditched tab post format processor, since it is doing something inappropriate, has performance issues and we can happily live without it. 2017-06-06 13:29:37 +03:00
peter b61faedfd6 support @TypeQualifierNickname (IDEA-173544) 2017-06-05 19:20:02 +02:00
peter 03a663c63e IDEA-165006 Support chained completion for method references in Java 8+ 2017-06-05 19:20:02 +02:00
Anna Kozlova c578a4ede7 disable assign param to field (IDEA-173747; IDEA-173689)
inapplicable types or already assigned
2017-06-05 20:14:45 +03:00
Dmitry Batkovich fbd082f075 create switch intention: disable in for update IDEA-173690 2017-06-05 20:06:31 +03:00
Dmitry Batkovich 4f2dafb7ce create switch intention cleanup 2017-06-05 20:06:31 +03:00