"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/android-extensions/android-extensions-compiler/src/org/jetbrains/kotlin/android/synthetic/codegen/AndroidOnDestroyClassBuilderInterceptorExtension.kt" between
kotlin-1.3.20.tar.gz and kotlin-1.3.21.tar.gz

About: Kotlin is a Java like statically typed programming language for the JVM, Android and the browser. Source code.

AndroidOnDestroyClassBuilderInterceptorExtension.kt  (kotlin-1.3.20):AndroidOnDestroyClassBuilderInterceptorExtension.kt  (kotlin-1.3.21)
skipping to change at line 104 skipping to change at line 104
} }
override fun newMethod( override fun newMethod(
origin: JvmDeclarationOrigin, origin: JvmDeclarationOrigin,
access: Int, access: Int,
name: String, name: String,
desc: String, desc: String,
signature: String?, signature: String?,
exceptions: Array<out String>? exceptions: Array<out String>?
): MethodVisitor { ): MethodVisitor {
return object : MethodVisitor(Opcodes.ASM5, super.newMethod(origin, access, name, desc, signature, exceptions)) { return object : MethodVisitor(Opcodes.API_VERSION, super.newMethod(o rigin, access, name, desc, signature, exceptions)) {
override fun visitInsn(opcode: Int) { override fun visitInsn(opcode: Int) {
if (opcode == Opcodes.RETURN) { if (opcode == Opcodes.RETURN) {
generateClearCacheMethodCall() generateClearCacheMethodCall()
} }
super.visitInsn(opcode) super.visitInsn(opcode)
} }
private fun generateClearCacheMethodCall() { private fun generateClearCacheMethodCall() {
val currentClass = currentClass val currentClass = currentClass
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)