// case IIndexConstants.LOCAL_VAR_PATTERN: {
// LocalVariablePattern varPattern = (LocalVariablePattern) pattern;
// return new DeeNodePatternMatcher2Extension(deeMatchLocator, pattern, varPattern.name, null, null);
// }
case IIndexConstants.METHOD_PATTERN: {
MethodPattern methodPattern = (MethodPattern) pattern;
char[] simpleName = methodPattern.selector;
char[] qualification = CharOperation.concat(methodPattern.declaringQualificationName,
methodPattern.declaringSimpleName, '$');
return new DeeNameNodeMatcher(deeMatchLocator, pattern, methodPattern.findDeclarations,
simpleName, qualification);