There are so many problems with this code.

You don't have all the correct imports imported and you have made silly mistakes with method capitalization.
For example, st.nexttoken(); needs to be...