With Java reflection