| Package | Description |
|---|---|
| com.android.dx.cf.code |
Implementation of classes having to do with Java simulation, such as
is needed for verification or stack-to-register conversion.
|
| com.android.dx.cf.iface |
Interfaces and base classes for dealing with class files.
|
| com.android.dx.dex.file | |
| com.android.dx.rop.code |
Classes relating to a register-based opcode system.
|
| com.android.dx.rop.cst |
Interfaces and implementation of things related to the constant pool.
|
| com.android.dx.rop.type |
Implementation of classes that represent types (classes or primitives).
|
| Modifier and Type | Method and Description |
|---|---|
Prototype |
ConcreteMethod.getEffectiveDescriptor()
Get the effective method descriptor, which includes, if
necessary, a first
this parameter. |
Prototype |
Machine.getPrototype()
Gets the effective prototype of the method that this instance is
being used for.
|
Prototype |
BaseMachine.getPrototype()
Gets the effective prototype of the method that this instance is
being used for.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Machine.popArgs(Frame frame,
Prototype prototype)
Pops values from the stack of the types indicated by the given
Prototype (popped in reverse of the argument
order, so the first prototype argument type is for the deepest
element of the stack), and store them in the arguments area,
indicating that there are now that many arguments. |
void |
BaseMachine.popArgs(Frame frame,
Prototype prototype)
Pops values from the stack of the types indicated by the given
Prototype (popped in reverse of the argument
order, so the first prototype argument type is for the deepest
element of the stack), and store them in the arguments area,
indicating that there are now that many arguments. |
| Constructor and Description |
|---|
BaseMachine(Prototype prototype)
Constructs an instance.
|
ValueAwareMachine(Prototype prototype)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Prototype |
Method.getEffectiveDescriptor()
Get the effective method descriptor, which includes, if
necessary, a first
this parameter. |
Prototype |
StdMethod.getEffectiveDescriptor()
Get the effective method descriptor, which includes, if
necessary, a first
this parameter. |
| 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.opInvokePolymorphic(Prototype meth)
Returns the appropriate
invoke-polymorphic 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 |
CstCallSiteRef.getPrototype()
Gets the prototype of the method handle resolved at the call site.
|
Prototype |
CstProtoRef.getPrototype() |
Prototype |
CstInvokeDynamic.getPrototype()
Gets the
Prototype of the invokedynamic call site. |
Prototype |
CstBaseMethodRef.getPrototype(boolean isStatic)
Gets the prototype of this method as either a
static or instance method. |
| Constructor and Description |
|---|
CstProtoRef(Prototype prototype) |
| Modifier and Type | Method and Description |
|---|---|
static Prototype |
Prototype.fromDescriptor(java.lang.String descriptor)
Returns a prototype for a method descriptor.
|
static Prototype |
Prototype.intern(java.lang.String descriptor)
Returns the unique instance corresponding to the
given method descriptor.
|
static Prototype |
Prototype.intern(java.lang.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 © 2020. All Rights Reserved.