Impossible to display modification in shortcode code?

I’m pretty sure it’s this line:

$this->function = static::className().'::getCallBack';

I believe this is going to be the name of the abstract class. You may want to try get_called_class() or something similar.

Try logging the $this->function to see what the name of the class is.