static variables code generation