public abstract class MethodNameUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
MethodNameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
methodNameToNotificationKey(java.lang.String name)
Strip the "notify" when a method name and split the camel-case into a dot-separated String.
|
static java.lang.String |
methodNameToSelectorName(java.lang.String name)
Strip the "on" or "notify" when a method name and split the camel-case into a dot-separated String.
|
public static java.lang.String methodNameToSelectorName(java.lang.String name)
name - The method name to transform.Selector.public static java.lang.String methodNameToNotificationKey(java.lang.String name)
name - The method name to transform.