1 4 package com.tc.tomcat.transform; 5 6 import com.tc.asm.ClassAdapter; 7 import com.tc.asm.ClassVisitor; 8 import com.tc.object.bytecode.ClassAdapterFactory; 9 import com.tc.object.bytecode.StringGetCharsAdapter; 10 11 public class JspWriterImplAdapter extends StringGetCharsAdapter implements ClassAdapterFactory { 12 13 public JspWriterImplAdapter() { 14 super(null, null); 15 } 16 17 private JspWriterImplAdapter(ClassVisitor cv, ClassLoader caller) { 18 super(cv, new String [] { ".*" }); 19 } 20 21 public ClassAdapter create(ClassVisitor visitor, ClassLoader loader) { 22 return new JspWriterImplAdapter(visitor, loader); 23 } 24 25 } 26 | Popular Tags |