Commit Graph
2452 Commits
Author SHA1 Message Date
Anna Kozlova a6ef814ce8 java 8 interfaces: default/static preferences (IDEA-136171) 2015-02-10 17:55:56 +01:00
Anna Kozlova f821d7de73 multi-module setup: ensure access to static method from base class available only through mediate class is marked as error (IDEA-91904) 2015-02-10 13:21:22 +01:00
Anna Kozlova 2e438a4f7c multiple jdks/not exported dependencies: check that declared type of the qualifier doesn't contain unknown types 2015-02-09 20:33:09 +01:00
Anna Kozlova 69588b4a64 multiple jdks: test method signatures hierarchy 2015-02-09 19:38:17 +01:00
Roman Shevchenko 2c738eea52 IDEA-136162 (type annotations in anonymous classes) 2015-02-09 19:23:15 +01:00
Anna Kozlova d938257b33 multiple jdks in one project: highlight not accessible superclasses found in another module 2015-02-09 15:53:05 +01:00
peter a08f797fb3 IDEA-135554 Suggestion for class variable are incorrect 2015-02-06 17:26:14 +01:00
Anna Kozlova b0a9de51c9 testdata to fix javac behaviour (1.8u40) 2015-02-05 10:27:32 +03:00
Bas Leijdekkers facac1bd48 fix invert if followed by break bugs (IDEA-38798 & IDEA-112313) 2015-02-02 19:38:41 +01:00
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 55e07132e9 equals/hashCode templates: simplify guava/java 7 corresponding to arrays (IDEA-135684) 2015-01-27 20:00:40 +03:00
Bas Leijdekkers 7f73e1895d don't insert unneeded parentheses on "invert if" 2015-01-27 08:53:27 +01: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 9144a4a416 multiple jdks test: ensure Map.getOrDefault doesn't exist in jdk 7 but exist in jdk 8 2015-01-22 20:36:25 +01:00
Anna Kozlova e81c0c2c32 multiple jdks test of correct check of inheritance when super type has unknown type in type argument list 2015-01-22 19:14:32 +01:00
Anna Kozlova cfea16328e multiple jdks test of correct check of inheritance with different type arguments 2015-01-22 19:14:30 +01:00
Anna Kozlova 65064ac053 include InterruptedException into mock1.7 testdata fixed 2015-01-22 13:05:05 +01:00
peter 730bbf7667 MultipleJdksHighlightingTest: yet another test 2015-01-21 21:19:51 +01:00
peter 458b1b4b04 fix MultipleJdksHighlightingTest test data 2015-01-21 21:19:51 +01:00
Dmitry Jemerov bb8687d45e fix tests; correctly parse {@code} tags with embedded curly braces and multiline {@code} tags 2015-01-21 19:32:16 +01:00
Dmitry Jemerov cb13dccb2e disable HTML tag auto-closing inside JavaDoc inline tags (IDEA-66096) 2015-01-21 19:32:15 +01:00
Anna KozlovaandRoman Shevchenko e0953477b0 java: testdata fixed 2015-01-21 14:14:25 +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
Dmitry Jemerov 6349e5cb35 javadoc: inherit parameter documentation from base class doc comment when method in this class has no doc comment (IDEA-89925) 2015-01-21 13:47:35 +01:00
Anna Kozlova d5ca65d80f multiple jdks: wrong resolve order tests bombed 2015-01-21 12:45:55 +01:00
Anna Kozlova 6cc60e2543 workaround for overload resolution for methods from Object when project has multiple jdks (IDEA-135422) 2015-01-21 12:14:13 +01:00
Anna Kozlova 88b543d2c6 generate equals/hashCode: generate deepHashCode for IntelliJ template; do not use deep equals for Objects template as Objects.hash doesn't support it anyway (IDEA-135313) 2015-01-19 19:02:10 +01:00
peter cccd245a5f IDEA-134518 Insert "instanceof" completion variant on typing "!" (exclamation mark) 2015-01-14 18:55:22 +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
peter 9358cdd8b2 IDEA-135162 Smart Completion proposes nothing in catch statements 2015-01-13 17:11:51 +01:00
Anna Kozlova 0074de3fa9 generate equals/hashCode: ensure one @Override is inserted; extensions could also provide their annotations on equals/hashCode override;
tests: language level is 1.5 though jdk is mockJdk14 without @Override as expected -> fqns in test data
2015-01-13 16:18:30 +01:00
Anna Kozlova cd2d451fba generate equals/hashCode: sort primitive fields up and leave natural ordering (IDEA-21339) 2015-01-13 16:18:27 +01:00
Anna Kozlova 5373392483 generate equals/hashCode: pass wildcards as type arguments when needed (IDEA-127939) 2015-01-13 13:34:10 +01:00
Anna Kozlova 04b8cf4aa5 generate equals/hashCode: allow getters (IDEA-73860) 2015-01-13 12:48:00 +01:00
Anna Kozlova aab113eeab generate equals/hashCode: template for java.util.Objects; treat super.hashCode 2015-01-12 17:37:39 +01:00
Anna Kozlova 1aea6bd2b3 generate equals/hashCode: tests for apache/guava templates 2015-01-12 17:25:52 +01:00
Anna Kozlova 0ee564a95e generate equals/hashCode: use velocity templates 2015-01-09 21:02:03 +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