fix #824, accept normal Java syntax for static members