modify java interface