void (@Nullable ButtonlessScrollBarUI.ScrollbarRepaintCallback callback) { if (myPersistentUI instanceof ButtonlessScrollBarUI) { ((ButtonlessScrollBarUI)myPersistentUI).registerRepaintCallback(callback); } }