looking through the java source.