Predicate hasUsefulBody
A predicate to find non-trivial method implementations.
(A trivial implementation is either abstract, or it just
throws UnsupportedOperationException
or similar.)
Import path
import semmle.code.java.deadcode.DeadCode
predicate hasUsefulBody(Callable c)