View | Details | Raw Unified | Return to bug 99600
Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java (-1 / +3 lines)
Lines 1521-1527 Link Here
1521
			// it's just for debug purposes... ignore all exceptions in this area
1521
			// it's just for debug purposes... ignore all exceptions in this area
1522
		}
1522
		}
1523
		try {
1523
		try {
1524
			System.out.println("\tJava element: " + ((JavaElement)match.getElement()).toStringWithAncestors()); //$NON-NLS-1$
1524
			JavaElement javaElement = (JavaElement)match.getElement();
1525
			System.out.println("\tJava element: "+ javaElement.toStringWithAncestors()); //$NON-NLS-1$
1526
			if (!javaElement.exists()) System.out.println("\t\tWARNING: this element does NOT exist!"); //$NON-NLS-1$
1525
		} catch (Exception e) {
1527
		} catch (Exception e) {
1526
			// it's just for debug purposes... ignore all exceptions in this area
1528
			// it's just for debug purposes... ignore all exceptions in this area
1527
		}
1529
		}
(-)search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java (+3 lines)
Lines 452-457 Link Here
452
	String[] parameterTypes = new String[parameterLength];
452
	String[] parameterTypes = new String[parameterLength];
453
	for (int i = 0; i  < parameterLength; i++) {
453
	for (int i = 0; i  < parameterLength; i++) {
454
		char[] typeName = parameters[i].shortReadableName();
454
		char[] typeName = parameters[i].shortReadableName();
455
		if (parameters[i].isMemberType()) {
456
			typeName = CharOperation.subarray(typeName, CharOperation.indexOf('.', typeName)+1, typeName.length);
457
		}
455
		parameterTypes[i] = Signature.createTypeSignature(typeName, false);
458
		parameterTypes[i] = Signature.createTypeSignature(typeName, false);
456
	}
459
	}
457
	IMethod method = type.getMethod(new String(bindingSelector), parameterTypes);
460
	IMethod method = type.getMethod(new String(bindingSelector), parameterTypes);

Return to bug 99600