Set perms on JavaMethod