A B C D E F G H I J L M N O P R S T U V

A

addCatchClause(TypeId<? extends Throwable>, Label) - Method in class com.google.dexmaker.Code
Registers catchClause as a branch target for all instructions in this frame that throw a class assignable to toCatch.
aget(Local<?>, Local<?>, Local<Integer>) - Method in class com.google.dexmaker.Code
Assigns target to the element of array at index index.
aput(Local<?>, Local<Integer>, Local<?>) - Method in class com.google.dexmaker.Code
Sets the element at index in array the value in source.
arrayLength(Local<Integer>, Local<T>) - Method in class com.google.dexmaker.Code
Sets target to the length of the array in array.

B

BinaryOp - Enum in com.google.dexmaker
An operation on two values of the same type.
BOOLEAN - Static variable in class com.google.dexmaker.TypeId
The boolean primitive type.
build() - Method in class com.google.dexmaker.stock.ProxyBuilder
Create a new instance of the class to proxy.
BYTE - Static variable in class com.google.dexmaker.TypeId
The byte primitive type.

C

callSuper(Object, Method, Object...) - Static method in class com.google.dexmaker.stock.ProxyBuilder
 
cast(Local<?>, Local<?>) - Method in class com.google.dexmaker.Code
Performs either a numeric cast or a type cast.
CHAR - Static variable in class com.google.dexmaker.TypeId
The char primitive type.
Code - Class in com.google.dexmaker
Builds a sequence of instructions.
com.google.dexmaker - package com.google.dexmaker
 
com.google.dexmaker.stock - package com.google.dexmaker.stock
 
compare(Comparison, Label, Local<T>, Local<T>) - Method in class com.google.dexmaker.Code
Compare ints or references.
compareFloatingPoint(Local<Integer>, Local<T>, Local<T>, int) - Method in class com.google.dexmaker.Code
Compare floats or doubles.
compareLongs(Local<Integer>, Local<Long>, Local<Long>) - Method in class com.google.dexmaker.Code
Compare longs.
Comparison - Enum in com.google.dexmaker
A comparison between two values of the same type.
constructorArgTypes(Class<?>...) - Method in class com.google.dexmaker.stock.ProxyBuilder
 
constructorArgValues(Object...) - Method in class com.google.dexmaker.stock.ProxyBuilder
 

D

declare(TypeId<?>, String, int, TypeId<?>, TypeId<?>...) - Method in class com.google.dexmaker.DexMaker
Declares type.
declare(MethodId<?, ?>, int) - Method in class com.google.dexmaker.DexMaker
Declares a method or constructor.
declare(FieldId<?, ?>, int, Object) - Method in class com.google.dexmaker.DexMaker
Declares a field.
dexCache(File) - Method in class com.google.dexmaker.stock.ProxyBuilder
 
DexMaker - Class in com.google.dexmaker
Generates a Dalvik EXecutable (dex) file for execution on Android.
DexMaker() - Constructor for class com.google.dexmaker.DexMaker
Creates a new DexMaker instance, which can be used to create a single dex file.
DOUBLE - Static variable in class com.google.dexmaker.TypeId
The double primitive type.

E

equals(Object) - Method in class com.google.dexmaker.FieldId
 
equals(Object) - Method in class com.google.dexmaker.MethodId
 
equals(Object) - Method in class com.google.dexmaker.TypeId
 

F

FieldId<D,V> - Class in com.google.dexmaker
Identifies a field.
FLOAT - Static variable in class com.google.dexmaker.TypeId
The float primitive type.
forClass(Class<T>) - Static method in class com.google.dexmaker.stock.ProxyBuilder
 

G

generate() - Method in class com.google.dexmaker.DexMaker
Generates a dex file and returns its bytes.
generateAndLoad(ClassLoader, File) - Method in class com.google.dexmaker.DexMaker
Generates a dex file and loads its types into the current process.
get(String) - Static method in class com.google.dexmaker.TypeId
 
get(Class<T>) - Static method in class com.google.dexmaker.TypeId
 
getConstructor(TypeId<?>...) - Method in class com.google.dexmaker.TypeId
 
getDeclaringType() - Method in class com.google.dexmaker.FieldId
 
getDeclaringType() - Method in class com.google.dexmaker.MethodId
 
getField(TypeId<V>, String) - Method in class com.google.dexmaker.TypeId
 
getInvocationHandler(Object) - Static method in class com.google.dexmaker.stock.ProxyBuilder
Returns the proxy's InvocationHandler.
getMethod(TypeId<R>, String, TypeId<?>...) - Method in class com.google.dexmaker.TypeId
 
getName() - Method in class com.google.dexmaker.FieldId
 
getName() - Method in class com.google.dexmaker.MethodId
Returns the method's name.
getName() - Method in class com.google.dexmaker.TypeId
 
getParameter(int, TypeId<T>) - Method in class com.google.dexmaker.Code
Returns the local for the parameter at index index and of type type.
getParameters() - Method in class com.google.dexmaker.MethodId
 
getReturnType() - Method in class com.google.dexmaker.MethodId
 
getThis(TypeId<T>) - Method in class com.google.dexmaker.Code
Returns the local for this of type type.
getType() - Method in class com.google.dexmaker.FieldId
 
getType() - Method in class com.google.dexmaker.Local
 

H

handler(InvocationHandler) - Method in class com.google.dexmaker.stock.ProxyBuilder
 
hashCode() - Method in class com.google.dexmaker.FieldId
 
