AS3Commons-bytecode is an open-source library supplying a ABC bytecode parsing as well as posting and bytecode based representation API for ActionScript 3.0.
It offers an emit API for creating courses at runtime, as well as a proxy API to generate vibrant runtime proxies along with an intercepting mechanism.
Either of these can be made use of as a foundation for mocking or AOP libraries, or any other kind of task that needed runtime class generation.
Being a pure actionscript library it could be made use of for any kind of Flash/Flex/AIR project.
This job made use of to be referred to as Loom as developed by Maxim Porges. (http://code.google.com/p/loom-as3/).
The collection supplies tidy, full and also easy introspection on class variables, accessors, techniques, metadata and also even more, by analyzing the bytecode returned by loaderInfo.bytes. By parsing the bytecode straight it is feasible to gain total class understanding, which means private participants and techniques, default worths for optional criteria, and so on.
Parsing results are cached so that a SWF just should be analyzed once.
This collection depends upon these various other as3commons libraries:.
The library is extensively examined as well as is being utilized in the Spring Actionscript task for its class scanning system.