is_static_reference = ((MemberAccessExpressionNode)iNode).getLeftOperandNode().resolve(project) instanceof ClassDefinition;
}
}
else if ( iNode instanceof FunctionCallNode && ((FunctionCallNode)iNode).getNameNode() instanceof MemberAccessExpressionNode )
{
MemberAccessExpressionNode member_node = (MemberAccessExpressionNode) ((FunctionCallNode)iNode).getNameNode();
TypeDefinitionBase type = (TypeDefinitionBase)member_node.getLeftOperandNode().resolveType(project);
if ( type != null )
{
starting_scope = type.getContainedScope();
is_static_reference = member_node.getLeftOperandNode().resolve(project) instanceof ClassDefinition;
}
}
else if ( isInInstanceFunction(iNode, project) )
{
starting_scope = getClassScope(iNode, project);