Annotate single-method as a functional interface