Accessing Static Members by the Descendant Class Name (ASMDCN)

Description:

Static members should be referenced by the names of classes where these members are defined. If static member is referenced through descendant type the error message is generated.

Example:

   class Elephant extends Animal {
   }

   class Animal {
      public static int attr; 
   }

   Elephant.attr = 0; //error