equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
444 return proxy.getClass().getName() + '@' + Integer.toHexString(proxy.hashCode()); |
444 return proxy.getClass().getName() + '@' + Integer.toHexString(proxy.hashCode()); |
445 } |
445 } |
446 } |
446 } |
447 |
447 |
448 if (listenerMethodName == null || listenerMethodName.equals(methodName)) { |
448 if (listenerMethodName == null || listenerMethodName.equals(methodName)) { |
449 Class[] argTypes = null; |
449 Class<?>[] argTypes = null; |
450 Object[] newArgs = null; |
450 Object[] newArgs = null; |
451 |
451 |
452 if (eventPropertyName == null) { // Nullary method. |
452 if (eventPropertyName == null) { // Nullary method. |
453 newArgs = new Object[]{}; |
453 newArgs = new Object[]{}; |
454 argTypes = new Class<?>[]{}; |
454 argTypes = new Class<?>[]{}; |