01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.bytecode;
06:
07: import com.tc.asm.ClassAdapter;
08: import com.tc.asm.ClassVisitor;
09:
10: /**
11: * A factory for class adapters
12: */
13: public interface ClassAdapterFactory {
14:
15: /**
16: * Create an adapter
17: * @param visitor ASM class visitor
18: * @param loader Class loader to use
19: * @return Adapter that can modify classes
20: */
21: ClassAdapter create(ClassVisitor visitor, ClassLoader loader);
22:
23: }
|