ikej
01/18/2017, 9:13 PMKotlinTypeMapper for a PSI Element, the only way to get one that works with both 1.0 and 1.1 is to call IdeaKotlinUastBindingContextProviderService().getTypeMapper. This is in the android-lint-jar and not available as a project service in the IDEA plugin, so I have to instantiate it directly.
2. To find a containing class name for a given PSI element, I use DebuggerClassNameProvider(DebugProcessEvents(project), listOf(GlobalSearchScope.allScope(project))). Looking at the history, also seems to be an area that is subject to change.
Would you consider adding an API that provides access to these two mappings?