Explicit receiver parameters

from blog Stephen Colebourne's blog, | ↗ original
I discovered that Java 8 has a language feature I'd never heard of before today! Explicit receiver parameters Consider a simple method in Java 7: public class Currency { public String getCode() { ... } } In Java 8, it turns out there is a second way to write the method: public class Currency { public String getCode(Currency this) { ......