public static enum TypeAttributeAppender.NoOp extends Enum<TypeAttributeAppender.NoOp> implements TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
static TypeAttributeAppender.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeAttributeAppender.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAttributeAppender.NoOp INSTANCE
public static TypeAttributeAppender.NoOp[] values()
for (TypeAttributeAppender.NoOp c : TypeAttributeAppender.NoOp.values()) System.out.println(c);
public static TypeAttributeAppender.NoOp 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(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.