Description
Since we upgraded the Java language requirement to Java 8, we can add the @FunctionalInterface annotation to ThreadGroupPredicate and ThreadPredicate.
Our initial plan of letting ThreadGroupPredicate and ThreadPredicate inherit vom Predicate is not possible since we have implementations that would then inherit from both Predicate<Thread> and Predicate<ThreadGroup> which is not possible.