String findKnownSymbol(int sid)
    {
        String name = null;

        if (sid <= myMaxId)
        {
            int i, previousBaseSid = 0;
            for (i = 1; i < myImports.length; i++)
            {
                int baseSid = myBaseSids[i];
                if (sid <= baseSid)
                {
                    break;
                }
                previousBaseSid = baseSid;
            }

            // if we run over myImports.length, the sid is in the last symtab
            int importScopedSid = sid - previousBaseSid;
            name = myImports[i-1].findKnownSymbol(importScopedSid);
        }

        return name;
    }
String findKnownSymbol ( int sid ) { String name = null ; if ( sid <= myMaxId ) { int i , previousBaseSid = 0 ; for ( i = 1 ; i < myImports . length ; i ++ ) { int baseSid = myBaseSids [ i ] ; if ( sid <= baseSid ) { break ; } previousBaseSid = baseSid ; } int importScopedSid = sid - previousBaseSid ; name = myImports [ i - 1 ] . findKnownSymbol ( importScopedSid ) ; } return name ; }
==========================================================================