return safe class name at getInitClassFromSource
add null check at Type.fromNativePointer
Fix: class lookup fallback
Update test case
Merge pull request #46 from infosia/type_safe_resolve

Type safe resolve