hashCode() - Method in class com.google.dexmaker.MethodId
 
hashCode() - Method in class com.google.dexmaker.TypeId
 

I

iget(FieldId<D, V>, Local<V>, Local<D>) - Method in class com.google.dexmaker.Code
Copies the value in instance field fieldId of instance to target.
instanceOfType(Local<?>, Local<?>, TypeId<?>) - Method in class com.google.dexmaker.Code
Tests if the value in source is assignable to type.
INT - Static variable in class com.google.dexmaker.TypeId
The int primitive type.
invokeDirect(MethodId<D, R>, Local<? super R>, Local<? extends D>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls method of instance using args and assigns the result to target.
invokeInterface(MethodId<D, R>, Local<? super R>, Local<? extends D>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls the interface method method of instance using args and assigns the result to target.
invokeStatic(MethodId<?, R>, Local<? super R>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls the static method method using args and assigns the result to target.
invokeSuper(MethodId<D, R>, Local<? super R>, Local<? extends D>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls the closest superclass's virtual method method of instance using args and assigns the result to target.
invokeVirtual(MethodId<D, R>, Local<? super R>, Local<? extends D>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls the non-private instance method method of instance using args and assigns the result to target.
iput(FieldId<D, V>, Local<D>, Local<V>) - Method in class com.google.dexmaker.Code
Copies the value in source to the instance field fieldId of instance.
isConstructor() - Method in class com.google.dexmaker.MethodId
Returns true if this method is a constructor for its declaring class.

J

jump(Label) - Method in class com.google.dexmaker.Code
Transfers flow control to the instructions at target.

L

Label - Class in com.google.dexmaker
A branch target in a list of instructions.
Label() - Constructor for class com.google.dexmaker.Label
 
loadConstant(Local<T>, T) - Method in class com.google.dexmaker.Code
Copies the constant value value to target.
Local<T> - Class in com.google.dexmaker
A temporary variable that holds a single value of a known type.
LONG - Static variable in class com.google.dexmaker.TypeId
The long primitive type.

M

mark(Label) - Method in class com.google.dexmaker.Code
Start defining instructions for the named label.
MethodId<D,R> - Class in com.google.dexmaker
Identifies a method or constructor.
monitorEnter(Local<?>) - Method in class com.google.dexmaker.Code
Awaits the lock on monitor, and acquires it.
monitorExit(Local<?>) - Method in class com.google.dexmaker.Code
Releases the held lock on monitor.
move(Local<T>, Local<T>) - Method in class com.google.dexmaker.Code
Copies the value in source to target.

N

newArray(Local<T>, Local<Integer>) - Method in class com.google.dexmaker.Code
Assigns target to a newly allocated array of length length.
newInstance(Local<T>, MethodId<T, Void>, Local<?>...) - Method in class com.google.dexmaker.Code
Calls the constructor constructor using args and assigns the new instance to target.
newLocal(TypeId<T>) - Method in class com.google.dexmaker.Code
Allocates a new local variable of type type.

O

OBJECT - Static variable in class com.google.dexmaker.TypeId
The Object type.
op(UnaryOp, Local<T>, Local<T>) - Method in class com.google.dexmaker.Code
Executes op and sets target to the result.
op(BinaryOp, Local<T>, Local<T>, Local<T>) - Method in class com.google.dexmaker.Code
Executes op and sets target to the result.

P

parentClassLoader(ClassLoader) - Method in class com.google.dexmaker.stock.ProxyBuilder
Specifies the parent ClassLoader to use when creating the proxy.
ProxyBuilder<T> - Class in com.google.dexmaker.stock
Creates dynamic proxies of concrete classes.

R

removeCatchClause(TypeId<? extends Throwable>) - Method in class com.google.dexmaker.Code
Deregisters the catch clause label for toCatch and returns it.
returnValue(Local<?>) - Method in class com.google.dexmaker.Code
Returns the value in result to the calling method.
returnVoid() - Method in class com.google.dexmaker.Code
Returns from a void method.

S

sget(FieldId<?, V>, Local<V>) - Method in class com.google.dexmaker.Code
Copies the value in target to the static field fieldId.
SHORT - Static variable in class com.google.dexmaker.TypeId
The short primitive type.
sput(FieldId<?, V>, Local<V>) - Method in class com.google.dexmaker.Code
Copies the value in source to the static field fieldId.
STRING - Static variable in class com.google.dexmaker.TypeId
The String type.

T

throwValue(Local<? extends Throwable>) - Method in class com.google.dexmaker.Code
Throws the throwable in toThrow.
toString() - Method in class com.google.dexmaker.FieldId
 
toString() - Method in class com.google.dexmaker.Local
 
toString() - Method in class com.google.dexmaker.MethodId
 
toString() - Method in class com.google.dexmaker.TypeId
 
TypeId<T> - Class in com.google.dexmaker
A primitive type, interface or class.

U

UnaryOp - Enum in com.google.dexmaker
An operation on one value.

V

valueOf(String) - Static method in enum com.google.dexmaker.BinaryOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.dexmaker.Comparison
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.dexmaker.UnaryOp
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.dexmaker.BinaryOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.dexmaker.Comparison
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.dexmaker.UnaryOp
Returns an array containing the constants of this enum type, in the order they are declared.
VOID - Static variable in class com.google.dexmaker.TypeId
The void primitive type.

A B C D E F G H I J L M N O P R S T U V