Commit Graph
1873 Commits
Author SHA1 Message Date
Anna Kozlova 895b40432c lambda: can complete normally: skip empty finally blocks at lambda body end (IDEA-136628; IDEA-135791) 2015-02-17 19:56:04 +01:00
Anna Kozlova 6ca09678c2 allow navigation to not accessible fields when they are used inside reference chain 2015-02-17 14:58:59 +01:00
Anna Kozlova d5638c7553 new inference: already calculated substitutor should be used during fresh variables creation 2015-02-16 19:01:56 +01:00
Anna Kozlova 0b40ad0cc7 method reference: force constructor reference to be not exact if ClassType is raw 2015-02-16 17:24:15 +01:00
Dmitry Avdeev b9e32b878e replacing deprecated method 2015-02-16 18:44:41 +03:00
Dmitry Avdeev 7efbb15756 getting literal value from parsed AST 2015-02-16 18:44:39 +03:00
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
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
peter 67fc775a3e introduce PsiTypeMapper abstract visitor 2015-02-12 08:07:12 +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 88a92d65ae skip non-physical [^peter] 2015-02-10 20:21:32 +01:00
Anna Kozlova a6ef814ce8 java 8 interfaces: default/static preferences (IDEA-136171) 2015-02-10 17:55:56 +01:00
Anna Kozlova 4ceb91efe5 multi-module setup: method hierarchy should traverse supers according to the place build (IDEA-90914) 2015-02-10 13:21:23 +01:00
Roman Shevchenko 2c738eea52 IDEA-136162 (type annotations in anonymous classes) 2015-02-09 19:23:15 +01:00
Anna Kozlova 2254598756 multiple jdks in one project: resolve superclass from the correct jdk depending on the resolve context (IDEA-123678; IDEA-102349; IDEA-126629) ^peter 2015-02-09 15:53:04 +01:00
Anna Kozlova 2333ad2f1d normalize captured wildcards by position 2015-02-09 11:16:22 +01:00
Roman Shevchenko cbbe283dbf EA-64506 (extra spaces tolerance) 2015-02-08 11:16:11 +01:00
Roman Shevchenko 24405370ac Cleanup (adapter) 2015-02-08 10:33:34 +01:00
Roman Shevchenko dbe3b91651 IDEA-136053 (annotation parsing loop protection) 2015-02-06 17:02:12 +01:00
Anna Kozlova 196ce720ff functional interface parameterization for explicitly typed lambda: do not check subtype relation for lambda/checked constraints 2015-02-02 12:13:56 +03: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 6eabf8e78a functional expressions: isPotentiallyCompatible api extracted 2015-02-01 12:54:18 +03:00
Anna Kozlova 47ae95a968 ArrayType:🆕 ensure type reifiable 2015-01-31 16:13:14 +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
Roman Shevchenko e47793b814 Cleanup (formatting) 2015-01-28 15:11:39 +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
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 0da31f0c52 don't perform any additional parsing on the contents of the {@litera} tag in javadoc (IDEA-131483) 2015-01-21 13:47:36 +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 6cc60e2543 workaround for overload resolution for methods from Object when project has multiple jdks (IDEA-135422) 2015-01-21 12:14:13 +01:00
Pavel V. Talanov f9bbc71f84 CoreJavaFileManager: avoid constructing unneeded list 2015-01-13 20:58:01 +03:00
Pavel V. Talanov d5bd063a5a CoreJavaFileManager: check scope when searching for classes 2015-01-13 20:57:37 +03:00
Pavel V. Talanov 90e2339adf CoreJavaFileManager: find main class in file with several classes present
It's unclear how to support finding other classes in such files
2015-01-13 20:57:14 +03:00
Pavel V. Talanov 6dbe78cdff Fix CoreJavaFileManager for top level classes with dollar in name 2015-01-13 18:42:49 +03:00
Dmitry Jemerov d7fe3a8082 make it possible for Kotlin to extend JavaPsiFacadeImpl more easily 2015-01-09 15:29:07 +01:00
Dmitry Jemerov ffb5fff4e0 Revert "extract the caching of PsiElementFinders and dumb-aware filtering to a separate class (to enable reuse in Kotlin)"
This reverts commit 04c4b074c1.
2015-01-09 15:27:35 +01:00
Dmitry Jemerov 04c4b074c1 extract the caching of PsiElementFinders and dumb-aware filtering to a separate class (to enable reuse in Kotlin) 2015-01-09 14:34:11 +01:00
Anna Kozlova eef903064a ensure @NotNull 2015-01-08 19:54:17 +01:00
Anna Kozlova 777397d0d2 LambdaHighlightingUtil removed from java-psi-api 2015-01-07 16:37:40 +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
peter 6a91c7ebd4 IDEA-133994 Cannot resolve the default value of a stubbed annotation if the resolution is an inner enum 2015-01-05 16:09:07 +01:00
peter 9028a7b129 no simple property accessor folding in dumb mode (EA-63790) 2015-01-02 15:02:18 +01:00