@HashCodeAndEqualsPlugin.Enhance public static class TypeAttributeAppender.ForInstrumentedType.Differentiating extends Object implements TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp| Modifier | Constructor and Description |
|---|---|
protected |
Differentiating(int annotationIndex,
int typeVariableIndex,
int interfaceTypeIndex)
Creates a new differentiating type attribute appender.
|
|
Differentiating(TypeDescription typeDescription)
Creates a new differentiating type attribute appender.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
public Differentiating(TypeDescription typeDescription)
typeDescription - The type for which to resolve all exclusion indices.protected Differentiating(int annotationIndex,
int typeVariableIndex,
int interfaceTypeIndex)
annotationIndex - The index of the first annotations that should be directly written onto the type.typeVariableIndex - The index of the first interface type for which type annotations should be directly written onto the type.interfaceTypeIndex - The index of the first interface type for which type annotations should be directly written onto the type.public void apply(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.