class SetGraphicsStateParameters extends OperatorProcessor
{
    private static final Logger LOG = LogManager.getLogger(SetGraphicsStateParameters.class);

    public SetGraphicsStateParameters(PDFStreamEngine context)
    {
        super(context);
    }

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

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

        if (arguments.isEmpty())
        {
            throw new MissingOperandException(operator, arguments);
        }
        COSBase base0 = arguments.get(0);
        if (!(base0 instanceof COSName))
        {
            return;
        }
        
        // set parameters from graphics state parameter dictionary
        COSName graphicsName = (COSName) base0;
        PDFStreamEngine context = getContext();
        PDExtendedGraphicsState gs = context.getResources().getExtGState(graphicsName);
        if (gs == null)
        {
            LOG.error("name for 'gs' operator not found in resources: /{}", graphicsName.getName());
            return;
        }
        gs.copyIntoGraphicsState( context.getGraphicsState() );
    
<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