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(ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public Explicit(List<? extends AnnotationDescription> annotations)
annotations - The annotations to write to the given type.public void apply(ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)
TypeAttributeAppenderapply 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–2016. All rights reserved.