public class ERXSelectorUtilities extends Object
NSSelector.invoke().| Constructor and Description | 
|---|
| ERXSelectorUtilities() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | invoke(NSSelector<T> sel,
      Object o)Just like the NSSelector method of the same name, except only runtime
 exceptions are thrown. | 
| static <T> T | invoke(NSSelector<T> sel,
      Object o,
      Object argument1)Just like the NSSelector method of the same name, except only runtime
 exceptions are thrown. | 
| static <T> T | invoke(NSSelector<T> sel,
      Object o,
      Object[] params)Just like the NSSelector method of the same name, except only NSForwardExceptions
 are thrown. | 
| static <T> T | invoke(NSSelector<T> sel,
      Object o,
      Object argument1,
      Object argument2)Just like the NSSelector method of the same name, except only runtime
 exceptions are thrown. | 
| static NSSelector<Void> | notificationSelector(String methodName)Utility that returns a selector you can use with the NSNotificationCenter. | 
public static <T> T invoke(NSSelector<T> sel, Object o, Object[] params)
sel - the selector to invokeo - the target object of the selectorparams - the arguments for the invoked selector methodNSSelector.invoke(Object, Object[])public static <T> T invoke(NSSelector<T> sel, Object o)
sel - the selector to invokeo - the target object of the selectorNSSelector.invoke(Object)public static <T> T invoke(NSSelector<T> sel, Object o, Object argument1)
sel - the selector to invokeo - the target object of the selectorargument1 - the method argumentNSSelector.invoke(Object, Object)public static <T> T invoke(NSSelector<T> sel, Object o, Object argument1, Object argument2)
sel - the selector to invokeo - the target object of the selectorargument1 - the first method argumentargument2 - the second method argumentNSSelector.invoke(Object, Object, Object)public static NSSelector<Void> notificationSelector(String methodName)
methodName - Copyright © 2002 – 2025 Project Wonder.