use of jadx.gui.device.debugger.smali.Smali in project jadx by skylot.
the class DebugController method openMainActivityTab.
private void openMainActivityTab(JClass mainActivity) {
String fullID = DbgUtils.getRawFullName(mainActivity) + "." + ONCREATE_SIGNATURE;
Smali smali = DbgUtils.getSmali(mainActivity.getCls().getClassNode());
int pos = smali.getMethodDefPos(fullID);
int finalPos = Math.max(1, pos);
debuggerPanel.scrollToSmaliLine(mainActivity, finalPos, true);
}
Aggregations