add thinking in java tools source file