mirror of
https://github.com/revanced/smali.git
synced 2025-05-11 11:54:29 +02:00
Don't add an empty .param annotation when not writing debug info
This commit is contained in:
parent
ccf087b0dd
commit
d6b17b9935
@ -320,7 +320,7 @@ public class MethodDefinition {
|
||||
String parameterType = parameter.getType();
|
||||
String parameterName = parameter.getName();
|
||||
Collection<? extends Annotation> annotations = parameter.getAnnotations();
|
||||
if (parameterName != null || annotations.size() != 0) {
|
||||
if ((options.outputDebugInfo && parameterName != null) || annotations.size() != 0) {
|
||||
writer.write(".param p");
|
||||
writer.printSignedIntAsDec(registerNumber);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user