Package com.android.dx.rop.cst

Examples of com.android.dx.rop.cst.CstMemberRef


        if (index >= 0) {
            insn.setIndex(index);
        }

        if (cst instanceof CstMemberRef) {
            CstMemberRef member = (CstMemberRef) cst;
            CstType definer = member.getDefiningClass();
            index = callback.getIndex(definer);
            if (index >= 0) {
                insn.setClassIndex(index);
            }
        }
View Full Code Here


      else
      {
        Constant constant= cstInsn.getConstant();
        if (constant instanceof CstMemberRef)
        {
          CstMemberRef memberRef= (CstMemberRef) constant;

          methodDeps.addDependency(memberRef.getDefiningClass().getClassType().toHuman(), memberRef.getNat().getName().toHuman());

          // dependencies.add(memberRef.getNat().getFieldType().getType().toHuman());
        }
      }
    }
View Full Code Here

      insn.setIndex(index);
  }

  if (cst instanceof CstMemberRef)
  {
      CstMemberRef member= (CstMemberRef) cst;
      CstType definer= member.getDefiningClass();
      index= callback.getIndex(definer);
      if (index >= 0)
      {
    insn.setClassIndex(index);
      }
View Full Code Here

          name= "type";
        }
        dexInstruction.setAttribute(name, constant.typeName());
        if (constant instanceof CstMemberRef)
        {
          CstMemberRef memberRef= (CstMemberRef) constant;
          String definingClassType= memberRef.getDefiningClass().getClassType().toHuman();

          dexInstruction.setAttribute("class-type", definingClassType);
          addReference(referencedTypes, definingClassType, ReferenceKind.USAGE);
          CstNat nameAndType= memberRef.getNat();
          String memberType= nameAndType.getFieldType().getType().toHuman();
          dexInstruction.setAttribute("member-type", memberType);
          addReference(referencedTypes, memberType, ReferenceKind.USAGE);
          String memberName= nameAndType.getName().toHuman();
          dexInstruction.setAttribute("member-name", memberName);
View Full Code Here

TOP

Related Classes of com.android.dx.rop.cst.CstMemberRef

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.