class Restore extends OperatorProcessor
{
    public Restore(PDFStreamEngine context)
    {
        super(context);
    }

    @Override
    public void process(Operator operator, List<COSBase> arguments) throws IOException
    {<FILL_FUNCTION_BODY>}

    @Override
    public String getName()
    {
        return OperatorName.RESTORE;
    }
}

        PDFStreamEngine context = getContext();
        if (context.getGraphicsStackSize() > 1)
        {
            context.restoreGraphicsState();
        }
        else
        {
            // this shouldn't happen but it does, see PDFBOX-161
            throw new EmptyGraphicsStackException();
        }
    
<methods>public boolean checkArrayTypesClass(List<org.apache.pdfbox.cos.COSBase>, Class<?>) ,public abstract java.lang.String getName() ,public abstract void process(org.apache.pdfbox.contentstream.operator.Operator, List<org.apache.pdfbox.cos.COSBase>) throws java.io.IOException<variables>private final non-sealed org.apache.pdfbox.contentstream.PDFStreamEngine context