public static enum MethodAttributeAppender.ForAnnotation.Target.OnMethod extends Enum<MethodAttributeAppender.ForAnnotation.Target.OnMethod> implements MethodAttributeAppender.ForAnnotation.Target
MethodAttributeAppender.ForAnnotation.Target.OnMethod, MethodAttributeAppender.ForAnnotation.Target.OnMethodParameter
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
AnnotationAppender.Target |
make(MethodVisitor methodVisitor,
MethodDescription methodDescription)
Materializes the target for a given creation process.
|
String |
toString() |
static MethodAttributeAppender.ForAnnotation.Target.OnMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodAttributeAppender.ForAnnotation.Target.OnMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodAttributeAppender.ForAnnotation.Target.OnMethod INSTANCE
public static MethodAttributeAppender.ForAnnotation.Target.OnMethod[] values()
for (MethodAttributeAppender.ForAnnotation.Target.OnMethod c : MethodAttributeAppender.ForAnnotation.Target.OnMethod.values()) System.out.println(c);
public static MethodAttributeAppender.ForAnnotation.Target.OnMethod 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 AnnotationAppender.Target make(MethodVisitor methodVisitor, MethodDescription methodDescription)
MethodAttributeAppender.ForAnnotation.Target
make
in interface MethodAttributeAppender.ForAnnotation.Target
methodVisitor
- The method visitor to which the attributes that are represented by this
attribute appender are written to.methodDescription
- The description of the method for which the given method visitor creates an
instrumentation for.public String toString()
toString
in class Enum<MethodAttributeAppender.ForAnnotation.Target.OnMethod>
Copyright © 2014–2015. All rights reserved.