Commit Graph
1689 Commits
Author SHA1 Message Date
Anna Kozlova 27e575b967 overload resolution for exact method references: ensure param types are equal in case non-generic methods 2015-02-01 16:30:45 +03:00
Anna Kozlova 867a714293 overload resolution for explicitly typed lambda: poly wins over primitive 2015-02-01 16:07:03 +03:00
Anna Kozlova dbdc890cd1 lambda expression isCongruent: ensure target function type has no type parameters 2015-02-01 12:54:19 +03:00
Anna Kozlova e315ef4b41 TypeName.super.foo() when TypeName denotes interface 2015-01-31 21:29:22 +03:00
Anna Kozlova 47ae95a968 ArrayType:🆕 ensure type reifiable 2015-01-31 16:13:14 +03:00
Anna Kozlova a6d8e976fa testdata for ClassType::<TypeArguments>new method references: ensure compilation error if ClassType is raw but type arguments are given 2015-01-31 16:13:13 +03:00
Anna Kozlova 82246db879 TypeName::Identifier method reference applicability when TypeName denotes interface 2015-01-31 16:13:13 +03:00
Anna Kozlova e41b02e277 ignore type parameters (arguments) in non-generic method references 2015-01-31 16:13:12 +03:00
Anna Kozlova 8886622b5c method references: fix type to search (site substitution) for ReferenceType::Identifier references, where ReferenceType is raw (IDEA-135792) 2015-01-30 22:28:02 +03:00
Anna Kozlova 012e57d2ea lambda isValueCompatible check: ensure throws is not treated as normal completion (IDEA-135581) 2015-01-26 20:19:16 +03:00
Anna Kozlova 65064ac053 include InterruptedException into mock1.7 testdata fixed 2015-01-22 13:05:05 +01:00
Dmitry Jemerov 256fd71176 don't perform any additional parsing on the contents of the {@code} tag in javadoc (IDEA-95956) 2015-01-21 13:47:36 +01:00
Anna Kozlova 7205db4b58 anonym -> lambda: evaluate ground type for type, inferred by position (IDEA-135211) 2015-01-14 16:45:51 +01:00
Anna Kozlova 73239255ec disable add exception to catch/generalize catch inside functional interface inside try statement (IDEA-135171) 2015-01-14 13:25:03 +01:00
Anna Kozlova ffbe05e14d stream migration: reject collection conversion if qualifier depends on loop parameter (IDEA-135104) 2015-01-13 20:55:48 +01:00
Anna Kozlova fcb252d25e ensure functional type for formal parameters lambda is valid after method reference replacement (IDEA-135053) 2015-01-08 19:54:23 +01:00
Anna Kozlova 3d9f911dc3 type distinct: allow comparisons of type X<? extends Object> == X<array> (IDEA-135041) 2015-01-08 19:54:22 +01:00
Anna Kozlova e4e0a33134 add explicit type arguments: preserve nested wildcards (IDEA-134967) 2015-01-08 13:33:00 +01:00
Anna Kozlova af7da7a8f4 incompatible parameter types in lambda expression message expanded (IDEA-134941) 2015-01-07 17:10:09 +01:00
Anna Kozlova 8ce9831489 bad return type in lambda expression: requited type added; range corrected (IDEA-134942) 2015-01-07 16:07:27 +01:00
Anna Kozlova c11d64ac60 new inference: distinguish return type type parameters and current session inference variables (IDEA-135001) 2015-01-07 15:34:27 +01:00
Anna Kozlova fa99ec2a74 lambda -> method ref: do not skip array initializer; ensure dimension expressions are correct 2015-01-02 12:05:46 +01:00
Anna Kozlova cda6746874 highlight static imports according to the color scheme selected (IDEA-133887) 2014-12-30 15:36:37 +01:00
Anna Kozlova 79b5f29665 highlight inherited methods inside anonymous/inner classes (IDEA-134626) 2014-12-29 21:15:12 +01:00
Anna Kozlova 92bb2b6d65 extract if condition: ensure brackets (IDEA-134698) 2014-12-29 18:57:46 +01:00
Anna Kozlova e9beee7c66 warn when accessing static method of interfaces in language levels prior to 1.8 (IDEA-134814) 2014-12-29 18:57:41 +01:00
Anna Kozlova b57746c55e collect exceptions by call arguments (IDEA-134808) 2014-12-29 18:57:40 +01:00
Anna Kozlova 658607d9c2 new overload resolution: reject complete normally when last instruction is return (IDEA-134808) 2014-12-29 18:57:39 +01:00
Anna Kozlova fc2f15f64e java 8 javadoc tags @apiNote, @implNote, @implSpec 2014-12-24 14:26:26 +01:00
Anna Kozlova f99580f6a5 enable delegate for interfaces in 1.8 2014-12-23 19:32:29 +01:00
Andrey Starovoyt b20fc1c936 live templates: incorrect adding generic parameter IDEA-134434 2014-12-23 18:18:43 +03:00
Maxim.Mossienko 7126e14983 open mail client on mailto: links 2014-12-22 13:40:05 +01:00
Maxim.Mossienko 2f73716a0e IDEA-64131 support for links in comments 2014-12-22 13:15:25 +01:00
Anna Kozlova 09dc54d415 extension for lombok val support (IDEABKL-5667) 2014-12-19 19:49:01 +01:00
Anna Kozlova e6371b208f lambda <-> anonymous <-> method ref: collapse lambda block when applicable refactored (IDEA-134509) 2014-12-18 19:20:21 +01:00
Anna Kozlova 79da0849e2 disable lambda -> method ref if resulted methods are not the same (IDEA-134486) 2014-12-18 14:13:23 +01:00
Anna Kozlova 6336e973c9 add exception to throws: find functional interface method for method references; discard if in library (IDEA-134468) 2014-12-18 14:13:20 +01:00
Anna Kozlova 0be4af00e0 new overload resolution: block can complete normally if the last statement could throw exception (IDEA-134103) 2014-12-17 20:51:47 +01:00
Anna Kozlova 24a7a43f7c redundant lambda code block: ensure conflicts between same param numbers are checked 2014-12-17 20:13:47 +01:00
Anna Kozlova 7343c62b7e new inference: infer exceptions for inner lambda body calls (IDEA-134225) 2014-12-17 20:13:46 +01:00
Anna Kozlova a026cc2dd1 new overload resolution: check only functional arguments in isFunctionalTypeMoreSpecific (IDEA-134328) 2014-12-17 20:13:42 +01:00
Anna Kozlova 014215aec5 generated test data, unrelated classes 2014-12-17 09:57:50 +01:00
Anna Kozlova 1ed0901d4b new inference: reject equals bounds contradicting lower bounds 2014-12-17 09:57:48 +01:00
Anna Kozlova f217ed47c4 new inference: reject contradicting equals bounds 2014-12-17 09:57:47 +01:00
Anna Kozlova e0b2d2d8f0 new inference: process wildcards captured bounds 2014-12-17 09:57:45 +01:00
Anna Kozlova 811234ec46 captures: replace type parameter in capture on substitution 2014-12-16 10:45:03 +01:00
Anna Kozlova 7933aad974 captures: distinguish by type parameters in method return type evaluation context 2014-12-16 10:45:02 +01:00
Alexey Kudravtsev c3e8934499 IDEA-133946 Don't highlight private constructor as unused if it is called by dependency injection engine 2014-12-15 14:18:20 +03:00
Anna Kozlova 482de672ef method references: site substitution for method references without receiver (IDEA-134261) 2014-12-12 20:57:02 +01:00
Dmitry Jemerov 65666dfa8c capitalize JUnit correctly 2014-12-11 16:56:24 +01:00