SFunction and FunctionNode contain custom code for generating the "execute" method for Painless contexts. All this code should decorate the ir tree as internal nodes inserted into the ir tree via an external phase. There's no reason for SFunction and FunctionNode to be aware of the "execute" method.
Relates to: #49869
SFunction and FunctionNode contain custom code for generating the "execute" method for Painless contexts. All this code should decorate the ir tree as internal nodes inserted into the ir tree via an external phase. There's no reason for SFunction and FunctionNode to be aware of the "execute" method.
Relates to: #49869