Codota Logo
IndexedSection.intern
Code IndexAdd Codota to your IDE (free)

How to use
intern
method
in
org.jf.dexlib.IndexedSection

Best Java code snippets using org.jf.dexlib.IndexedSection.intern (Showing top 14 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param typeDescriptor The <code>StringIdItem</code> containing the type descriptor that
 * this <code>TypeIdItem</code> represents
 * @return a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static TypeIdItem internTypeIdItem(DexFile dexFile, StringIdItem typeDescriptor) {
  TypeIdItem typeIdItem = new TypeIdItem(dexFile, typeDescriptor);
  return dexFile.TypeIdsSection.intern(typeIdItem);
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>ProtoIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param returnType the return type
 * @param parameters a <code>TypeListItem</code> containing a list of the parameter types
 * @return a <code>ProtoIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static ProtoIdItem internProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) {
  ProtoIdItem protoIdItem = new ProtoIdItem(dexFile, returnType, parameters);
  return dexFile.ProtoIdsSection.intern(protoIdItem);
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>MethodIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param classType the class that the method is a member of
 * @param methodPrototype the type of the method
 * @param methodName the name of the method
 * @return a <code>MethodIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static MethodIdItem internMethodIdItem(DexFile dexFile, TypeIdItem classType,
                          ProtoIdItem methodPrototype, StringIdItem methodName) {
  MethodIdItem methodIdItem = new MethodIdItem(dexFile, classType, methodPrototype, methodName);
  return dexFile.MethodIdsSection.intern(methodIdItem);
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>FieldIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param classType the class that the field is a member of
 * @param fieldType the type of the field
 * @param fieldName the name of the field
 * @return a <code>FieldIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static FieldIdItem internFieldIdItem(DexFile dexFile, TypeIdItem classType, TypeIdItem fieldType,
                     StringIdItem fieldName) {
  FieldIdItem fieldIdItem = new FieldIdItem(dexFile, classType, fieldType, fieldName);
  return dexFile.FieldIdsSection.intern(fieldIdItem);
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param typeDescriptor The string containing the type descriptor that this
 * <code>TypeIdItem</code> represents
 * @return a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static TypeIdItem internTypeIdItem(DexFile dexFile, String typeDescriptor) {
  StringIdItem stringIdItem = StringIdItem.internStringIdItem(dexFile, typeDescriptor);
  if (stringIdItem == null) {
    return null;
  }
  TypeIdItem typeIdItem = new TypeIdItem(dexFile, stringIdItem);
  return dexFile.TypeIdsSection.intern(typeIdItem);
}
origin: sonyxperiadev/ApkAnalyser

/**
 * Returns a <code>StringIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param stringValue The string value that this item represents
 * @return a <code>StringIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static StringIdItem internStringIdItem(DexFile dexFile, String stringValue) {
  StringDataItem stringDataItem = StringDataItem.internStringDataItem(dexFile, stringValue);
  if (stringDataItem == null) {
    return null;
  }
  StringIdItem stringIdItem = new StringIdItem(dexFile, stringDataItem);
  return dexFile.StringIdsSection.intern(stringIdItem);
}
origin: sonyxperiadev/ApkAnalyser

return dexFile.ClassDefsSection.intern(classDefItem);
origin: org.smali/dexlib

/**
 * Returns a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param typeDescriptor The <code>StringIdItem</code> containing the type descriptor that
 * this <code>TypeIdItem</code> represents
 * @return a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static TypeIdItem internTypeIdItem(DexFile dexFile, StringIdItem typeDescriptor) {
  TypeIdItem typeIdItem = new TypeIdItem(dexFile, typeDescriptor);
  return dexFile.TypeIdsSection.intern(typeIdItem);
}
origin: org.smali/dexlib

/**
 * Returns a <code>ProtoIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param returnType the return type
 * @param parameters a <code>TypeListItem</code> containing a list of the parameter types
 * @return a <code>ProtoIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static ProtoIdItem internProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) {
  ProtoIdItem protoIdItem = new ProtoIdItem(dexFile, returnType, parameters);
  return dexFile.ProtoIdsSection.intern(protoIdItem);
}
origin: org.smali/dexlib

/**
 * Returns a <code>FieldIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param classType the class that the field is a member of
 * @param fieldType the type of the field
 * @param fieldName the name of the field
 * @return a <code>FieldIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static FieldIdItem internFieldIdItem(DexFile dexFile, TypeIdItem classType, TypeIdItem fieldType,
                     StringIdItem fieldName) {
  FieldIdItem fieldIdItem = new FieldIdItem(dexFile, classType, fieldType, fieldName);
  return dexFile.FieldIdsSection.intern(fieldIdItem);
}
origin: org.smali/dexlib

/**
 * Returns a <code>MethodIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item belongs to
 * @param classType the class that the method is a member of
 * @param methodPrototype the type of the method
 * @param methodName the name of the method
 * @return a <code>MethodIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static MethodIdItem internMethodIdItem(DexFile dexFile, TypeIdItem classType,
                          ProtoIdItem methodPrototype, StringIdItem methodName) {
  MethodIdItem methodIdItem = new MethodIdItem(dexFile, classType, methodPrototype, methodName);
  return dexFile.MethodIdsSection.intern(methodIdItem);
}
origin: org.smali/dexlib

/**
 * Returns a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param typeDescriptor The string containing the type descriptor that this
 * <code>TypeIdItem</code> represents
 * @return a <code>TypeIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static TypeIdItem internTypeIdItem(DexFile dexFile, String typeDescriptor) {
  StringIdItem stringIdItem = StringIdItem.internStringIdItem(dexFile, typeDescriptor);
  if (stringIdItem == null) {
    return null;
  }
  TypeIdItem typeIdItem = new TypeIdItem(dexFile, stringIdItem);
  return dexFile.TypeIdsSection.intern(typeIdItem);
}
origin: org.smali/dexlib

/**
 * Returns a <code>StringIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 * @param dexFile The <code>DexFile</code> that this item will belong to
 * @param stringValue The string value that this item represents
 * @return a <code>StringIdItem</code> for the given values, and that has been interned into
 * the given <code>DexFile</code>
 */
public static StringIdItem internStringIdItem(DexFile dexFile, String stringValue) {
  StringDataItem stringDataItem = StringDataItem.internStringDataItem(dexFile, stringValue);
  if (stringDataItem == null) {
    return null;
  }
  StringIdItem stringIdItem = new StringIdItem(dexFile, stringDataItem);
  return dexFile.StringIdsSection.intern(stringIdItem);
}
origin: org.smali/dexlib

return dexFile.ClassDefsSection.intern(classDefItem);
org.jf.dexlibIndexedSectionintern

Popular methods of IndexedSection

  • getItems
  • getInternedItem
  • getItemByIndex
    Gets the item at the specified index in this section
  • getOffset
  • getOptionalItemByIndex
    Gets the item at the specified index in this section, or null if the index is -1
  • placeAt

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • putExtra (Intent)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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