Commit Graph
9397 Commits
Author SHA1 Message Date
Roman Shevchenko 1abffecba5 Cleanup (warnings, formatting) 2017-03-24 13:18:59 +01:00
peter 13905e40af make performance ResolveClassTest non-I/O-bound 2017-03-23 21:03:44 +01:00
Dmitry Batkovich 5eaa204d2a add a test for read-only indices (check storages read-only property) 2017-03-23 22:53:29 +03:00
Dmitry Batkovich bbb9f3e478 add a test for read-only indices (check storages read-only property) 2017-03-23 22:50:37 +03:00
Anna.Kozlova 98bca913aa run tests from selection in the editor; tests for configuration from editor text (IDEA-156237) 2017-03-23 16:44:29 +01:00
Anna.Kozlova ca035634d1 warn if generics vararg method is called with 50+ poly args (IDEA-169240) 2017-03-23 15:49:44 +01:00
peter a4822b754b increase daemon reactivity when highlighting large java files 2017-03-23 15:29:10 +01:00
peter ffd34c0097 warm up before measuring performance in ResolveClassTest 2017-03-23 14:28:47 +01:00
Tagir Valeev 3d216927b7 DataFlowInspection: do not report some common compile-time flag checks 2017-03-23 11:34:35 +07:00
peter 60942f6c6d cleanup some jdks added in tests 2017-03-22 17:29:58 +01:00
Pavel Dolgov 7c3a2057df Java: Implemented completion of field types and method signatures in calls to findConstructor(), findVirtual(), findVarHandle(), etc (IDEA-167319) 2017-03-22 14:44:26 +03:00
Tagir Valeev d9702d7d8d ExtractSetFromComparisonChainAction: i18n, java9 test, disable in Java 1.4 or lower (as varargs and generics aren't available there) 2017-03-22 18:30:28 +07:00
Tagir Valeev b0c584a295 IDEA-170033 Support raw-types when converting Iterable.forEach to loop 2017-03-22 16:51:46 +07:00
Tagir Valeev 836c498178 IDEA-168201 Intention to extract a set from "foo".equals(xyz) || "bar".equals(xyz) 2017-03-22 16:35:33 +07:00
peter 9eb4cb6861 UpdateCacheTest: on failure, don't bring down other tests 2017-03-21 21:37:01 +01:00
Anna.Kozlova 4184796590 support .class guard (IDEA-169707) 2017-03-21 17:21:27 +01:00
peter 7702812305 remove accidentally added unused testdata (IDEA-CR-19526) 2017-03-21 16:48:26 +01:00
Pavel Dolgov 815aeb4583 Java: Updated test data for "MethodHandle/VarHandle type mismatch" (IDEA-167318, IDEA-CR-19455) 2017-03-21 18:01:51 +03:00
Pavel Dolgov 4d60277ee6 Java: Implemented sorting the candidates pop-up and added icons in that pup-up for "MethodHandle/VarHandle type mismatch" (IDEA-167318), refactored upon review feedback (IDEA-CR-19455) 2017-03-21 14:37:01 +03:00
Anna.Kozlova 278d43dc00 enable static import quick fix on "method expected" error (IDEA-169966) 2017-03-21 12:18:45 +01:00
Anna.Kozlova e75f2f7860 make message closer to javac error (IDEA-169865) 2017-03-21 12:18:45 +01:00
Roman Shevchenko 03cecfb302 [java] skips package accessibility checks for comment refs (IDEA-169450) 2017-03-21 11:21:44 +01:00
Tagir Valeev f764692965 StreamToLoopInspection refactoring: strings replaced with actual PsiType's (as they are valid now); removed unnecessary code due to all PsiExpressions are also valid 2017-03-21 14:21:29 +07:00
peter d243d61455 IDEA-167834 Prioritize down classes from "exclude imports" in the "Go to class" list 2017-03-20 18:25:50 +01:00
peter ea75860ac8 IDEA-169520 Flow annotations visible in Collections interface methods 2017-03-20 17:09:05 +01:00
Anna.Kozlova 0a889aa880 distinguish usageInfos corresponding to one poly reference
static import on overload method should be updated when all overloads are renamed simultaneously (IDEA-142445)
2017-03-20 17:05:33 +01: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
peter b4f3d9d54e fix DataFlowInspectionTest 2017-03-20 16:42:50 +01:00
peter e3163230b0 add a registry option for Find in Path to drill into excluded dirs (IDEA-169299) 2017-03-20 16:06:03 +01:00
peter 09d6f71387 IDEA-169780 Show parameter types in implement/override popup 2017-03-20 13:32:19 +01:00
peter 2ef1a4bffb a test for how dfa treats static final string comparison (IDEA-169892) 2017-03-20 13:32:19 +01:00
peter 6271698a64 IDEA-169818 Completion for first argument of Map.getOrDefault should be same as for Map.get 2017-03-20 13:32:19 +01:00
Anna.Kozlova c482c21b29 create from usage: ensure type parameters are extracted from wildcards (IDEA-169857) 2017-03-20 11:45:14 +01:00
Dmitry Batkovich a9d1a227ad add javadoc intention: do not handle type parameter as comment owner IDEA-169732 2017-03-20 12:41:05 +03:00
Tagir Valeev efdfa0a22c IDEA-169518 Convert "Move assignment to field declaration" to the inspection 2017-03-20 16:26:40 +07:00
Roman Shevchenko 89ea31f0a5 [java] for service implementations, checks a provider first (IDEA-169447) 2017-03-17 19:18:00 +01:00
Anna.Kozlova 0fd7aad733 java tests: remember containing class from context (IDEA-169824) 2017-03-17 18:20:24 +01:00
Roman Shevchenko 3cea281350 Cleanup (warnings, formatting) 2017-03-17 17:55:12 +01:00
Roman Shevchenko c9f8178f2e [java] highlights package conflicts in Java modular projects (IDEA-169255) 2017-03-17 17:52:57 +01:00
Anna.Kozlova 2159d803f8 add javac quirks case for object-primitive comparison (IDEA-168944) 2017-03-17 16:42:50 +01:00
Pavel Dolgov 7b7e87d44d Java: Minor refactoring in completion assistance for Var/Method Handle - reuse utility methods, move shared methods and constants to utility class (IDEA-167319) 2017-03-17 16:03:38 +03:00
Pavel Dolgov d81332e1f8 Java: Improved inspection "MethodHandle/VarHandle type mismatch" - show candidates for replacement of method/constructor in a separate pop-up menu (IDEA-167318) 2017-03-17 15:15:45 +03:00
Dmitry Batrak 508a48a50d IDEA-169556 Join Lines inserts redundant space in some cases - fix test data for affected tests 2017-03-17 13:15:20 +03:00
Alexey Kudravtsev b346fc5e2e IDEA-169269 "Analyze dataflow to here" should process only implementations of current class when analyzing return values for a method call in instance method 2017-03-17 12:07:05 +03:00
Anna.Kozlova cd431e9763 completion for inherited after new: find corresponding type parameter when target type passes to another parameter (IDEA-157803) 2017-03-17 09:39:29 +01:00
Tagir Valeev 1b533c8f4d Improved optional.get/orElseThrow handling: now it's a special contract 2017-03-17 12:24:05 +07:00
Anna.Kozlova 9a3f46076c ensure redundant on demund imports are not created when shorten class refs would find a conflict with class in same package/implicitly imported package (IDEA-169190) 2017-03-16 15:03:15 +01:00
Dmitry Batrak 4ae6919940 IDEA-169556 Join Lines inserts redundant space in some cases 2017-03-16 15:26:23 +03:00
Alexey Kudravtsev f4c7ebb67f notnull 2017-03-16 15:10:06 +03:00
Alexey Kudravtsev ee62f51f3e IDEA-169542 'Analyze Dataflow to Here' misses assignment to variables passed to anonymous classes 2017-03-16 14:57:24 +03:00