org.codehaus.enunciate.bytecode
Class WebParamAnnotationInstrumentation
java.lang.Object
org.objectweb.asm.ClassAdapter
org.codehaus.enunciate.bytecode.WebParamAnnotationInstrumentation
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class WebParamAnnotationInstrumentation
- extends org.objectweb.asm.ClassAdapter
Instrumentation for a class that changes the default value of the @WebParam annotation
to the name of the parameter.
- Author:
- Ryan Heaton
| Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
|
Method Summary |
void |
visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
|
void |
visitEnd()
|
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
|
| Methods inherited from class org.objectweb.asm.ClassAdapter |
visitAnnotation, visitAttribute, visitField, visitInnerClass, visitOuterClass, visitSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebParamAnnotationInstrumentation
public WebParamAnnotationInstrumentation(org.objectweb.asm.ClassVisitor cv,
InstrumentationInfo instrumentation)
- Parameters:
cv - The delegate.instrumentation - The instrumentation information
visit
public void visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
- Specified by:
visit in interface org.objectweb.asm.ClassVisitor- Overrides:
visit in class org.objectweb.asm.ClassAdapter
visitEnd
public void visitEnd()
- Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor- Overrides:
visitEnd in class org.objectweb.asm.ClassAdapter
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
- Specified by:
visitMethod in interface org.objectweb.asm.ClassVisitor- Overrides:
visitMethod in class org.objectweb.asm.ClassAdapter