Roman Shevchenko
5b431473dd
[java] inlines a pair of superfluous base inspection classes
2017-10-04 19:00:57 +02:00
Dmitry Batkovich
0c19a4c695
inspection view: allow specify container element for every inspection for given language (IDEA-179773)
2017-09-29 13:49:39 +03:00
Daniil Ovchinnikov
58d193ad7f
[jvm-lang] port createVoidMethodIfFixPossible
2017-09-25 15:16:15 +02:00
Tagir Valeev
dede7b30f7
IDEA-113585 Cast to Type quick fix creates code that doesn't help
2017-09-19 16:10:34 +07:00
Daniil Ovchinnikov
0f0a38f50e
[jvm-lang] provide target substitutor via field request
2017-09-18 14:40:19 +02:00
Daniil Ovchinnikov
192fbb2e74
[jvm-lang] update docs in CreateFieldRequest
2017-09-12 17:45:05 +02:00
Daniil Ovchinnikov
8e5371cd83
[jvm-lang] use ExpectedType in CreateFieldRequest
2017-09-12 16:51:58 +02:00
Daniil Ovchinnikov
6eed3ff528
[jvm-lang] add ExpectedType, use it in CreateMethodRequest
2017-09-12 16:21:38 +02:00
Daniil Ovchinnikov
9bc4c75cee
[jvm-lang] provide target substitutor via method request
2017-09-12 15:18:20 +02:00
Anna Kozlova
26b406cb41
redundant throws: move collecting unthrown exceptions to annotator
...
this should make running inspections without redundant throws much faster as method bodies won't be checked for thrown exceptions
2017-09-11 12:57:31 +03:00
Daniil Ovchinnikov
51395418c1
[jvm-lang] port JavaFX event handler reference fixes
2017-09-07 17:25:49 +03:00
Daniil Ovchinnikov
9b6dda8886
[jvm-lang] add ability to define method annotations
2017-09-07 17:25:48 +03:00
Daniil Ovchinnikov
9e797ba058
[jvm-lang] use interlanguage Create Method actions in Java
...
Available via 'ide.interlanguage.fixes' registry key.
- Generate Create Method requests
- Collect actions from factories
- Register actions
2017-09-06 21:24:12 +03:00
Daniil Ovchinnikov
f3ab2aa326
[jvm-lang] method rendering API
2017-09-06 21:24:12 +03:00
Daniil Ovchinnikov
a4b3f31ebe
[jvm-lang] extract check if new actions are enabled
2017-08-31 15:41:14 +03:00
Nicolay Mitropolsky
acd767dc24
JvmElementActionsFactory UAST-fallback repaired
2017-08-30 17:20:28 +03:00
Daniil Ovchinnikov
ecf65d0924
[jvm-lang] add documentation for CreateFieldRequest
2017-08-28 14:40:26 +03:00
Daniil Ovchinnikov
dc1d54803f
[jvm-lang] use interlanguage Create Field actions in Java
...
Available via 'ide.interlanguage.fixes' registry key.
- Generate Create Field requests
- Collect actions from factories
- Register actions
As for now all actions become directly availably via alt+Enter.
2017-08-28 13:33:37 +03:00
Daniil Ovchinnikov
931f706bf4
[jvm-lang] add method and request for interlanguage field rendering
2017-08-28 13:33:37 +03:00
Daniil Ovchinnikov
5b6288b839
mark whole com.intellij.lang.jvm.actions package as @Experimental
2017-08-28 13:33:37 +03:00
Daniil Ovchinnikov
176be0e190
make JvmElementActionsFactory a regular EP instead of a language EP
2017-08-28 13:33:36 +03:00
Tagir Valeev
661388f0c2
WrapWithAdapterMethodCallFix replaces individual cases
...
WrapArrayToArraysAsListFix, WrapLongWithMathToIntExactFix, WrapStringWithFileFix are united into WrapWithAdapterMethodCallFix. Also Paths.get(), Collections.singleton(), Collections.singletonList(), Arrays.stream() wrappers added
Fixes IDEA-175129 Suggest to wrap a value with `Collections.singleton*()`
2017-08-25 14:33:41 +07:00
Nicolay Mitropolsky
9e4153f60f
JvmCommonIntentionActionsFactory switched to com.intellij.lang.jvm.* api and renamed to JvmElementActionsFactory
...
old `JvmCommonIntentionActionsFactory` reverted to "UAST"-state and deprecated
2017-08-03 16:59:04 +03:00
Nicolay Mitropolsky
cfeb6c005e
JvmCommonIntentionActionsFactory switched from UAST to @JvmCommon-annotated API
2017-07-05 19:37:23 +03:00
Roman Shevchenko
ab1017799a
Cleanup (replaces a tuple with a data class; formatting)
2017-07-04 11:16:38 +02:00
Roman Shevchenko
6384ced243
[java] overloads in Java module system (IDEA-CR-22413)
2017-07-03 15:26:22 +02:00
Pavel Dolgov
67058ae907
Java: Support Jigsaw modules in calculation of class usages and visibility - added inspection setting for exported packages (IDEA-169200, IDEA-169204)
2017-06-30 13:24:19 +03:00
Roman Shevchenko
a5116c75cc
[java] module accessibility check at resolve (IDEA-168880)
2017-06-28 21:19:02 +02:00
Anna Kozlova
352770463f
navigation to already defined variable (IDEA-162316)
2017-06-28 16:10:43 +02:00
Anna Kozlova
0314bd07e8
qualify unresolved refs with static accessor fixes (IDEA-168929)
2017-06-27 13:20:39 +03:00
Pavel Dolgov
d6120dd6a2
Java: Support Jigsaw modules in calculation of class usages and visibility (IDEA-169200, IDEA-169204)
2017-06-27 12:36:11 +03: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
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
02c718aae8
replace assignment with comparison in condition exps (IDEA-173860)
2017-06-06 19:07:58 +03:00
Nicolay Mitropolsky
00e6afd5e3
JvmCommonIntentionActionsFactory api refactoring
2017-05-31 12:11:46 +03:00
Nicolay Mitropolsky
9f87720a50
KT-11980 JvmCommonIntentionActionsFactory now has a createAddCallableMemberActions method to create constructors and methods
2017-05-29 14:12:38 +03:00
Nicolay Mitropolsky
ae29b7b081
KT-11906 `JvmCommonIntentionActionsFactory#createAddBeanPropertyActions' support
2017-05-22 13:20:31 +03:00
Anna Kozlova
987caaf26d
provide this(); fix when constructor requires super call (IDEA-151335)
2017-05-18 10:50:55 +03:00
Alexey Kudravtsev
4a4626c750
removed default file header, because it adds no information but subtracts attention and space
2017-05-12 14:02:24 +03:00
Nicolay Mitropolsky
a38fcecefe
IDEA-85507: JavaCommonIntentionActionsFactory#createAddMethodAction implementation
2017-05-09 10:16:23 +02:00
Nicolay Mitropolsky
d1123d14fc
JvmCommonCodeModifications renamed to JvmCommonIntentionActionsFactory
2017-05-02 17:04:37 +03:00
Nicolay Mitropolsky
77a5d567be
JvmCommonCodeModifications EP as registry for language-abstracted modifications for creating language-independent quickfixes + ImplicitSubclassInspection uses it
2017-05-02 13:17:23 +03:00
Anna.Kozlova
c0b06a8f2a
java 8: access static method through instance variable: don't show warning, error is enough; add quick fix for an error same as for inspection
2017-04-07 18:20:18 +02:00
Dmitry Jemerov
1cdfe7aa92
Enable registering inspections for a MetaLanguage
2017-04-06 17:03:38 +02:00
Dmitry Jemerov
b2f5993e47
Support creating smart pointers to UAST elements
2017-04-06 15:19:42 +02:00
Dmitry Jemerov
546374f073
Implement base class for UAST-based inspections
2017-04-06 15:19:42 +02:00
Dmitry Jemerov
d135f3fc82
Register UAST services and extensions
2017-04-06 15:19:42 +02:00
Roman Shevchenko
79ed40d10c
[java] adds comment tracking to 'delete element' intention/quick fix
2017-02-17 15:53:26 +01:00
Roman Shevchenko
ab3b33e067
[java] support for new module-info syntax and .class file format
2017-02-15 20:39:15 +01:00
Dmitry Batkovich
aa67d1e6e2
suggest wrap string expression with java.io.File when it's expected IDEA-167566
2017-02-09 12:19:11 +03:00