None of these are ever null after the VM has been initialized, as proved by virtually every caller immediately dereferencing the raw pointer.
The main missing feature here is form associated custom elements.