mirror of
https://github.com/revanced/smali.git
synced 2025-05-08 02:14:32 +02:00
Fix possible NPE when generating accessor comments
This commit is contained in:
parent
152250d900
commit
961c21be98
@ -432,7 +432,8 @@ public class MethodDefinition {
|
||||
});
|
||||
}
|
||||
|
||||
if (classDef.options.accessorComments && (instruction instanceof ReferenceInstruction)) {
|
||||
if (classDef.options.accessorComments && classDef.options.syntheticAccessorResolver != null &&
|
||||
(instruction instanceof ReferenceInstruction)) {
|
||||
Opcode opcode = instruction.getOpcode();
|
||||
|
||||
if (opcode.referenceType == ReferenceType.METHOD) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user