Statics in non-static methods, constructors, inner-class et al

I was trying some code on inner classes. It mentions that static variables can only be declared in static classes or top level classes.

I was just wondering, where else can static variables and methods be declared? Of course they are allowed in the class code and static methods. But cannont be declared in methods, construcors, non-static inner classes and anonymous classes.