Codota Logo
DexBackedStringReference
Code IndexAdd Codota to your IDE (free)

How to use
DexBackedStringReference
in
org.jf.dexlib2.dexbacked.reference

Best Java code snippets using org.jf.dexlib2.dexbacked.reference.DexBackedStringReference (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: JesusFreke/smali

@Override public DexBackedStringReference get(int index) {
  if (index < 0 || index >= getStringCount()) {
    throw new IndexOutOfBoundsException();
  }
  return new DexBackedStringReference(DexBackedDexFile.this, index);
}
origin: org.smali/dexlib2

@Override public DexBackedStringReference get(int index) {
  if (index < 0 || index >= getStringCount()) {
    throw new IndexOutOfBoundsException();
  }
  return new DexBackedStringReference(DexBackedDexFile.this, index);
}
origin: KB5201314/ZjDroid

  public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) {
    switch (referenceType) {
      case ReferenceType.STRING:
        return new DexBackedStringReference(dexFile, referenceIndex);
      case ReferenceType.TYPE:
        return new DexBackedTypeReference(dexFile, referenceIndex);
      case ReferenceType.METHOD:
        return new DexBackedMethodReference(dexFile, referenceIndex);
      case ReferenceType.FIELD:
        return new DexBackedFieldReference(dexFile, referenceIndex);
      default:
        throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
    }
  }
}
origin: testwhat/SmaliEx

  public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) {
    switch (referenceType) {
      case ReferenceType.STRING:
        return new DexBackedStringReference(dexFile, referenceIndex);
      case ReferenceType.TYPE:
        return new DexBackedTypeReference(dexFile, referenceIndex);
      case ReferenceType.METHOD:
        return new DexBackedMethodReference(dexFile, referenceIndex);
      case ReferenceType.FIELD:
        return new DexBackedFieldReference(dexFile, referenceIndex);
      case ReferenceType.METHOD_PROTO:
        return new DexBackedMethodProtoReference(dexFile, referenceIndex);
      case ReferenceType.METHOD_HANDLE:
        return new DexBackedMethodHandleReference(dexFile, referenceIndex);
      case ReferenceType.CALL_SITE:
        return new DexBackedCallSiteReference(dexFile, referenceIndex);
      default:
        throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
    }
  }
}
origin: org.smali/dexlib2

  public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) {
    switch (referenceType) {
      case ReferenceType.STRING:
        return new DexBackedStringReference(dexFile, referenceIndex);
      case ReferenceType.TYPE:
        return new DexBackedTypeReference(dexFile, referenceIndex);
      case ReferenceType.METHOD:
        return new DexBackedMethodReference(dexFile, referenceIndex);
      case ReferenceType.FIELD:
        return new DexBackedFieldReference(dexFile, referenceIndex);
      case ReferenceType.METHOD_PROTO:
        return new DexBackedMethodProtoReference(dexFile, referenceIndex);
      case ReferenceType.METHOD_HANDLE:
        return new DexBackedMethodHandleReference(dexFile, referenceIndex);
      case ReferenceType.CALL_SITE:
        return new DexBackedCallSiteReference(dexFile, referenceIndex);
      default:
        throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
    }
  }
}
org.jf.dexlib2.dexbacked.referenceDexBackedStringReference

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now