It's an anonymous class though... so while yes the method is public, it's not really accessible other than via reflection.