| java.lang.Object com.tc.asm.ClassAdapter com.tc.object.bytecode.ChangePackageClassAdapter
Method Summary | |
public static String | replaceClassName(String name, String targetPackage, String newPackage) | public void | visit(int version, int access, String name, String signature, String superName, String[] interfaces) | public FieldVisitor | visitField(int access, String name, String desc, String signature, Object value) | public void | visitInnerClass(String name, String outerName, String innerName, int access) | public MethodVisitor | visitMethod(int access, String name, String desc, String signature, String[] exceptions) |
ChangePackageClassAdapter | public ChangePackageClassAdapter(ClassVisitor cv, String targetClassName, String targetPackage, String newPackage, Collection innerClassesHolder)(Code) | | Parameters: targetClassName - The class name at which package needs to be changed, e.g., HashMap. Parameters: targetPackageName - The package name at which package needs to be changed, e.g., com.tc.bootjar.java.util. Parameters: newPackage - The new package name, e.g., java.util. Parameters: innerClassesHolder - A collection which contains the inner class names of this class.It could be null if the inner class can be ignored. |
Methods inherited from com.tc.asm.ClassAdapter | public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)(Code)(Java Doc) public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code)(Java Doc) public void visitAttribute(Attribute attr)(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public FieldVisitor visitField(int access, String name, String desc, String signature, Object value)(Code)(Java Doc) public void visitInnerClass(String name, String outerName, String innerName, int access)(Code)(Java Doc) public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)(Code)(Java Doc) public void visitOuterClass(String owner, String name, String desc)(Code)(Java Doc) public void visitSource(String source, String debug)(Code)(Java Doc)
|
|
|