Interface MethodAttributeAppender.Explicit.Target
- All Known Implementing Classes:
MethodAttributeAppender.Explicit.Target.OnMethod,MethodAttributeAppender.Explicit.Target.OnMethodParameter
- Enclosing class:
MethodAttributeAppender.Explicit
protected static interface MethodAttributeAppender.Explicit.Target
Represents the target on which this method attribute appender should write its annotations to.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumA method attribute appender target for writing annotations directly onto the method.static classA method attribute appender target for writing annotations onto a given method parameter. -
Method Summary
Modifier and TypeMethodDescriptionmake(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Materializes the target for a given creation process.
-
Method Details
-
make
AnnotationAppender.Target make(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Materializes the target for a given creation process.- Parameters:
methodVisitor- The method visitor to which the attributes that are represented by this attribute appender are written to.methodDescription- The description of the method for which the given method visitor creates an instrumentation for.- Returns:
- The target of the annotation appender this target represents.
-