look for a variable of class type defined in a function body:

    T function()
    {
        SomeClass temp;
        temp.func();
    }