core: fix NPE in loops processing
core: fix inner class handling in classpath and signature parser