Package jadx.core.dex.attributes.nodes

Examples of jadx.core.dex.attributes.nodes.MethodInlineAttr


      }
    }
  }

  private static void addInlineAttr(MethodNode mth, InsnNode insn) {
    mth.addAttr(new MethodInlineAttr(insn));
    mth.add(AFlag.DONT_GENERATE);
  }
View Full Code Here


    }
    return false;
  }

  private boolean inlineMethod(MethodNode callMthNode, InvokeNode insn, CodeWriter code) throws CodegenException {
    MethodInlineAttr mia = callMthNode.get(AType.METHOD_INLINE);
    if (mia == null) {
      return false;
    }
    InsnNode inl = mia.getInsn();
    if (callMthNode.getMethodInfo().getArgumentsTypes().isEmpty()) {
      makeInsn(inl, code, Flags.BODY_ONLY);
    } else {
      // remap args
      InsnArg[] regs = new InsnArg[callMthNode.getRegsCount()];
View Full Code Here

TOP

Related Classes of jadx.core.dex.attributes.nodes.MethodInlineAttr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.