Added code to extract token entropy from java code