getsp.class has source tools/getsp.java. It is installed for use by R CMD javareconf.