This documentation is archived and is not being maintained.

JS1217: Static methods cannot be final

A method has both static and final modifiers. This is not allowed since static methods are already final. Static methods are associated with the class itself, and therefore cannot be overridden.

To correct this error

  • Remove either the static or final modifier from the method declaration.

Show: