Package org.ow2.asmdex

Provides a small and fast bytecode manipulation framework for Android DEX format.

See:
          Description

Interface Summary
Constants Some constants that aren't Opcodes.
Opcodes Defines the Dalvik opcodes, access flags and array type codes.
 

Class Summary
AnnotationVisitor A visitor to visit a Java annotation.
AnnotationWriter The Annotation Writer.
AnnotationWriterArray AnnotationWriter specialized for Arrays.
AnnotationWriterDefaultAnnotation AnnotationWriter specialized for DefaultAnnotation.
AnnotationWriterSubAnnotation AnnotationWriter specialized for SubAnnotation.
ApplicationReader An Android Application parser for dex files to make an ApplicationVisitor visit an existing application.
ApplicationVisitor A visitor to visit a Dex Application.
ApplicationWriter A ApplicationVisitor that generates an Android dex file in bytecode form.
ClassVisitor A visitor to visit a Dex class.
ClassWriter Class that takes care of visiting a Class for the Application Writer to write it.
FieldVisitor A visitor to visit a Dalvik field.
FieldWriter Class visiting a Field and registering it in order to write it.
MethodCodeReader Class made to read the code of one method of a Dex file, and make a visitor visits its instructions.
MethodVisitor A visitor to visit a Java method.
MethodWriter Class that takes care of visiting all the elements of a method.
 

Package org.ow2.asmdex Description

Provides a small and fast bytecode manipulation framework for Android DEX format.

As the ASM framework, the ASMDEX framework is organized around the ApplicationVisitor, the ClassVisitor, FieldVisitor, MethodVisitor and AnnotationVisitor abstract classes, which allow one to visit the fields, methods and annotations of a class, including the bytecode instructions of each method.

In addition to these main abstract classes, ASMDEX provides a applicationReader class, that can parse an existing classes.dex bundle and make a given visitor visit it. ASMDEX also provides a ApplicationWriter class, which is a visitor that generates Java class files.