ASTNode parent = topReference.getParent();
if(parent instanceof ExpReference) {
parent = parent.getParent();
}
if(parent instanceof ExpCall) {
ExpCall expCall = (ExpCall) parent;
int length = expCall.args == null ? 0 : expCall.args.size();
String methodName = elem.getCoreReferenceName(); // Dont use qualified name
if(methodName != null) {
requestor.acceptMethodReference(methodName, length, elem.getStartPos(), elem.getEndPos()-1);
}