mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 08:34:25 +02:00
Misc cleanup/refactoring
git-svn-id: https://smali.googlecode.com/svn/trunk@205 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
bf4ca730cc
commit
56d16a23f6
@ -55,12 +55,8 @@ public class MethodDefinition {
|
||||
this.parameterAnnotations = parameterAnnotations;
|
||||
}
|
||||
|
||||
private String methodName = null;
|
||||
public String getMethodName() {
|
||||
if (methodName == null) {
|
||||
methodName = methodIdItem.getMethodName();
|
||||
}
|
||||
return methodName;
|
||||
return methodIdItem.getMethodName().getStringValue();
|
||||
}
|
||||
|
||||
private List<String> accessFlags = null;
|
||||
|
@ -40,7 +40,7 @@ public class MethodReference extends Reference<MethodIdItem> {
|
||||
}
|
||||
|
||||
public String getMethodName() {
|
||||
return item.getMethodName();
|
||||
return item.getMethodName().getStringValue();
|
||||
}
|
||||
|
||||
public String getPrototype() {
|
||||
|
@ -79,8 +79,8 @@ public class MethodIdItem extends IndexedItem<MethodIdItem> {
|
||||
return prototypeReferenceField.getReference();
|
||||
}
|
||||
|
||||
public String getMethodName() {
|
||||
return methodNameReferenceField.getReference().getStringValue();
|
||||
public StringIdItem getMethodName() {
|
||||
return methodNameReferenceField.getReference();
|
||||
}
|
||||
|
||||
public int getParameterRegisterCount(boolean isStatic) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user