Commit Graph
4990 Commits
Author SHA1 Message Date
Anna Kozlova 53cf6f6905 wording: warn about self references instead of "forward" ones 2014-07-02 12:26:17 +02:00
Anna Kozlova 1f8864bfa9 anonym -> lambda: forbid when result in illegal self reference (IDEA-126763) 2014-07-02 12:26:16 +02:00
Alexey Kudravtsev 48bfcde50a IDEA-126171 2014-07-02 13:29:29 +04:00
Anna Kozlova b524d609c1 lambda -> method ref: forbid inside anonymous; qualify this (IDEA-126750) 2014-07-02 11:00:55 +02:00
Anna Kozlova 60c18e802f simplified testdata 2014-07-02 11:00:54 +02:00
Yaroslav Lepenkin 44cc819cbe JavaRearranger: register field initialization dependencies only if otherwise fields will be placed in not valid order (IDEA-125099, IDEA-123875) 2014-07-02 02:29:57 +04:00
Yaroslav Lepenkin 8911feabc5 IDEA-126753 Parameters names hints not shown for negative numbers 2014-07-02 00:09:55 +04:00
Anna Kozlova d1cf801bc7 testdata for IDEA-126109 2014-07-01 15:50:08 +02:00
peter 4c7eca5839 IDEA-126595 provide completion variants for Charset.forName() 2014-06-30 21:59:56 +02:00
Anna Kozlova 4dd9e672c6 method refs: move method inside class with method ref usage (EA-57734 - IOE: PsiReferenceExpressionBase.setQualifierExpression) 2014-06-30 20:45:06 +02:00
Maxim.Mossienko 12484e383e test for using file iterable scope in FindInProjectTask 2014-06-30 16:10:30 +02:00
Anna Kozlova fca471c397 conditional expression: ensure return type is primitive short in case of short/byte branches (IDEA-126697) 2014-06-30 14:03:38 +02:00
Anna Kozlova 489563106d provably distinct: continue to compare for nested levels (IDEA-126633) 2014-06-27 18:31:55 +02:00
Anna Kozlova 5b91d6550e redundant cast: ignore foreach iter values with functional expressions inside casts (IDEA-126641) 2014-06-27 18:31:54 +02:00
Anna Kozlova 3fd69c306f testdata for IDEA-124961 according to 1.8.0_20-ea 2014-06-27 18:31:52 +02:00
Anna Kozlova 5650b7331e method refs: missed applicable member/containing class substitutor for exact refs (IDEA-126613) 2014-06-26 17:35:20 +02:00
Sergey Ignatov e66d6cd6fb notnull 2014-06-26 12:14:57 +04:00
Roman Shevchenko 9061bfc089 Merge remote-tracking branch 'origin/master' 2014-06-25 13:51:41 +02:00
Roman Shevchenko 18916335cf java: tests adopted to decompiler presence 2014-06-25 13:50:14 +02:00
Anna Kozlova 643881aed8 include enum.values() in signature hierarchy (IDEA-125077) 2014-06-25 12:13:08 +02:00
peter c66ad13aa7 adapt ResolveInLibrariesTest assertions to the new stubbing policy in library sources 2014-06-25 09:35:11 +02:00
peter 74dad1078b CompletionContributor: cleanup, notnull 2014-06-25 00:03:38 +02:00
Yaroslav Lepenkin e2a3793242 JavaFolding: parameter names for literal call arguments are inlined by default 2014-06-24 19:13:41 +04:00
peter 2cc4ce4dac infer contracts for simple delegating methods 2014-06-24 16:59:49 +02:00
Anna Kozlova 0d1e94b893 testdata for IDEA-125254 2014-06-24 16:01:53 +02:00
Yaroslav Lepenkin 717a6a8b99 [JavaFolding] do not inline parameter names by default 2014-06-24 13:58:36 +04:00
Yaroslav Lepenkin 3e4d1cf78c [JavaFolding] inline literal argument names if argument length is one 2014-06-23 23:35:27 +04:00
Anna Kozlova 596d24d505 method refs: reject constructor refs with 'receiver' syntax (IDEA-126484) 2014-06-23 20:10:01 +02:00
Anna Kozlova 69e6a15e27 temp revert capture open 2014-06-23 20:10:00 +02:00
Yaroslav Lepenkin ffa5559593 [JavaFolding] do not inline literal arguments names if argument length is one (EA-57555) 2014-06-23 21:00:48 +04:00
Roman Shevchenko 36655f32a3 java: test data fixed 2014-06-23 18:23:49 +02:00
Yaroslav Lepenkin b21cd3b491 IDEA-125863 Folding: inline parameter names for literal call arguments 2014-06-23 19:56:49 +04:00
Anna Kozlova 2171c25296 revert new inference: mark erased for type params/raw types compatibility (IDEA-126379) 2014-06-19 18:21:44 +02:00
Eugene Zhuravlev 987a3b1918 [by ann] migrating to asm5 2014-06-19 19:41:16 +04:00
Dmitry Batrak b21e515794 EA-54811 - avoid InjectedCodeFoldingPass seeing outdated PSI for injected fragments 2014-06-19 11:54:59 +04:00
Anna Kozlova f0f8dd1db2 variable incomplete code searcher should not find methods with the same name even if they are also unresolved; inline covered by RefactoringUtil.renameVariableReferences() (IDEA-126312) 2014-06-18 17:17:13 +02:00
Max Medvedev 319bbf28a0 IDEA-125909 Groovy: trait methods accessed via 'super' are not resolved.
Use LinkedHashSet for PsiIntersectionType for order forcing.
2014-06-18 14:02:40 +04:00
peter 88c8ac79e5 dfa: handle variable comparisons to unknown not-null values 2014-06-17 19:43:42 +02:00
Dmitry Batkovich 7c0813c27a Add qualifier to unqualified method call quick fix added (similar to "Static Method Import...") IDEA-94719 2014-06-17 19:26:05 +04:00
Anna Kozlova 6a2350194c redundant cast: check foreach value assignability (IDEA-126166) 2014-06-16 17:26:23 +04:00
Anna Kozlova 668e1f52e2 redundant assignment in arg list fixed (IDEA-126190) 2014-06-16 11:25:23 +04:00
peter 865bf9b7b7 JavaAutoPopupTest: don't spam to stdout 2014-06-13 15:40:22 +02:00
peter 6a538846f1 prefer thrown exceptions in catch block parameter type completion (IDEA-125316) 2014-06-13 15:40:21 +02:00
peter 01bb23e701 IDEA-125954 Incorrect code completion for deep inner class 2014-06-13 15:40:21 +02:00
peter 837ec9e77d true/false should only be preferred after 'return' in smart completion 2014-06-13 15:40:20 +02:00
peter 41d5427cfe IDEA-126032 Java basic completion: prefer annotations instead of 'interface' keyword 2014-06-13 15:40:20 +02:00
peter fcd5c1f1bf restore java reflection completion in string literals: don't let properties override it 2014-06-12 17:59:48 +02:00
Alexey Kudravtsev cc04382487 added read action in tests 2014-06-12 19:05:50 +04:00
Alexey Kudravtsev a3c8331247 by the time PSI listeners are called the document should be already committed: IDEA-125010 2014-06-12 19:05:47 +04:00
Alexey Kudravtsev 81fbc2285d memory and CPU halved for "module with dependencies" scope 2014-06-12 15:22:45 +04:00