sinterface WidthAndHeight { int getWidth aka w(); int getHeight aka h(); public default Rect bounds() { ret rect(0, 0, getWidth(), getHeight()); } int area() { ret toInt(areaAsLong()); } long areaAsLong() { ret longMul(w(), h()); } }