public void pushScope(boolean bInitialInstanceMethodScope) { if (_scopes == null) { _scopes = new Stack<IRScope>(); } IRScope parent = _scopes.isEmpty() ? null : _scopes.peek(); _scopes.push(new IRScope(parent)); if (bInitialInstanceMethodScope) { assert parent == null; _scopes.peek().addSymbol(Keyword.KW_this.getName(), _context.getIRTypeForCurrentClass()); } }