public static enum TypeAttributeAppender.ForInstrumentedType extends Enum<TypeAttributeAppender.ForInstrumentedType> implements TypeAttributeAppender
RetentionPolicy
.Modifier and Type | Class and Description |
---|---|
static class |
TypeAttributeAppender.ForInstrumentedType.Differentiating
A type attribute appender that writes all annotations of the instrumented but excludes annotations up to
a given index.
|
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
static TypeAttributeAppender.ForInstrumentedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeAttributeAppender.ForInstrumentedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAttributeAppender.ForInstrumentedType INSTANCE
public static TypeAttributeAppender.ForInstrumentedType[] values()
for (TypeAttributeAppender.ForInstrumentedType c : TypeAttributeAppender.ForInstrumentedType.values()) System.out.println(c);
public static TypeAttributeAppender.ForInstrumentedType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void apply(ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)
apply
in interface TypeAttributeAppender
classVisitor
- 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–2023. All rights reserved.