public static class TypeAttributeAppender.ForInstrumentedType extends Object implements TypeAttributeAppender
RetentionPolicy.TypeAttributeAppender.Compound, TypeAttributeAppender.ForAnnotation, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.ForType, TypeAttributeAppender.NoOp| Constructor and Description |
|---|
ForInstrumentedType(AnnotationAppender.ValueFilter valueFilter)
Creates an attribute appender that copies the super type's annotations to the instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType)
Applies this type attribute appender.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public ForInstrumentedType(AnnotationAppender.ValueFilter valueFilter)
valueFilter - The value filter to apply for discovering which values of an annotation should be written.public void apply(ClassVisitor classVisitor, TypeDescription instrumentedType, GenericTypeDescription targetType)
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.targetType - The target type of the instrumentation, i.e. the super class type for a super class creation
or the type being redefined.Copyright © 2014–2015. All rights reserved.