public static enum MethodAttributeAppender.Explicit.Target.OnMethod extends Enum<MethodAttributeAppender.Explicit.Target.OnMethod> implements MethodAttributeAppender.Explicit.Target
MethodAttributeAppender.Explicit.Target.OnMethod, MethodAttributeAppender.Explicit.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.
|
static MethodAttributeAppender.Explicit.Target.OnMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodAttributeAppender.Explicit.Target.OnMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodAttributeAppender.Explicit.Target.OnMethod INSTANCE
public static MethodAttributeAppender.Explicit.Target.OnMethod[] values()
for (MethodAttributeAppender.Explicit.Target.OnMethod c : MethodAttributeAppender.Explicit.Target.OnMethod.values()) System.out.println(c);
public static MethodAttributeAppender.Explicit.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.Explicit.Targetmake in interface MethodAttributeAppender.Explicit.TargetmethodVisitor - 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.Copyright © 2014–2018. All rights reserved.