move smart completion assignability checking closer to reference processor to fix
commit41f136134dfc0650dfda376521abbc6064d94a95
authorpeter <peter.gromov@jetbrains.com>
Wed, 14 Oct 2009 22:40:35 +0000 (14 23:40 +0100)
committerpeter <peter.gromov@jetbrains.com>
Wed, 14 Oct 2009 22:43:34 +0000 (14 23:43 +0100)
tree061d99d81fae7fe551a0e99e9f5aad6a7a3cae4a
parent2d561686f42fd2e51ea9436a3f41033ab03287a7
move smart completion assignability checking closer to reference processor to fix
IDEADEV-40813 Smart completion inside "​if" statement with "​instanceof" in condition doesn​'​t suggest method with generic return type
15 files changed:
java/java-impl/src/com/intellij/codeInsight/completion/BasicExpressionCompletionContributor.java
java/java-impl/src/com/intellij/codeInsight/completion/CollectionsUtilityMethodsProvider.java
java/java-impl/src/com/intellij/codeInsight/completion/ExpressionSmartCompletionContributor.java
java/java-impl/src/com/intellij/codeInsight/completion/JavaCompletionUtil.java
java/java-impl/src/com/intellij/codeInsight/completion/JavaMethodCallElement.java
java/java-impl/src/com/intellij/codeInsight/completion/JavaSmartCompletionContributor.java
java/java-impl/src/com/intellij/codeInsight/completion/PreferNonGenericWeigher.java
java/java-impl/src/com/intellij/codeInsight/completion/ReferenceExpressionCompletionContributor.java
java/java-impl/src/com/intellij/codeInsight/completion/SmartCompletionDecorator.java
java/java-impl/src/com/intellij/codeInsight/lookup/KeywordLookupItem.java
java/java-impl/src/com/intellij/codeInsight/lookup/LookupItemUtil.java
java/java-impl/src/com/intellij/codeInsight/lookup/VariableLookupItem.java [new file with mode: 0644]
java/java-impl/src/com/intellij/psi/filters/FilterUtil.java
java/java-impl/src/com/intellij/psi/filters/getters/MembersGetter.java
java/java-impl/src/com/intellij/psi/filters/types/AssignableFromFilter.java