Package smart.updater

Examples of smart.updater.InstructionSearcher2


        if(m.isStatic() && m.isFinal() && m.getReturnType().equals(Type.VOID) && m.getArgumentTypes().length == 7){
          MethodGen mg = new MethodGen(m, cg.getClassName(), cpg);
          InstructionList il = mg.getInstructionList();
          if(il == null)
            continue;
          InstructionSearcher2 iS = new InstructionSearcher2(cg, m, il);
          if(iS.nextSIPUSH(255) != null){
            FieldInstruction fi = iS.previousGETFIELD();
            if(fi != null && fi.getClassName(cpg).equals(character.className)){
              fi = iS.nextGETFIELD();
              if(fi != null && fi.getClassName(cpg).equals(character.className)){
                character.addField("HPRatio", fi.getFieldName(cpg));
                return SearchResult.Success;
              }
            }
View Full Code Here

TOP

Related Classes of smart.updater.InstructionSearcher2

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.