Last Updated: June 6, 2026
A method reference is a shorthand for a lambda that does nothing but call an existing method. Any lambda of the form x -> someMethod(x) can be expressed as Type::someMethod or instance::someMethod. This lesson covers the four kinds, how the compiler decides which one a piece of syntax means, and the few situations where the shorthand can't replace the lambda.