# Method Reference

A compact lambda form that points to an existing method with ::.

## What is **Method Reference** in Java?

**Method Reference** — A compact lambda form that points to an existing method with ::.

```java
import java.util.function.Function;

class LabelFormatter {
    Function<String, String> uppercase = String::toUpperCase;
}
```

Level: Freelancer · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/method-reference
