* will not be passed to the trigger method, though it is still
* called.
* @throws java.lang.IllegalArgumentException
- * if <code>method</code> is not a member of
- * <code>listener</code> .
+ * if <code>method</code> is not a member of <code>target</code>
+ * .
*/
public ListenerMethod(Class<?> eventType, Object target, Method method,
Object[] arguments, int eventArgumentIndex)
* called.
* @throws java.lang.IllegalArgumentException
* unless exactly one match <code>methodName</code> is found in
- * <code>listener</code>.
+ * <code>target</code>.
*/
public ListenerMethod(Class<?> eventType, Object target, String methodName,
Object[] arguments, int eventArgumentIndex)
* @param arguments
* the arguments to be passed to the trigger method.
* @throws java.lang.IllegalArgumentException
- * if <code>method</code> is not a member of
- * <code>listener</code> .
+ * if <code>method</code> is not a member of <code>target</code>
+ * .
*/
public ListenerMethod(Class<?> eventType, Object target, Method method,
Object[] arguments) throws java.lang.IllegalArgumentException {
* </p>
*
* <p>
- * The actual trigger method is reflected from <code>listener</code>, and
+ * The actual trigger method is reflected from <code>target</code>, and
* <code>java.lang.IllegalArgumentException</code> is thrown unless exactly
* one match is found.
* </p>
* <code>java.lang.IllegalArgumentException</code> is thrown.
* @throws java.lang.IllegalArgumentException
* unless exactly one match <code>methodName</code> is found in
- * <code>listener</code>.
+ * <code>target</code>.
*/
public ListenerMethod(Class<?> eventType, Object target, String methodName)
throws java.lang.IllegalArgumentException {