Move "static" attribute into MethodDefinition and eliminate AST.ClassElement.