Commit Graph
4616 Commits
Author SHA1 Message Date
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
Anna Kozlova 414454d4b7 testdata for IDEA-139222 2015-12-02 15:42:02 +01:00
Anna Kozlova 5ac3bde398 testdata for IDEA-148093 2015-12-02 15:42:02 +01:00
Anna Kozlova bb5f40c196 testdata for IDEA-134059 2015-12-02 15:42:02 +01:00
Anna Kozlova e6162ed1fa testdata for IDEA-148361 2015-12-02 15:42:02 +01:00
Anna Kozlova 5dad1d7009 new inference: process captured wildcard with array type bound 2015-12-02 10:57:27 +01:00
Anna Kozlova 3a669178f5 do not open captured wildcards on substitution; don't capture wildcards on getExtendsTypes for type parameters and their consequences 2015-12-02 10:17:29 +01:00
Bas Leijdekkers a20691e9c4 IDEA-26291 (Small error in "variable is assigned to itself" inspection) 2015-12-01 19:11:41 +01:00
Bas Leijdekkers 9d49239ff4 EA-76495 (IOE: PsiJavaParserFacadeImpl.createStatementFromText) 2015-12-01 19:11:39 +01:00
Nikolay.Tropin d0466d5fc0 add generic bound usage for type argument only if it is a bounded wildcard 2015-12-01 16:37:17 +03:00
peter 3da865964d IDEA-148389 Smart completion inserts extra colon if existing colon is on the next line 2015-12-01 12:35:09 +01:00
Anna Kozlova 9308c52a3d captured wildcards: check upper bound first 2015-12-01 10:04:46 +01:00
Anna Kozlova f5228ff75b new inference: don't start inference if new expression contains type args (IDEA-148621) 2015-11-30 19:45:19 +01:00
Anna Kozlova 878ac5560e overload resolution: boxing should ignore null types (IDEA-148692) 2015-11-30 19:45:19 +01:00
Roman Shevchenko a1f7aa76fb [java] highlighting for incorrect first statement in switch (IDEA-148514) 2015-11-30 18:48:32 +01:00
Roman Shevchenko 2c2b27fc5d Cleanup (formatting; typos) 2015-11-30 18:32:01 +01:00
peter a46935adc6 java completion: use context substitutor even for methods whose type parameters can be inferred from parameter types (IDEA-148623) 2015-11-30 16:26:38 +01:00
peter 9d2abd7276 IDEA-148657 "if (false)" quickfix text is meaningless 2015-11-30 16:26:38 +01:00
Anna Kozlova 621795bbee isApplicability check based on pertinentToApplicability 2015-11-30 15:11:41 +01:00
Anna Kozlova e740dbe245 testdata for IDEA-148553 2015-11-27 18:04:56 +01:00
Anna Kozlova 4eb00b634a injections: switch from injections to top level editor if extracted expression contains the whole injected fragment (IDEA-148471) 2015-11-27 18:04:56 +01:00
Anna Kozlova e36070c6d8 get rid of groovy duplication; treat same name fields/params in constructor generation (IDEA-148338) 2015-11-27 18:04:56 +01:00
Anna Kozlova b611e2abee delegate default param values: don't mark static method in the interface with default modifier (IDEA-148489) 2015-11-26 19:23:09 +01:00
Anna Kozlova e43fad4277 captured wildcards: don't open unpredictably, treat as type, not type argument (IDEA-148348) 2015-11-26 19:23:09 +01:00
peter ab6ec15175 IDEA-148477 Handle AssertJ assertions in the same way as JUnit assertions 2015-11-26 08:28:04 +01:00
Anna Kozlova f07899641d fix testdata 2015-11-25 12:25:02 +01:00
Anna Kozlova 169b42916e new inference: don't treat void as primitive type to boxing 2015-11-25 12:25:02 +01:00
Anna Kozlova fc288cf04d new inference: don't add primitive equals bounds 2015-11-24 20:00:29 +01:00
Anna Kozlova 952a9be315 additional testdata for nested lambda inference 2015-11-24 20:00:29 +01:00
Roman Shevchenko eb5890cc8f [java] nullability annotation copying logic restored; test added (IDEA-CR-6810) 2015-11-24 11:42:14 +01:00
Anna Kozlova 49dfdded70 new inference: don't push resolved vars in case of failed substitution 2015-11-24 10:30:21 +01:00
Anna Kozlova 138bd5a034 new inference: provide diagnostics on failed inference (strict subtyping constraints); don't resolve vars before incorporate - this way captures won't be opened too early 2015-11-24 10:30:21 +01:00
Anna Kozlova e7d095d85f new inference: provide diagnostics on failed inference (checked exceptions) 2015-11-24 10:30:21 +01:00
Dmitry Batrak 74ab324342 follow up to IDEA-145931 one more case of garbage text when viewing JDK Javadoc 2015-11-23 15:04:37 +03:00
Anna Kozlova c45f4e0aa0 fix testdata 2015-11-23 11:26:34 +01:00