elem = new AnnotationDoubleElem((Double) value, 'D', name); } else if (value instanceof String) { elem = new AnnotationStringElem(value.toString(), 's', name); } else if (value instanceof Type) { Type t = (Type) value;
result.append(".str_kind "); result.append("\"" + elem.getName() + "\" "); result.append(soot.util.StringTools.getQuotedStringOf(((AnnotationStringElem) elem).getValue())); result.append("\n"); break;
String[] split1 = e.getValue().split("\\ \\|"); String classString = split1[0]; String methodString = split1[1]; accessFlags = ((AnnotationIntElem) ele).getValue(); } else if (ele instanceof AnnotationStringElem && ele.getName().equals("name")) { name = ((AnnotationStringElem) ele).getValue(); } else { throw new RuntimeException("Unexpected inner class annotation element"); for (AnnotationElem ae : arre.getValues()) { AnnotationStringElem s = (AnnotationStringElem) ae; sig += s.getValue();
cp_info cval = coffiClass.constant_pool[cev.constant_value_index]; String constant_val = ((CONSTANT_Utf8_info) cval).convert(); AnnotationStringElem elem = new AnnotationStringElem(constant_val, kind, elemName); list.add(elem);
return new ImmutableStringEncodedValue(e.getValue()); AnnotationStringElem e = (AnnotationStringElem) elem; String fSig = e.getValue(); String[] sp = fSig.split(" "); String classString = SootToDexUtils.getDexClassName(sp[0].split(":")[0]); AnnotationStringElem e = (AnnotationStringElem) elem; String[] sp = e.getValue().split(" "); String classString = SootToDexUtils.getDexClassName(sp[0].split(":")[0]); if (classString.isEmpty()) {
sigElements.add(new AnnotationStringElem(s, 's', "value"));
} else if (elem instanceof AnnotationStringElem) { AnnotationStringElem stringElem = (AnnotationStringElem) elem; val = stringElem.getValue(); } else if (elem instanceof AnnotationClassElem) { AnnotationClassElem classElem = (AnnotationClassElem) elem;
list.add(new soot.tagkit.AnnotationFloatElem(getExpr().constant().floatValue(), kind, name)); else if(type.isString()) list.add(new soot.tagkit.AnnotationStringElem(getExpr().constant().stringValue(), kind, name)); else if(type.isIntegralType()) list.add(new soot.tagkit.AnnotationIntElem(getExpr().constant().intValue(), kind, name));
elem = new AnnotationStringElem(v.getValue(), 's', ae.getName()); break; fieldSig += DexType.toSootAT(fr.getType()) + " "; fieldSig += fr.getName(); elem = new AnnotationStringElem(fieldSig, 'f', ae.getName()); break; elem = new AnnotationStringElem(mSig, 'M', ae.getName()); break; elem = new AnnotationStringElem(null, 'N', ae.getName()); break;
cp_info cval = coffiClass.constant_pool[cev.constant_value_index]; String constant_val = ((CONSTANT_Utf8_info)cval).convert(); AnnotationStringElem elem = new AnnotationStringElem(constant_val, kind, elemName); list.add(elem);
cp_info cval = coffiClass.constant_pool[cev.constant_value_index]; String constant_val = ((CONSTANT_Utf8_info)cval).convert(); AnnotationStringElem elem = new AnnotationStringElem(constant_val, kind, elemName); list.add(elem);