ClassFile package is engine of CafeBabe project. By using these classes you can read, modify and write bytecodes. If you want to find specific information about fields, methods, class attributes or ever about contents of constant pool - this project is for you. Now sources are avalilble under General Public License. Please refers to CafeBabe package for sources.
Project also contain additional package - classfile.task which allows realization of single or group operations under some set of class files. For that I use object-event approach:
SelectionEvent and SelectionListener classes serve selection of next file from group;
ReplaceEvent and ReplaceListener classes catch some changes inside bytecode.
Now I have two group tasks. They represented as programs - CafeBabeStripper - from removing unnecessary information from bytecodes, and CafeBabeMigrator - it solves a problem of package migration: f.e., program written for old version of Swing, can modify its names without decompiling-compiling process or searching new version of product. In future I'm planning to realize Obfuscation task.
Copyright (c) 1999 All rights reserved