public static enum DefaultMethodHandle.Binder.MethodLocator.ForImplicitType extends Enum<DefaultMethodHandle.Binder.MethodLocator.ForImplicitType> implements DefaultMethodHandle.Binder.MethodLocator
DefaultMethodHandle.Binder.MethodLocator.ForExplicitType, DefaultMethodHandle.Binder.MethodLocator.ForImplicitType
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
resolve(Implementation.Target implementationTarget,
MethodDescription source)
Resolves the special method invocation to this target.
|
static DefaultMethodHandle.Binder.MethodLocator.ForImplicitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMethodHandle.Binder.MethodLocator.ForImplicitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMethodHandle.Binder.MethodLocator.ForImplicitType INSTANCE
public static DefaultMethodHandle.Binder.MethodLocator.ForImplicitType[] values()
for (DefaultMethodHandle.Binder.MethodLocator.ForImplicitType c : DefaultMethodHandle.Binder.MethodLocator.ForImplicitType.values()) System.out.println(c);
public static DefaultMethodHandle.Binder.MethodLocator.ForImplicitType 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 Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source)
resolve
in interface DefaultMethodHandle.Binder.MethodLocator
implementationTarget
- The implementation target.source
- The method being instrumented.Copyright © 2014–2023. All rights reserved.