add a java time profile util

I add a java time profile util for someone to do time profile in this project.
I have used this class to profile inspections time in plugin.
It save some time to write a lot of time profile code.
It is for java, not for golang. And it is free.