fix "inner class may be static" inspection problems