[j8] Functional interfaces creation to use with lambda expressions