Examples of nextPUTFIELD()


Examples of smart.updater.InstructionSearcher.nextPUTFIELD()

            InstructionSearcher iS = new InstructionSearcher(il, cpg);
            while(iS.next() != null){
              Instruction i = iS.current();
              if(i instanceof LDC){
                if(((LDC) i).getValue(cpg).equals(-32768)){
                  i = iS.nextPUTFIELD();
                  character.addField("GetHeight", ((PUTFIELD) i).getFieldName(cpg));
                  return SearchResult.Success;
                }
              }
            }
View Full Code Here

Examples of smart.updater.InstructionSearcher.nextPUTFIELD()

              mS.getArgCount() == 1){
            RSClass npcnode = data.addClass("NPCNode", c.getValue().getClassName());
            MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
            InstructionList il = mg.getInstructionList();
            InstructionSearcher iS = new InstructionSearcher(il, cpg);
            Instruction i = iS.nextPUTFIELD();
            npcnode.addField("GetNPC", ((PUTFIELD) i).getFieldName(cpg));
            return SearchResult.Success;
          }
        }
      }
View Full Code Here

Examples of smart.updater.InstructionSearcher2.nextPUTFIELD()

            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(-300) != null){
            FieldInstruction fi = iS.previousGETSTATIC();
            if(fi != null && (fi.getClassName(cpg)+'.'+fi.getFieldName(cpg)).equals(loopcycle.path)){
              fi = iS.nextPUTFIELD();
              if(fi != null && fi.getClassName(cpg).equals(character.className)){
                character.addField("LoopCycleStatus", fi.getFieldName(cpg));
                return SearchResult.Success;
              }
            }
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.