@HashCodeAndEqualsPlugin.Enhance public static class InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName extends java.lang.Object implements InvokeDynamic.InvocationProvider.NameProvider
InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName, InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
internalName
The name to be provided.
|
Modifier | Constructor and Description |
---|---|
protected |
ForExplicitName(java.lang.String internalName)
Creates a new name provider for an explicit name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolve(MethodDescription methodDescription)
Resolves the name given the intercepted method.
|
protected ForExplicitName(java.lang.String internalName)
internalName
- The name to be provided.public java.lang.String resolve(MethodDescription methodDescription)
resolve
in interface InvokeDynamic.InvocationProvider.NameProvider
methodDescription
- The intercepted method.