mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
override/implement: ensure MemberImplementorExplorer can provide multiple methods to implement (IDEA-233075)
hand made signatures are merged together by map with comparator GitOrigin-RevId: dbce3f1f80091c9fdcb8e67c9a98cfea07b364f6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0c5bf65e7a
commit
7526651cf8
+1
-3
@@ -157,9 +157,7 @@ public class OverrideImplementExploreUtil {
|
||||
if (explorersProvider != null) {
|
||||
for (final MemberImplementorExplorer implementor : explorersProvider.getExplorers()) {
|
||||
for (final PsiMethod method : implementor.getMethodsToImplement(aClass)) {
|
||||
MethodSignature signature = MethodSignatureUtil.createMethodSignature(method.getName(), method.getParameterList(),
|
||||
method.getTypeParameterList(), PsiSubstitutor.EMPTY,
|
||||
method.isConstructor());
|
||||
MethodSignature signature = MethodSignatureBackedByPsiMethod.create(method, PsiSubstitutor.EMPTY);
|
||||
CandidateInfo info = new CandidateInfo(method, PsiSubstitutor.EMPTY);
|
||||
result.put(signature, info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user