public static enum DefaultMethod.Binder.MethodLocator.ForImplicitType extends Enum<DefaultMethod.Binder.MethodLocator.ForImplicitType> implements DefaultMethod.Binder.MethodLocator
DefaultMethod.Binder.MethodLocator.ForExplicitType, DefaultMethod.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 DefaultMethod.Binder.MethodLocator.ForImplicitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMethod.Binder.MethodLocator.ForImplicitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMethod.Binder.MethodLocator.ForImplicitType INSTANCE
public static DefaultMethod.Binder.MethodLocator.ForImplicitType[] values()
for (DefaultMethod.Binder.MethodLocator.ForImplicitType c : DefaultMethod.Binder.MethodLocator.ForImplicitType.values()) System.out.println(c);
public static DefaultMethod.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)
DefaultMethod.Binder.MethodLocator
resolve
in interface DefaultMethod.Binder.MethodLocator
implementationTarget
- The implementation target.source
- The method being instrumented.Copyright © 2014–2017. All rights reserved.