Examples of RSField


Examples of ru.vassaev.core.db.RsField

    sb.append("\t\ttry {\n");
    ArrayList<RsField> oFlds = tp.getOLFlds(flds);
    int l = flds.length;
    Set<Class> exsl = new HashSet<Class>();
    for (int i = 0; i < l; i++) {
      RsField fld = oFlds.get(i);
      Method m = tp.getMethodLoadFromRs(fld);
      Class[] exs = m.getExceptionTypes();
      for (int j = exs.length - 1; j >= 0; j--)
        exsl.add(exs[j]);
View Full Code Here

Examples of ru.vassaev.core.db.RsField

        boolean b;
        if ((b = rs.next())) {
          cur.regResourceName(true, "row@first");
          do {
            for (int i = 0; i < flds.size(); i++) {
              RsField f = flds.get(i);
              Object o = rs.getObject(f.FIELD_NAME);
              if (o == null)
                o = Null.NULL;
              cur.regResourceName(o, "row." + f.FIELD_NAME);
              r.setObject(f.FIELD_NAME, o);
View Full Code Here

Examples of smart.updater.RSField

   
    return bytes == 1 && booleans == 1 && ints == 4;
  }
 
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSField myplayer = data.getProperField("MyPlayer");
    RSField pixelX = data.getProperField("PixelX");
    RSField pixelY = data.getProperField("PixelY");
        for (Entry<String, ClassGen> c : classes.entrySet()) {
            for (Method m : c.getValue().getMethods()) {
              ClassGen cg = new ClassGen(c.getValue().getJavaClass());
              ConstantPoolGen cpg = c.getValue().getConstantPool();
              MethodGen gen = new MethodGen(m, c.getValue().getClassName(), cpg);
View Full Code Here

Examples of smart.updater.RSField

public class LoopCycleStatus extends Search{

  @Override
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSField loopcycle = data.getProperField("LoopCycle");
    RSClass player = data.getProperClass("Player");
    RSClass character = data.getProperClass("Character");
    if(loopcycle == null)
      return SearchResult.Failure;
    for(Entry<String, ClassGen> c : classes.entrySet()){
View Full Code Here

Examples of smart.updater.RSField

public class PlayerName extends Search{

  @Override
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSClass player = data.getProperClass("Player");
    RSField myplayer = data.getProperField("MyPlayer");
    for(Entry<String, ClassGen> c : classes.entrySet()){
      ClassGen cg = new ClassGen(c.getValue().getJavaClass());
      ConstantPoolGen cpg = cg.getConstantPool();
      int count = 0;
      for(Method m : cg.getMethods()){
View Full Code Here

Examples of smart.updater.RSField

              if (il == null) {
                 continue;
              }
              InstructionSearcher iS = new InstructionSearcher(il, cpg);
            MethodSearcher mS = new MethodSearcher(m, cg, cpg);
            RSField menuOpCount = data.getProperField("MenuOptionCount");
            if (m.isStatic() && m.isFinal() && m.getReturnType().equals(Type.VOID) && mS.getArgCount() == 11 &&
                mS.getTypeCount("int")>= 3 && mS.hasField(menuOpCount.path)) {
                if(iS.nextFieldInstructionOf(menuOpCount.path)!=null){
                  FieldInstruction i = null;
                  i = (FieldInstruction)iS.prevGETSTATIC();
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.