Commit Graph
4650 Commits
Author SHA1 Message Date
Anna Kozlova adaa0f09b7 new inference: pull erased flag through nested calls (IDEA-133613) 2015-12-28 19:07:22 +01:00
Anna Kozlova 2be1c64a13 new inference: correct capture incorporation (IDEA-149807) 2015-12-28 19:07:22 +01:00
Anna Kozlova e4ef475f9e new inference: don't process expressions after param.length for non-varargs (IDEA-149489) 2015-12-28 14:57:27 +01:00
Anna Kozlova 29e713bb7e testdata for IDEA-149670 2015-12-28 14:57:27 +01:00
Anna Kozlova a19f41e6c6 extract: collect classes to search for available methods from intersections/captures, etc (IDEA-57404) 2015-12-28 10:27:00 +01:00
Anna Kozlova 6fe7ef3c12 extract: don't reject super types based on calling of final methods - they could be called on inheritors without problems (IDEA-149121) 2015-12-28 10:27:00 +01:00
Anna Kozlova 05b90b10a3 introduce: shrink selection to exclude whitespaces and comments (IDEA-149120) 2015-12-28 10:27:00 +01:00
Anna Kozlova b9b85cca9d inline super: append implements cases to extends list of type parameter (IDEA-149230) 2015-12-28 10:27:00 +01:00
Anna Kozlova 930bbc66e2 extract super: ensure extends reference reformatted (IDEA-149247) 2015-12-28 10:27:00 +01:00
Anna Kozlova d9aeacbf48 overload resolution: don't prefer generic to raw substitution (IDEA-149289) 2015-12-28 10:27:00 +01:00
Anna Kozlova aa70efc9a4 testdata for IDEA-149224 2015-12-28 10:27:00 +01:00
Alexander Zolotov ebf79c6dfb Live Templates: proper handling home/end actions with selection in templates
context

+ add tests for editor actions inside template segments
2015-12-22 18:38:09 +03:00
Yaroslav Lepenkin 5d9ee7fda5 Do not detect indent for single line files (WEB-19403) 2015-12-21 14:37:38 +03:00
Anna Kozlova 8edd7a4cf5 method hierarchy: don't merge methods with return types which are not substitutable (IDEA-57393) 2015-12-14 10:30:48 +01:00
Anna Kozlova e426d5ac3a introduce functional: don't treat all parameters as ignored cause they could belong to for loops, nested classes not available at call site, etc 2015-12-14 10:30:48 +01:00
Anna Kozlova 132bb137a1 don't show error on method reference if functional expression is located inside invalid context without target functional type 2015-12-10 19:52:16 +01:00
Anna Kozlova 81a6cceb35 fix casting to primitives according to the spec (IDEA-131107; IDEA-148880) 2015-12-10 17:01:55 +01:00
Anna Kozlova 3f72d428a8 method references: show candidates if overload resolution failed (IDEA-148974) 2015-12-10 17:01:55 +01:00
Anna Kozlova a04d90243b method reference: preserve all conflicts to have navigation target 2015-12-10 17:01:55 +01:00
Anna Kozlova 7249fd8179 lambda: missed ground type for target functional type (IDEA-149053) 2015-12-09 22:03:56 +01:00
Anna Kozlova 9697949fe1 make variable type A<? super B&C> denotable (IDEA-57518; IDEA-57273) 2015-12-09 22:03:56 +01:00
Anna Kozlova c81d887251 ensure potential compatible for pertinent to applicability: when number of parameters is wrong methods which are not potentially compatible are not filtered (IDEA-149103) 2015-12-09 19:28:03 +01:00
Anna Kozlova 92487fe273 assignment: stop bounds promotion inside nested wildcards (IDEA-139161) 2015-12-09 18:49:28 +01:00
Anna Kozlova c66efb2458 testdata for IDEA-130243 2015-12-09 18:49:28 +01:00
Anna Kozlova be223c2734 testdata for IDEA-139096 2015-12-09 18:49:28 +01:00
Anna Kozlova dd38082794 least upper bound: pull unbounded wildcard up so types Number & Comparable<? extends Number & Comparable<?>> are produced instead of Number & Comparable<? extends Comparable<?>>
inferred type in bounds check cleanup: accept that inference result is not within its bounds and give the inference the second chance
2015-12-09 11:25:11 +01:00
Alexander Zolotov 7cb3d001e8 Allow to use @TestOnly symbols inside @TestOnly fields (IDEA-148905) 2015-12-09 14:36:12 +10:00
Anna Kozlova a15905ae13 conditional expression type: check poly expression first (IDEA-148965) 2015-12-08 09:37:18 +01:00
Dmitry Batrak 71c0deeae0 IDEA-148873 Quick Doc can't navigate to another member's doc via anchor link 2015-12-07 20:41:41 +03:00
Anna Kozlova 6e241e1168 testdata 2015-12-07 12:29:56 +01:00
Anna Kozlova f6f2b83801 testdata for IDEA-146897 2015-12-07 10:35:33 +01:00
Anna Kozlova cde4b88ba3 testdata for IDEA-67808 2015-12-07 10:35:33 +01:00
Anna Kozlova f55279387c recursive types capture: avoid capture comparison during glb computation (IDEA-57379; IDEA-139167; IDEA-139157) 2015-12-07 10:35:33 +01:00
Anna Kozlova b580d8eccb AIOOBE 2015-12-03 19:11:09 +01:00
Anna Kozlova 65194fd5f0 testdata for IDEA-127215 2015-12-03 19:11:09 +01:00
Anna Kozlova 4768643b60 new inference: capture implicit param types (IDEA-132716) 2015-12-03 19:11:09 +01:00
Anna Kozlova 32147c73e1 type distinction tweak (IDEA-134960) 2015-12-03 19:11:09 +01:00
peter 0ddd1243b9 honor vararg calls when inferring contracts (IDEA-148862) 2015-12-03 17:32:53 +01:00
Anna Kozlova 3aa29923c6 provide access object for captured wildcards (IDEA-128542) 2015-12-03 15:27:26 +01:00
Anna Kozlova 36ea2f9041 testdata for IDEA-148841 2015-12-03 15:27:26 +01:00
Anna Kozlova c16a53a9fb do not open capture when method call type is calculated 2015-12-03 12:18:25 +01:00
Dmitry Avdeev ad9d9397fc DefaultAnnotationParamInspection 2015-12-03 11:12:28 +03:00
Anna Kozlova f5c6318814 generate wildcard type to ensure valid assignment (IDEA-148644) 2015-12-02 17:56:08 +01:00
Anna Kozlova 5ed0c728a2 testdata for IDEA-56754 2015-12-02 17:56:08 +01:00
Anna Kozlova e8111b751e new overload resolution: don't treat array type of functional interfaces as functional interface (IDEA-148726) 2015-12-02 17:56:08 +01:00
Anna Kozlova 2f82450d13 test to ensure that capture's bound is corrected according to the used jdk/library 2015-12-02 15:42:02 +01:00
Anna Kozlova 8a1085dac4 testdata for IDEA-131686 2015-12-02 15:42:02 +01:00
Anna Kozlova 2bb333cd43 testdata for IDEA-136325 2015-12-02 15:42:02 +01:00
Anna Kozlova 65d35615df testdata for IDEA-139169 2015-12-02 15:42:02 +01:00
Anna Kozlova 43e825eef9 testdata for IDEA-139156 2015-12-02 15:42:02 +01:00