| org.objectweb.speedo.generation.enhancer.common.LoggedClassAdapter org.objectweb.speedo.generation.enhancer.common.MergedClassModifier
MergedClassModifier | public class MergedClassModifier extends LoggedClassAdapter (Code) | | ASM visitor cleaning a visited class to merge to another:
- keep only one "class$" method
- rename a static section in order to agregate all at the end
- do not merge abstract method
- do not merge constructor
- do not merge this method
author: S.Chassande-Barrioz |
Constructor Summary | |
public | MergedClassModifier(ClassVisitor classVisitor, String classtowrite, String oldclassName, Logger logger, Personality p) Builds the visitor
Parameters: classtowrite - is the final name of the class to write Parameters: oldclassName - is the old name of the class. |
hasDotClassMethod | boolean hasDotClassMethod(Code) | | |
MergedClassModifier | public MergedClassModifier(ClassVisitor classVisitor, String classtowrite, String oldclassName, Logger logger, Personality p)(Code) | | Builds the visitor
Parameters: classtowrite - is the final name of the class to write Parameters: oldclassName - is the old name of the class. |
visitEnd | public void visitEnd()(Code) | | |
visitMethod | public CodeVisitor visitMethod(int access, String name, String desc, String[] exceptions, Attribute attrs)(Code) | | |
|
|