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(org.objectweb.asm.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(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription)
make
in interface MethodAttributeAppender.Explicit.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.Copyright © 2014–2022. All rights reserved.