Despite the similar syntax, class not a static member of each class. The C.class expression is called a class literal and is a special syntax that the compiler understands.
It is defined in the specification :
A class literal is an expression consisting of the name of a class, interface, array, or primitive type or pseudo-type void followed by '.' and class token.
source share