public static enum TypeAttributeAppender.NoOp extends Enum<TypeAttributeAppender.NoOp> implements TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.ForAnnotation, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.ForType, TypeAttributeAppender.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType)
Applies this type attribute appender.
|
String |
toString() |
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(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.public String toString()
toString in class Enum<TypeAttributeAppender.NoOp>Copyright © 2014–2015. All rights reserved.