Minor: changes on review
This commit is contained in:
@@ -177,18 +177,6 @@ public class InterfaceImplBodyCodegen(
|
|||||||
|
|
||||||
override fun getDelegate() = v
|
override fun getDelegate() = v
|
||||||
|
|
||||||
override fun newField(
|
|
||||||
origin: JvmDeclarationOrigin,
|
|
||||||
access: Int,
|
|
||||||
name: String,
|
|
||||||
desc: String,
|
|
||||||
signature: String?,
|
|
||||||
value: Any?
|
|
||||||
): FieldVisitor {
|
|
||||||
if (shouldCount) isAnythingGenerated = true
|
|
||||||
return super.newField(origin, access, name, desc, signature, value)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun newMethod(
|
override fun newMethod(
|
||||||
origin: JvmDeclarationOrigin,
|
origin: JvmDeclarationOrigin,
|
||||||
access: Int,
|
access: Int,
|
||||||
@@ -197,13 +185,10 @@ public class InterfaceImplBodyCodegen(
|
|||||||
signature: String?,
|
signature: String?,
|
||||||
exceptions: Array<out String>?
|
exceptions: Array<out String>?
|
||||||
): MethodVisitor {
|
): MethodVisitor {
|
||||||
if (shouldCount) isAnythingGenerated = true
|
if (shouldCount) {
|
||||||
|
isAnythingGenerated = true
|
||||||
|
}
|
||||||
return super.newMethod(origin, access, name, desc, signature, exceptions)
|
return super.newMethod(origin, access, name, desc, signature, exceptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun newAnnotation(desc: String, visible: Boolean): AnnotationVisitor {
|
|
||||||
if (shouldCount) isAnythingGenerated = true
|
|
||||||
return super.newAnnotation(desc, visible)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user