@HashCodeAndEqualsPlugin.Enhance public static class TypeAttributeAppender.Explicit extends Object implements TypeAttributeAppender
RetentionPolicy.TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp| Constructor and Description |
|---|
Explicit(List<? extends AnnotationDescription> annotations)
Creates a new annotation attribute appender for explicit annotation values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
public Explicit(List<? extends AnnotationDescription> annotations)
annotations - The annotations to write to the given type.public void apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
apply in interface TypeAttributeAppenderclassVisitor - The class visitor to which the annotations of this visitor should be written to.instrumentedType - A description of the instrumented type that is target of the ongoing instrumentation.annotationValueFilter - The annotation value filter to apply when writing annotations.Copyright © 2014–2019. All rights reserved.