Add java stub, add varible parsing