Commit Graph
6579 Commits
Author SHA1 Message Date
Roman Shevchenko 1d2b570e16 [java] drops unneeded annotation shuffling (IDEA-156150) 2016-07-22 10:46:39 +02:00
Alexander Zolotov ac8bfaab3b Implement concat template macro (IDEA-158886) 2016-07-21 21:45:06 +03:00
Anna.Kozlova 035b6d9d1f lambda return type inconsistency: highlight all found errors (IDEA-158853) 2016-07-21 19:03:45 +02:00
Anna.Kozlova 5fc02f38a4 inline method: don't repeat field initializer (IDEA-158832) 2016-07-21 19:03:45 +02:00
Alexey Utkin 7b236d522b IDEA-158863 Semantic highlighting for Java-doc 2016-07-21 19:50:07 +03:00
Roman Shevchenko 124285ee2a [java] missing annotations on method return types 2016-07-21 16:41:11 +02:00
Roman Shevchenko c16b666549 Cleanup (warning) 2016-07-21 16:10:35 +02:00
Anna.Kozlova d8def3334c exceptions declared by try with resources should collect all close methods from the resource class and choose exceptions in the intersection (IDEA-158762) 2016-07-21 13:47:22 +02:00
Roman Shevchenko 26bcbb6e8c Cleanup (annotations) 2016-07-21 13:39:10 +02:00
peter 1c451db9ad a test that lambdas in constructor calls are found 2016-07-21 12:16:42 +02:00
peter 0a4f995460 find lambdas passed into vararg methods 2016-07-21 12:16:41 +02:00
Alexey Kudravtsev 57fa83a4c0 use mock jdk 8 by default in InspectionTestCase 2016-07-21 12:40:49 +03:00
Alexey Kudravtsev c3ae02d5e0 removed redundant overrides 2016-07-21 12:40:49 +03:00
Alexey Kudravtsev 5e9fcb88fb test fixed 2016-07-21 12:40:49 +03:00
Bas Leijdekkers e1d4d1acc4 test profile for merged throwable not thrown inspections 2016-07-21 00:02:20 +02:00
Anna.Kozlova ad86a5171d introduce variable: suggest upper bound of captured wildcard 2016-07-20 20:42:49 +02:00
Alexey Utkin d62aee954c CPP-778 Semantic per-variable highlighting (new approach for small set of rainbow colors) 2016-07-20 20:05:19 +03:00
Anna.Kozlova b649b3a511 pull up from anonymous: check for base class type instead of extends list 2016-07-20 18:23:02 +02:00
Anna.Kozlova 5170b5d3ea introduce constant: don't traverse inside class or lambda to check unhandled throwables; check for calls to instance methods though 2016-07-20 18:23:02 +02:00
Pavel Dolgov b525e80a87 Java inspection: Returned back RemoveRedundantElseAction intention, because it turns out it's useful in some cases (IDEA-157727) 2016-07-20 18:50:32 +03:00
Dmitry Batkovich 4bf9dd514b ConvertEqualsMethodToStaticIntention merged with EqualsReplaceableByObjectsCallInspection to become a informational level inspection IDEA-157727 2016-07-20 17:54:12 +03:00
Yaroslav Lepenkin ab0db9b789 [java-formatter] chained method calls - align on enter press by dot 2016-07-20 17:46:58 +03:00
Alexey Kudravtsev db48c64473 use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests 2016-07-20 15:47:18 +03:00
Pavel Dolgov 3773948686 Java inspection: Added a fix for single-value annotations where the annotation doesn't have a 'value()' method and therefore "Expand Annotation to Normal Form" fix couldn't be applied (IDEA-158456, IDEA-157727) 2016-07-20 13:33:13 +03:00
Anna.Kozlova 0f82a3bf77 merge misspelled (hashCode, toString, setUp, tearDown, compareTo) inspections 2016-07-20 09:29:54 +02:00
Anna.Kozlova 2d36e419eb empty stubs for functional expressions (^peter) 2016-07-20 09:29:54 +02:00
Anna.Kozlova 1e5372292b java stub for literal expression to ensure parenthesis 2016-07-20 09:29:54 +02:00
peter 28d9656870 prepare anonymous base context calculation to the coming of lambda stubs 2016-07-20 09:03:55 +02:00
Vladimir Krivosheev 1996140c4f encapsulate myTestRootDisposable 2016-07-19 13:42:42 +02:00
Roman Shevchenko c4e8bf5219 [java] fixes javadoc inspection false positive for split @see tags (IDEA-158662) 2016-07-18 20:55:24 +02:00
Anna.Kozlova cfe8570309 inline field: preserve context for diamonds (IDEA-158604) 2016-07-18 20:41:24 +02:00
Vladimir Krivosheev 6ceea5ab2b use runInEdtAndWait 2016-07-18 18:37:06 +02:00
Vladimir Krivosheev 72965f5b9e use runInEdtAndWait 2016-07-18 18:31:12 +02:00
Alexey Kudravtsev 9ab02c86dc notnull 2016-07-18 18:53:54 +03:00
Vladimir Krivosheev e9cff3106c since we use Java8, ThrowableRunnable is enough 2016-07-18 17:07:50 +02:00
Alexey Kudravtsev 9f9fa4b158 more diagnostics 2016-07-18 16:44:45 +03:00
Alexey Kudravtsev 6be42352ef fail test if exception occurs in reactivity watcher thread 2016-07-18 16:44:45 +03:00
Vladimir Krivosheev cda426d779 cleanup 2016-07-18 15:33:31 +02:00
Anna.Kozlova 3ee60dba1d method ref: ensure top substitutor is not overridden with raw replacement from second method ref search (IDEA-158636) 2016-07-18 14:57:04 +02:00
Roman Shevchenko de4fc28369 Merge remote-tracking branch 'origin/master' 2016-07-18 14:26:55 +02:00
Roman Shevchenko f736ecb86e [java] module formatting 2016-07-18 14:26:31 +02:00
Alexey Kudravtsev ec318f7f17 cleanup 2016-07-18 12:57:21 +03:00
Alexey Kudravtsev 2ea1283a32 print thread dump on too long interrupt 2016-07-18 12:57:21 +03:00
Alexey Kudravtsev 5cab61669f dump threads in case of missed PCE 2016-07-18 12:57:21 +03:00
Dmitry Batrak fc8e00f006 IDEA-158599 Semicolon not inserted in string literals and comments 2016-07-15 17:24:17 +03:00
Yaroslav Lepenkin f21e71bd56 [formatter] simplification: removed unnecessary classes 2016-07-15 16:15:01 +03:00
Yaroslav Lepenkin 1c25166cee [formatter] simplification: changed context reformat api 2016-07-15 16:15:01 +03:00
Anna.Kozlova 4cbe5e7873 prototype for class based patterns as entry points (IDEA-34620) 2016-07-14 12:30:32 +02:00
Yaroslav Lepenkin b75a7e3d72 [java-formatter] do not add empty call chunks, fixes IDEA-158331, yellow code removed 2016-07-14 13:08:51 +03:00
Roman Shevchenko 72f88a4c02 [java] navigation, presentation, and "go to symbol" provider for modules 2016-07-14 11:27:43 +02:00