public static enum TypeAttributeAppender.ForSuperType extends Enum<TypeAttributeAppender.ForSuperType> implements TypeAttributeAppender
RetentionPolicy.TypeAttributeAppender.Compound, TypeAttributeAppender.ForAnnotation, TypeAttributeAppender.ForSuperType, TypeAttributeAppender.ForType, TypeAttributeAppender.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
TypeDescription typeDescription)
Applies this type attribute appender.
|
String |
toString() |
static TypeAttributeAppender.ForSuperType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeAttributeAppender.ForSuperType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAttributeAppender.ForSuperType INSTANCE
public static TypeAttributeAppender.ForSuperType[] values()
for (TypeAttributeAppender.ForSuperType c : TypeAttributeAppender.ForSuperType.values()) System.out.println(c);
public static TypeAttributeAppender.ForSuperType 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 typeDescription)
TypeAttributeAppenderapply in interface TypeAttributeAppenderclassVisitor - The class visitor to which the annotations of this visitor should be written to.typeDescription - A description of the instrumented type that is target of the ongoing instrumentation.public String toString()
toString in class Enum<TypeAttributeAppender.ForSuperType>Copyright © 2014–2015. All rights reserved.