Package com.android.dx.rop.cst

Examples of com.android.dx.rop.cst.Constant.typeName()


      else
      {
        dexInstruction= new Element(sanitizeInstructionName(cstInsn.getOpcode().getName()), NS_DEX);
        Constant constant= cstInsn.getConstant();
        // TODO hack
        String type= constant.typeName();
        String name= "kind";
        if (!type.equals("field") && !type.equals("known-null") && !type.equals("type") && !type.equals("string"))
        {
          name= "type";
        }
View Full Code Here


        String name= "kind";
        if (!type.equals("field") && !type.equals("known-null") && !type.equals("type") && !type.equals("string"))
        {
          name= "type";
        }
        dexInstruction.setAttribute(name, constant.typeName());
        if (constant instanceof CstMemberRef)
        {
          CstMemberRef memberRef= (CstMemberRef) constant;
          String definingClassType= memberRef.getDefiningClass().getClassType().toHuman();
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.