protected Object getMemberValue(
org.eclipse.jdt.internal.core.MemberValuePair memberValuePair,
Expression expression) {
if (expression instanceof CompletionOnSingleNameReference) {
CompletionOnSingleNameReference reference = (CompletionOnSingleNameReference) expression;
if (reference.token.length == 0) return null;
} else if (expression instanceof CompletionOnQualifiedNameReference) {
CompletionOnQualifiedNameReference reference = (CompletionOnQualifiedNameReference) expression;
if (reference.tokens[reference.tokens.length - 1].length == 0) return null;
}