Commit Graph
3950 Commits
Author SHA1 Message Date
Anna Kozlova 853f9c567f new inference: stop collecting constraints if target type is proper (IDEA-136412) 2015-02-13 18:54:04 +01:00
Anna Kozlova 465879cacf most specific: infer specific if method is generic even if type arguments are explicitly provided 2015-02-13 18:54:03 +01:00
Anna Kozlova 925e9d1610 pertinent to applicability: reject nested lambdas if they target non proper type 2015-02-13 18:54:02 +01:00
peter 4c109a6316 IDEA-136189 "Code completion" proposes to extend the class of the same class 2015-02-13 18:39:31 +01:00
peter 5ea85b6d84 IDEA-136406 Complete current statement doesn't insert a method body for default methods, creates broken code 2015-02-13 18:39:30 +01:00
Anna Kozlova 344379d2f4 lambda: accept? inference variables as target type for lambda expression during lambda constraint reduction (IDEA-136435) 2015-02-12 21:15:32 +01:00
Anna Kozlova 6d0e359bbc ensure language level is retrieved from analyzed method when method hierarchy is processed 2015-02-12 18:52:05 +01:00
Dmitry Jemerov c25243f74d moving tests from codeInsight-tests to community 2015-02-12 12:35:07 +01:00
Dmitry Jemerov 9dee6e8ff3 join lines: convert end-of-line comments to block comments when possible (IDEABKL-290) 2015-02-12 12:35:06 +01:00
Dmitry Jemerov 831087097d move JoinLinesTest to java-tests 2015-02-12 12:35:05 +01:00
Anna Kozlova ed0ff7c07f most specific check: ensure that functional types are specifically checked when method is not generics (IDEA-136287) 2015-02-11 19:05:41 +01:00
Anna Kozlova 502dd423d9 static interface method call: ignore static imports if call is qualified (IDEA-136077) 2015-02-11 19:05:40 +01:00
Anna Kozlova 7e0c4959db show error for enums constants referenced from instance field initializer (IDEA-136196) 2015-02-10 17:55:59 +01:00
Anna Kozlova 18e6a082d9 show error for enums without constants but with abstract methods 2015-02-10 17:55:58 +01:00
Anna Kozlova 3318c68aad test data for not accessible through captured wildcard 2015-02-10 17:55:57 +01:00
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 d46f76eda1 deep delete parameter: ensure parameter used in the same call passed to another params is not suggested 2015-02-09 19:38:19 +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
Roman Shevchenko 76f2928bea Cleanup (formatting) 2015-02-06 17:02:13 +01:00
Roman Shevchenko dbe3b91651 IDEA-136053 (annotation parsing loop protection) 2015-02-06 17:02:12 +01:00
peter afb11843f4 IDEA-135004 New “non null fields must be initialised” not helpful when DI is used 2015-02-06 16:11:12 +01:00
peter a88ab17b3f IDEA-136079 "Contract violation" warnings are reported for inferred method contract for method with varargs 2015-02-06 16:11:11 +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
peter cd02f59555 IDEA-135846 Dfa should warn about qualifiers in method references 2015-02-02 12:42:56 +01:00
peter 9c3cd4bd49 dfa: don't flush array variable after element assignment (IDEA-135834) 2015-02-02 12:42:56 +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 8c6e9543d5 fix getter name for boolean field in testdata 2015-01-30 22:28:02 +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 19210dd1b5 encapsulate fields: raise conflict if postfix/prefix expression result value is used further (IDEA-131841) 2015-01-29 17:39:57 +03:00
Anna Kozlova bc5083fd50 safe delete: ensure not to delete call qualifier (IDEA-135727) 2015-01-28 19:06:42 +03:00
Anna Kozlova a94175f4f8 inline parameter: take advantages from inline local (IDEA-135610) 2015-01-28 19:06:42 +03:00
Anna Kozlova f0e8a4ebbf api usage: warn about @Override on 'non-existing' method 2015-01-27 21:34:08 +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
Anna Kozlova 5025e94962 safe delete: allow multiple first level nodes (IDEA-135665) 2015-01-27 20:00:38 +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 6edc7c729c extract method object: postpone formatting (IDEA-114278) 2015-01-26 20:19:16 +03:00