mirror of
https://github.com/revanced/smali.git
synced 2025-05-06 17:34:34 +02:00
Add getters for inWords and outWords in CodeItem
This commit is contained in:
parent
66b89545a4
commit
7d37656282
@ -364,6 +364,20 @@ public class CodeItem extends Item<CodeItem> {
|
|||||||
return debugInfo;
|
return debugInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the number of 2-byte words that the parameters to the method containing this code take
|
||||||
|
*/
|
||||||
|
public int getInWords() {
|
||||||
|
return inWords;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the maximum number of 2-byte words for the arguments of any method call in this code
|
||||||
|
*/
|
||||||
|
public int getOutWords() {
|
||||||
|
return outWords;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the <code>MethodIdItem</code> of the method that this <code>CodeItem</code> is associated with
|
* Sets the <code>MethodIdItem</code> of the method that this <code>CodeItem</code> is associated with
|
||||||
* @param encodedMethod the <code>EncodedMethod</code> of the method that this <code>CodeItem</code> is associated
|
* @param encodedMethod the <code>EncodedMethod</code> of the method that this <code>CodeItem</code> is associated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user