public final class MethodHandlesSection extends UniformItemSection
| Constructor and Description |
|---|
MethodHandlesSection(DexFile dexFile) |
| Modifier and Type | Method and Description |
|---|---|
IndexedItem |
get(Constant cst)
Gets the item corresponding to the given
Constant. |
void |
intern(CstMethodHandle methodHandle) |
java.util.Collection<? extends Item> |
items()
Gets the collection of all the items in this section.
|
protected void |
orderItems()
Alters or picks the order for items in this instance if desired,
so that subsequent calls to
Section.items() will yield a
so-ordered collection. |
getAbsoluteItemOffset, prepare0, writeSize, writeTo0align, getAbsoluteOffset, getAlignment, getFile, getFileOffset, getName, prepare, setFileOffset, throwIfNotPrepared, throwIfPrepared, validateAlignment, writeTopublic MethodHandlesSection(DexFile dexFile)
public IndexedItem get(Constant cst)
UniformItemSectionConstant. This
will throw an exception if the constant is not found, including
if this instance isn't the sort that maps constants to IndexedItem instances.get in class UniformItemSectioncst - non-null; constant to look fornon-null; the corresponding item found in this instanceprotected void orderItems()
UniformItemSectionSection.items() will yield a
so-ordered collection. If the items in this instance are indexed,
then this method should also assign indices.orderItems in class UniformItemSectionpublic java.util.Collection<? extends Item> items()
Sectionpublic void intern(CstMethodHandle methodHandle)
Copyright © 2020. All Rights Reserved.