@HashCodeAndEqualsPlugin.Enhance public static class MethodAttributeAppender.Explicit.Target.OnMethodParameter extends Object implements MethodAttributeAppender.Explicit.Target
MethodAttributeAppender.Explicit.Target.OnMethod, MethodAttributeAppender.Explicit.Target.OnMethodParameter
Modifier | Constructor and Description |
---|---|
protected |
OnMethodParameter(int parameterIndex)
Creates a target for a method attribute appender for a method parameter of the given index.
|
Modifier and Type | Method and Description |
---|---|
AnnotationAppender.Target |
make(MethodVisitor methodVisitor,
MethodDescription methodDescription)
Materializes the target for a given creation process.
|
protected OnMethodParameter(int parameterIndex)
parameterIndex
- The index of the target parameter.public AnnotationAppender.Target make(MethodVisitor methodVisitor, MethodDescription methodDescription)
make
in interface MethodAttributeAppender.Explicit.Target
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.Copyright © 2014–2025. All rights reserved.