Examples of copyAttributesFrom()


Examples of jadx.core.dex.nodes.InsnNode.copyAttributesFrom()

    InsnNode insn = new InsnNode(returnInsn.getType(), returnInsn.getArgsCount());
    if (returnInsn.getArgsCount() == 1) {
      RegisterArg arg = (RegisterArg) returnInsn.getArg(0);
      insn.addArg(InsnArg.reg(arg.getRegNum(), arg.getType()));
    }
    insn.copyAttributesFrom(returnInsn);
    insn.setOffset(returnInsn.getOffset());
    insn.setSourceLine(returnInsn.getSourceLine());
    return insn;
  }
View Full Code Here

Examples of jadx.core.dex.nodes.InsnNode.copyAttributesFrom()

      // replace 'move' with inner wrapped instruction
      if (insn.getType() == InsnType.MOVE
          && insn.getArg(0).isInsnWrap()) {
        InsnNode wrapInsn = ((InsnWrapArg) insn.getArg(0)).getWrapInsn();
        wrapInsn.setResult(insn.getResult());
        wrapInsn.copyAttributesFrom(insn);
        list.set(i, wrapInsn);
      }
    }
  }
View Full Code Here

Examples of nexj.core.meta.integration.CompositeMessagePart.copyAttributesFrom()

            if (((Integer)XSDMessageImporter.this.getMessageRegistry().m_msgRefCountMap.get(MessageRegistry.toKey(m_typeDef))).intValue() == 1)
            {
               if (m_partRef.getParent() != null && !m_partRef.isRefPartAncestor())  //when parent is null, we have several elements deriving off the same complex type
               {
                  CompositeMessagePart part = m_partRef.getRefPart();
                  part.copyAttributesFrom(m_partRef);
                  XSDMessageImporter.this.setMapping(part, null, m_sNodeName, m_sNamespace, m_bNillable, m_typeDef);
                  m_partRef.getParent().replacePart(m_partRef, part);
                  XSDMessageImporter.this.m_msgList.remove(msg);
               }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.