There is an error message in ABAP objects for:
METHOD ...
STATICS s ...
...
ENDMETHOD.
Reason:
The STATICS statement in a method corresponds
to a CLASS-DATA statement, where the visibility of the declared data objects is limited to the method. This is a potential source of misunderstanding in instance methods.
Overview:
Replacement for Obsolete Statements ABAP Objects