asm Ver 3.1 [LSARC/2009/052 FastTrack timeout 02/04/2009]

Mark Carlson markcarl at sac.sfbay.sun.com
Wed Jan 28 12:58:41 PST 2009


I am sponsoring this familiarity case for Vivek Titarmare. It requests minor 
binding and times out 02/04/2009. This Fast Track represents a component of 
LSARC 2008/748 - Drools.
The FOSS checklist and javadoc are in the case directory.

-- mark

Template Version: @(#)sac_nextcase %I% %G% SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 asm  Ver 3.1
    1.2. Name of Document Author/Supplier:
	 Author:  Vivek Titarmare
    1.3  Date of This Document:
	28 January, 2009

2. Project Summary
   2.1 Project Description

	ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify existing classes or dynamically generate classes, directly in binary form.

4. Technical Description:

	The ASM framework is organized around the ClassVisitor, FieldVisitor and MethodVisitor interfaces, which allow one to visit the fields and methods of a class, including the bytecode instructions of each method.

	In addition to these main interfaces, ASM provides a ClassReader class, that can parse an existing class and make a given visitor visit it. ASM also provides a ClassWriter class, which is a visitor that generates Java class files.

	In order to generate a class from scratch, only the ClassWriter class is necessary. Indeed, in order to generate a class, one must just call its visitXXX methods with the appropriate arguments to generate the desired fields and methods. 

	In order to modify existing classes, one must use a ClassReader class to analyze the original class, a class modifier, and a ClassWriter to construct the modified class. The class modifier is just a ClassVisitor that delegates most of the work to another ClassVisitor, but that sometimes changes some parameter values, or call additional methods, in order to implement the desired modification process. In order to make it easier to implement such class modifiers, ASM provides the ClassAdapter and MethodAdapter classes, which implement the ClassVisitor and MethodVisitor interfaces by delegating all work to other visitors. 

5. Interfaces 

   Exported interface                   Classification 		Interface type
   =============================        ============== 		==============
   org.objectweb.asm
	* AnnotationVisitor		Uncommitted    		Interface
	* ClassVisitor			Uncommitted    		Interface
	* FieldVisitor			Uncommitted    		Interface
	* MethodVisitor			Uncommitted    		Interface
	* Opcodes			Uncommitted    		Interface
		
   org.objectweb.asm.commons
	* TableSwitchGenerator		Uncommitted    		Interface

   org.objectweb.asm.signature
	* SignatureVisitor		Uncommitted    		Interface

   org.objectweb.asm.tree.analysis
	* Interpreter			Uncommitted    		Interface
	* Value				Uncommitted    		Interface

   org.objectweb.asm
	* ASMifiable			Uncommitted    		Interface
	* Traceable			Uncommitted    		Interface
	

   Imported interface        Classification   Comments
   =======================   ==============   =================================== 
	None


6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		SFW
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open




More information about the opensolaris-arc mailing list