Scalameter for java code