add PECS wildcards to method signatures where necessary and where methods are not overridden by plugins

GitOrigin-RevId: 1ec7f1a1aa17d2d4f42e647207323ab8a3138683
This commit is contained in:
Alexey Kudravtsev
2019-05-13 15:57:11 +03:00
committed by intellij-monorepo-bot
parent a9d4500291
commit 44c620df51
924 changed files with 1947 additions and 1947 deletions

View File

@@ -134,7 +134,7 @@ public class ApproximateResolver {
}
@Nullable
public static Set<PsiClass> getDefiniteSymbolTypes(@NotNull List<? extends PsiMember> candidates, @NotNull Set<PsiClass> qualifierType) {
public static Set<PsiClass> getDefiniteSymbolTypes(@NotNull List<? extends PsiMember> candidates, @NotNull Set<? extends PsiClass> qualifierType) {
Set<PsiClass> possibleTypes = new HashSet<>();
for (PsiMember candidate : candidates) {
if (candidate instanceof PsiClass) {

View File

@@ -136,7 +136,7 @@ public class JavaFunctionalExpressionSearcher extends QueryExecutorBase<PsiFunct
private static void processIndexValues(List<? extends SamDescriptor> descriptors,
VirtualFile inFile,
FileBasedIndex.ValueProcessor<Map<Integer, FunExprOccurrence>> processor) {
FileBasedIndex.ValueProcessor<? super Map<Integer, FunExprOccurrence>> processor) {
for (SamDescriptor descriptor : descriptors) {
GlobalSearchScope scope = new JavaSourceFilterScope(descriptor.effectiveUseScope);
for (FunctionalExpressionKey key : descriptor.keys) {