modify java classes