Hi Jan,
a migration from the Guava API to the Java 8 API for Predicate, Function and Optional makes sense. We also use Preconditions, Stopwatch, SettableFuture, Ordering and Immutable{List,Set} from Guava.
I checked the master branch in Guava and they didn't add @FunctionalInterface to Predicate et. al. However at least with IntelliJ everything works fine with Guava Predicates and Lambdas.
SSCCE:
~~~java
import com.google.common.base.Function;
import com.google.common.base.Predicate;
public class GuavaFunctionalInterface {
public static void main(String[] args) {
predicate((text) -> text.length() > 10);
function((text) -> text.length() > 10);
}
public static void predicate(Predicate<String> stringPredicate) {}
public static void function(Function<String, Boolean> stringBooleanFunction) {}
}
~~~
--Benjamin