public static class AnnotationAppender.Target.OnMethod extends Object implements AnnotationAppender.Target
AnnotationAppender.Target.OnField, AnnotationAppender.Target.OnMethod, AnnotationAppender.Target.OnMethodParameter, AnnotationAppender.Target.OnType
Constructor and Description |
---|
OnMethod(org.objectweb.asm.MethodVisitor methodVisitor)
Creates a new wrapper for a Java method or constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
org.objectweb.asm.AnnotationVisitor |
visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor that is going to consume an annotation writing.
|
public OnMethod(org.objectweb.asm.MethodVisitor methodVisitor)
methodVisitor
- The ASM method visitor to which the annotations are appended to.public org.objectweb.asm.AnnotationVisitor visit(String annotationTypeDescriptor, boolean visible)
AnnotationAppender.Target
visit
in interface AnnotationAppender.Target
annotationTypeDescriptor
- The type descriptor for the annotation to be written.visible
- true
if the annotation is to be visible at runtime.Copyright © 2014–2015. All rights reserved.