Convert GenerationState: actual conversion

This commit is contained in:
Alexey Tsvetkov
2015-07-16 19:59:32 +03:00
parent 4476dd934c
commit 224bf7fb43
10 changed files with 128 additions and 273 deletions
@@ -261,7 +261,7 @@ public class AndroidExpressionCodegenExtension : ExpressionCodegenExtension {
methodVisitor.visitCode()
val iv = InstructionAdapter(methodVisitor)
val classType = state.getTypeMapper().mapClass(descriptor)
val classType = state.typeMapper.mapClass(descriptor)
val className = classType.getInternalName()
fun loadCache() {
@@ -282,7 +282,7 @@ public class AndroidExpressionCodegenExtension : ExpressionCodegenExtension {
}
private fun SyntheticPartsGenerateContext.generateCachedFindViewByIdFunction() {
val classType = state.getTypeMapper().mapClass(descriptor)
val classType = state.typeMapper.mapClass(descriptor)
val className = classType.getInternalName()
val viewType = Type.getObjectType("android/view/View")