added a cache for method references

now setting classes to interfaces if we have interface invocations on phantom classes
narf
implicitly fixing interface -> virtual
fixing a Java warning
Merge remote-tracking branch 'origin/develop' into develop-patches