Support static method references

 #KT-5123 Fixed