Tabnine Logo
ImmutableTypeEncodedValue
Code IndexAdd Tabnine to your IDE (free)

How to use
ImmutableTypeEncodedValue
in
org.jf.dexlib2.immutable.value

Best Java code snippets using org.jf.dexlib2.immutable.value.ImmutableTypeEncodedValue (Showing top 15 results out of 315)

origin: Sable/soot

private Set<Annotation> buildMethodAnnotations(SootMethod m) {
 Set<String> skipList = new HashSet<String>();
 Set<Annotation> annotations = buildCommonAnnotations(m, skipList);
 for (Tag t : m.getTags()) {
  if (t.getName().equals("VisibilityAnnotationTag")) {
   List<ImmutableAnnotation> visibilityItems = buildVisibilityAnnotationTag((VisibilityAnnotationTag) t, skipList);
   annotations.addAll(visibilityItems);
  }
 }
 List<SootClass> exceptionList = m.getExceptionsUnsafe();
 if (exceptionList != null && !exceptionList.isEmpty()) {
  List<ImmutableEncodedValue> valueList = new ArrayList<ImmutableEncodedValue>(exceptionList.size());
  for (SootClass exceptionClass : exceptionList) {
   valueList.add(new ImmutableTypeEncodedValue(DexType.toDalvikICAT(exceptionClass.getName()).replace(".", "/")));
  }
  ImmutableArrayEncodedValue valueValue = new ImmutableArrayEncodedValue(valueList);
  ImmutableAnnotationElement valueElement = new ImmutableAnnotationElement("value", valueValue);
  Set<ImmutableAnnotationElement> elements = Collections.singleton(valueElement);
  ImmutableAnnotation ann = new ImmutableAnnotation(AnnotationVisibility.SYSTEM, "Ldalvik/annotation/Throws;", elements);
  annotations.add(ann);
 }
 return annotations;
}
origin: KB5201314/ZjDroid

  return ImmutableStringEncodedValue.of((StringEncodedValue)encodedValue);
case ValueType.TYPE:
  return ImmutableTypeEncodedValue.of((TypeEncodedValue)encodedValue);
case ValueType.FIELD:
  return ImmutableFieldEncodedValue.of((FieldEncodedValue)encodedValue);
origin: testwhat/SmaliEx

  return ImmutableStringEncodedValue.of((StringEncodedValue)encodedValue);
case ValueType.TYPE:
  return ImmutableTypeEncodedValue.of((TypeEncodedValue)encodedValue);
case ValueType.FIELD:
  return ImmutableFieldEncodedValue.of((FieldEncodedValue)encodedValue);
origin: Sable/soot

List<EncodedValue> classes = new ArrayList<EncodedValue>();
for (String memberClass : memberClasses) {
 ImmutableTypeEncodedValue classValue = new ImmutableTypeEncodedValue(memberClass);
 classes.add(classValue);
origin: org.smali/dexlib2

  return ImmutableStringEncodedValue.of((StringEncodedValue)encodedValue);
case ValueType.TYPE:
  return ImmutableTypeEncodedValue.of((TypeEncodedValue)encodedValue);
case ValueType.FIELD:
  return ImmutableFieldEncodedValue.of((FieldEncodedValue)encodedValue);
origin: Sable/soot

  new ImmutableTypeEncodedValue(SootToDexUtils.getDexClassName(c.getOuterClass().getName())));
annotations.add(new ImmutableAnnotation(AnnotationVisibility.SYSTEM, "Ldalvik/annotation/EnclosingClass;",
  Collections.singleton(enclosingElement)));
origin: Sable/soot

return new ImmutableTypeEncodedValue(e.getDesc());
origin: JesusFreke/smali

state._fsp--;
 encodedValue = new ImmutableTypeEncodedValue(type_descriptor33); 
origin: testwhat/SmaliEx

public static ImmutableTypeEncodedValue of(@Nonnull TypeEncodedValue typeEncodedValue) {
  if (typeEncodedValue instanceof ImmutableTypeEncodedValue) {
    return (ImmutableTypeEncodedValue)typeEncodedValue;
  }
  return new ImmutableTypeEncodedValue(typeEncodedValue.getValue());
}
origin: KB5201314/ZjDroid

public static ImmutableTypeEncodedValue of(@Nonnull TypeEncodedValue typeEncodedValue) {
  if (typeEncodedValue instanceof ImmutableTypeEncodedValue) {
    return (ImmutableTypeEncodedValue)typeEncodedValue;
  }
  return new ImmutableTypeEncodedValue(typeEncodedValue.getValue());
}
origin: org.smali/dexlib2

public static ImmutableTypeEncodedValue of(@Nonnull TypeEncodedValue typeEncodedValue) {
  if (typeEncodedValue instanceof ImmutableTypeEncodedValue) {
    return (ImmutableTypeEncodedValue)typeEncodedValue;
  }
  return new ImmutableTypeEncodedValue(typeEncodedValue.getValue());
}
origin: com.taobao.android/dex_patch

      newValueSub = DefineUtils.getDefineClassName(classProcessor.classProcess(DefineUtils.getDalvikClassName(value)).className, isArray2);
    ImmutableTypeEncodedValue immutableTypeEncodedValue = new ImmutableTypeEncodedValue(newValueSub);
    lists.add(immutableTypeEncodedValue);
  newValueSub = DefineUtils.getDefineClassName(classProcessor.classProcess(DefineUtils.getDalvikClassName(value)).className, isArray2);
ImmutableTypeEncodedValue immutableTypeEncodedValue = new ImmutableTypeEncodedValue(newValueSub);
ImmutableAnnotationElement immutableAnnotationElement = new ImmutableAnnotationElement(name, immutableTypeEncodedValue);
newAnnotationElement.add(immutableAnnotationElement);
origin: com.taobao.android/dex_patch

      newValueSub = DefineUtils.getDefineClassName(classProcessor.classProcess(DefineUtils.getDalvikClassName(value)).className, isArray2);
    ImmutableTypeEncodedValue immutableTypeEncodedValue = new ImmutableTypeEncodedValue(newValueSub);
    lists.add(immutableTypeEncodedValue);
  newValue = DefineUtils.getDefineClassName(classProcessor.classProcess(DefineUtils.getDalvikClassName(value)).className, isArray2);
ImmutableTypeEncodedValue immutableTypeEncodedValue = new ImmutableTypeEncodedValue(newValue);
ImmutableAnnotationElement immutableAnnotationElement = new ImmutableAnnotationElement(name, immutableTypeEncodedValue);
origin: KB5201314/ZjDroid

state._fsp--;
 encodedValue = new ImmutableTypeEncodedValue(type_descriptor33); 
origin: org.smali/smali

state._fsp--;
 encodedValue = new ImmutableTypeEncodedValue(type_descriptor33); 
org.jf.dexlib2.immutable.valueImmutableTypeEncodedValue

Most used methods

  • <init>
  • of

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • String (java.lang)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Path (java.nio.file)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now