(refs #2)Move to Java reflection