Valda IR is an intermediate representation for the DEX file format, allowing simple analysis, modification and generation of arbitrary DEX files.
Valda has been published to maven central.
<dependency>
<groupId>at.yawk.valda</groupId>
<artifactId>valda-ir</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>at.yawk.valda</groupId>
<artifactId>valda-dexlib2</artifactId>
<version>1.0.0</version>
</dependency>