added MetricsFilterJava

We should have a comment that this indirection is due to `default` being a reserved word in Java.