Scalameter for java code

Here is the code to make Scalameter compatible with java code.