| Package | Description |
|---|---|
| com.android.dx.dex.file | |
| com.android.dx.rop.code | |
| com.android.dx.rop.cst | |
| com.android.dx.rop.type |
| Modifier and Type | Method and Description |
|---|---|
int |
ProtoIdsSection.indexOf(Prototype prototype)
Gets the index of the given prototype, which must have
been added to this instance.
|
ProtoIdItem |
ProtoIdsSection.intern(Prototype prototype)
Interns an element into this instance.
|
| Constructor and Description |
|---|
ProtoIdItem(Prototype prototype)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Rop |
Rops.opInvokeDirect(Prototype meth)
Returns the appropriate
invoke-direct rop for the
given type. |
static Rop |
Rops.opInvokeInterface(Prototype meth)
Returns the appropriate
invoke-interface rop for the
given type. |
static Rop |
Rops.opInvokeStatic(Prototype meth)
Returns the appropriate
invoke-static rop for the
given type. |
static Rop |
Rops.opInvokeSuper(Prototype meth)
Returns the appropriate
invoke-super rop for the
given type. |
static Rop |
Rops.opInvokeVirtual(Prototype meth)
Returns the appropriate
invoke-virtual rop for the
given type. |
| Modifier and Type | Method and Description |
|---|---|
Prototype |
CstBaseMethodRef.getPrototype()
Gets the raw prototype of this method.
|
Prototype |
CstBaseMethodRef.getPrototype(boolean isStatic)
Gets the prototype of this method as either a
static or instance method. |
| Modifier and Type | Method and Description |
|---|---|
static Prototype |
Prototype.intern(String descriptor)
Returns the unique instance corresponding to the
given method descriptor.
|
static Prototype |
Prototype.intern(String descriptor,
Type definer,
boolean isStatic,
boolean isInit)
Interns an instance, adding to the descriptor as necessary based
on the given definer, name, and flags.
|
static Prototype |
Prototype.internInts(Type returnType,
int count)
Interns an instance which consists of the given number of
ints along with the given return type |
Prototype |
Prototype.withFirstParameter(Type param)
Returns a new interned instance, which is the same as this instance,
except that it has an additional parameter prepended to the original's
argument list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Prototype.compareTo(Prototype other) |
Copyright © 2014. All Rights Reserved.