Lines 1365-1375
Link Here
|
1365 |
if (isInnerBinaryTypeConstructor) |
1365 |
if (isInnerBinaryTypeConstructor) |
1366 |
parameterSignatures[0] = new String(enclosingType.genericTypeSignature()).replace('/', '.'); |
1366 |
parameterSignatures[0] = new String(enclosingType.genericTypeSignature()).replace('/', '.'); |
1367 |
for (int i = 0; i < length; i++) { |
1367 |
for (int i = 0; i < length; i++) { |
1368 |
parameterSignatures[declaringIndex + i] = new String(parameters[i].genericTypeSignature()).replace('/', '.'); |
1368 |
String signature = new String(parameters[i].genericTypeSignature()).replace('/', '.'); |
|
|
1369 |
if (!isBinary && signature.length() > 1 && signature.charAt(0) == Signature.C_RESOLVED) |
1370 |
signature = Signature.C_UNRESOLVED + signature.substring(1); |
1371 |
parameterSignatures[declaringIndex + i] = signature; |
1369 |
} |
1372 |
} |
1370 |
IMethod result = declaringType.getMethod(selector, parameterSignatures); |
1373 |
IMethod result = declaringType.getMethod(selector, parameterSignatures); |
1371 |
if (isBinary) |
1374 |
if (isBinary) |
1372 |
return (JavaElement) result; |
1375 |
return (JavaElement) result; |
|
|
1376 |
if (result.exists()) // if perfect match (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=249567 ) |
1377 |
return (JavaElement) result; |
1373 |
IMethod[] methods = null; |
1378 |
IMethod[] methods = null; |
1374 |
try { |
1379 |
try { |
1375 |
methods = declaringType.getMethods(); |
1380 |
methods = declaringType.getMethods(); |