/** * Returns an <code>EncodedArrayItem</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 encodedArray The encoded array value * @return an <code>EncodedArrayItem</code> for the given values, and that has been interned into the given */ public static EncodedArrayItem internEncodedArrayItem(DexFile dexFile, ArrayEncodedSubValue encodedArray) { EncodedArrayItem encodedArrayItem = new EncodedArrayItem(dexFile, encodedArray); return dexFile.EncodedArraysSection.intern(encodedArrayItem); }
return new AnnotationItem(dexFile); case TYPE_ENCODED_ARRAY_ITEM: return new EncodedArrayItem(dexFile); case TYPE_ANNOTATIONS_DIRECTORY_ITEM: return new AnnotationDirectoryItem(dexFile);
/** * Returns an <code>EncodedArrayItem</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 encodedArray The encoded array value * @return an <code>EncodedArrayItem</code> for the given values, and that has been interned into the given */ public static EncodedArrayItem internEncodedArrayItem(DexFile dexFile, ArrayEncodedSubValue encodedArray) { EncodedArrayItem encodedArrayItem = new EncodedArrayItem(dexFile, encodedArray); return dexFile.EncodedArraysSection.intern(encodedArrayItem); }
return new AnnotationItem(dexFile); case TYPE_ENCODED_ARRAY_ITEM: return new EncodedArrayItem(dexFile); case TYPE_ANNOTATIONS_DIRECTORY_ITEM: return new AnnotationDirectoryItem(dexFile);