Commit Graph
4198 Commits
Author SHA1 Message Date
Anna Kozlova 30a12275a2 lambda: highlight containing method ambiguity on method name: this avoids lots of lines of lambda body to be highlighted and it would show errors even if lambda body contains errors actually caused by the ambiguity on the parent level (IDEA-141580) 2015-06-18 17:54:23 +03:00
Roman Shevchenko 8dc9a98de3 IDEA-123111 (qualified super parsing fixed) 2015-06-18 12:12:42 +03:00
Anna Kozlova f2cddf7201 extract method: don't skip vars from the exit statements if nullable checks would be added (IDEA-141562) 2015-06-17 20:12:16 +03:00
Roman Shevchenko 60cda6aee6 Cleanup (PsiRefList.toString() and test data) 2015-06-16 20:09:08 +03:00
Yaroslav Lepenkin 5ce2126533 fixed EA-69515, do not reverse block's subBlocks collection, added few test for NewLineBlocksIterator 2015-06-16 13:34:35 +03:00
Yaroslav Lepenkin 3b1c3bad64 [AutoDetectIndent] moved tests from platform-tests to java-tests, since formatting model builder is used. Fixed one failing - do not process blocks for comments 2015-06-15 15:02:41 +03:00
Anna Kozlova 0ce2b45350 generated testdata 2015-06-15 09:24:58 +03:00
Anna Kozlova 92b7fa01c4 captures: don't distinguish captures from normal types but leave capture for the same type wildcard 2015-06-14 21:51:21 +03:00
Anna Kozlova 1c373eee23 disable change class signature for enum (IDEA-141300) 2015-06-11 23:32:52 +03:00
Anna Kozlova ce07f3646d disable field encapsulation for enum constants (IDEA-141305) 2015-06-11 23:32:47 +03:00
Anna Kozlova 74f9ac5a46 method ref: don't check method reference qualifier against functional interface (IDEA-141343) 2015-06-11 16:46:12 +03:00
Anna Kozlova 2f9e7a7f99 hide lambda suggestion if method of functional interface is generics (IDEA-141214) 2015-06-09 20:31:15 +03:00
Anna Kozlova 155f283f0e convert to streams: convert lambda to constructor reference; don't accept list when arrayList expected 2015-06-09 20:31:02 +03:00
Sebastian ZarnekowandRoman Shevchenko 8c20a632da Fixed generic type references when read from cls files (IDEA-141230)
https://github.com/JetBrains/intellij-community/pull/273
2015-06-09 15:35:12 +03:00
Sebastian ZarnekowandRoman Shevchenko 22018fa859 Fixed decompilation of annotation values nested in arrays (IDEA-141133)
https://github.com/JetBrains/intellij-community/pull/272
2015-06-08 17:24:05 +03:00
Dmitry Batrak dd78195e3c IDEA-141008 QuickDocumentation (Ctrl-Q) shows "JavaScript is disabled on your browser" sometimes 2015-06-05 16:49:49 +03:00
Anna Kozlova 9bc2885c4c new inference: collect during inference substitutor from inference variables and replace them with type parameters at the very end, excluding foreign variables so e.g. no essential dependency would get overridden by type parameter from sibling call (IDEA-140387) 2015-06-03 22:26:28 +02:00
Anna Kozlova fc175ce1a8 overload resolution: compare functional interfaces for specific if they are not assignable (IDEA-140987) 2015-06-02 17:58:59 +02:00
Anna Kozlova cde47646e5 move inner to upper level: don't remove qualifier from inner types used in extends/implements list (IDEA-140839) 2015-05-29 17:42:28 +02:00
Anna Kozlova f2ebc25583 disable inline to anonymous for type params (IDEA-140846) 2015-05-29 17:42:26 +02:00
Anna Kozlova 63e11cc0f9 overload resolution: ensure that incorrect arg numbers are filtered and for varargs methods (IDEA-140868) 2015-05-29 17:42:25 +02:00
Anna Kozlova 7b0c5b6d05 new inference: check equals/upper/low bounds consistency 2015-05-29 14:48:27 +02:00
Anna Kozlova cdb50293f2 capture conversion: ensure captured wildcards are not replaced after creation, so substitution is consistent; at the same time ensure that "?" with upper bound Runnable is equivalent to "? extends Runnable" 2015-05-28 19:42:11 +02:00
Anna Kozlova 719bfffcae don't override protected methods from Object in interfaces (IDEA-140804) 2015-05-28 19:42:10 +02:00
Anna Kozlova 5ffbec6759 method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730) 2015-05-28 19:42:08 +02:00
Anna Kozlova a21990d31e overload resolution with varargs: don't prefer promitive varargs when no arg is provided (IDEA-140759) 2015-05-27 22:01:03 +02:00
Anna Kozlova 8cdbea9abe introduce parameter: don't show conflicts between new param name and parameter to remove (IDEA-140607) 2015-05-26 18:25:50 +02:00
Anna Kozlova 07dba8b585 hide generified api warning when derived class is used which 'raw'-inherits the changed jdk class 2015-05-26 16:38:13 +02:00
Anna Kozlova 5d55388ef9 pull up: ensure substituted (IDEA-140710) 2015-05-26 13:15:11 +02:00
Roman Shevchenko 5ef6cdb13d java: .class file tests cleanup
- meaningful ClsRepositoryUseTest cases moved to ClsPsiTest
- related test data grouped under a single directory
- obsolete test data dropped
2015-05-23 19:42:33 +02:00
Roman Shevchenko 9ff07cd540 Cleanup (duplicated test dropped) 2015-05-22 22:57:30 +02:00
Roman Shevchenko fe2ef4c2f9 java: annotation parsing avoided for simple cases
(optimization + Kotlin compatibility)
2015-05-22 16:27:14 +02:00
Anna Kozlova 34d5b5f027 make normalize return denotable type (IDEA-140528) 2015-05-21 21:53:44 +02:00
Anna Kozlova f18948a3a2 testdata for IDEA-140586 2015-05-21 21:53:42 +02:00
Anna Kozlova db72cccc97 method refs: missed qualifier substitution for return type (IDEA-140539) 2015-05-21 14:11:26 +02:00
peter aff4db09b0 IDEA-140536 Wrong warning: constructor @NotNull parameter should be @Nullable when field is @Nullable 2015-05-21 12:16:39 +02:00
Dmitry Batrak fbc6243931 IDEA-140025 support pre-Java8 javadoc logic if corresponding JDK is used 2015-05-21 12:00:54 +03:00
Dmitry Batrak 17373cf955 IDEA-140025 retain all spaces after @literal tag name 2015-05-21 12:00:52 +03:00
Anna Kozlova d2c76135df testdata for IDEA-67592 2015-05-21 10:00:45 +02:00
Anna Kozlova e529861e4a testdata for IDEA-67746 2015-05-21 10:00:44 +02:00
Anna Kozlova 6fdd5592d5 testdata for IDEA-67842 2015-05-21 10:00:42 +02:00
Anna Kozlova 4afc0327aa testdata for IDEA-57502 2015-05-21 10:00:41 +02:00
Anna Kozlova c0258b3e2d testdata for IDEA-139090 2015-05-21 10:00:39 +02:00
Anna Kozlova 5eb8d5a8e6 testdata for IDEA-57320 2015-05-21 10:00:38 +02:00
Anna Kozlova d64ec6f997 testdata for IDEA-57362 2015-05-21 10:00:36 +02:00
Anna Kozlova eb0904cfd9 testdata for IDEA-57322 2015-05-21 10:00:34 +02:00
Anna Kozlova 97d8c99958 testdata for IDEA-57314 2015-05-21 10:00:33 +02:00
Anna Kozlova 78fe89e6c2 testdata for IDEA-57315 comment 2015-05-21 10:00:31 +02:00
Anna Kozlova 477689db69 testdata for IDEA-57361 2015-05-21 10:00:29 +02:00
Anna Kozlova 819f620cc8 testdata for IDEA-57387 2015-05-21 10:00:28 +02:00