Make a distinction at compile time between bind types for static variables getStaticVariables remains unchanged Fixes #80071