Tabnine Logo
ImmutableTypeEncodedValue.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.jf.dexlib2.immutable.value.ImmutableTypeEncodedValue.<init> (Showing top 12 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: Sable/soot

List<EncodedValue> classes = new ArrayList<EncodedValue>();
for (String memberClass : memberClasses) {
 ImmutableTypeEncodedValue classValue = new ImmutableTypeEncodedValue(memberClass);
 classes.add(classValue);
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<init>

Popular methods of ImmutableTypeEncodedValue

  • of

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Top 12 Jupyter Notebook extensions
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