diff --git a/android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/utils/Utils.kt b/android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/utils/Utils.kt index a26b56dd..b591be36 100644 --- a/android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/utils/Utils.kt +++ b/android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/utils/Utils.kt @@ -489,7 +489,7 @@ fun Int.addPublic(isAddPublic: Boolean):Int{ if (Modifier.isPublic(this)){ this }else{ - this + Opcodes.ACC_PUBLIC + this and (Opcodes.ACC_PRIVATE or Opcodes.ACC_PROTECTED).inv() or Opcodes.ACC_PUBLIC } }else{ this