MAINT-4274: make debug var final for inner class visibility