(Class c)
| 1674 | |
| 1675 | // Invokers support only long, double, Object params; widen numerics |
| 1676 | private static Class toInvokerParamType(Class c) { |
| 1677 | if (c.equals(Byte.TYPE) || c.equals(Short.TYPE) || c.equals(Integer.TYPE) || c.equals(Long.TYPE)) { |
| 1678 | return Long.TYPE; |
| 1679 | } else if (c.equals(Float.TYPE) || c.equals(Double.TYPE)) { |
| 1680 | return Double.TYPE; |
| 1681 | } |
| 1682 | return Object.class; |
| 1683 | } |
| 1684 | |
| 1685 | /** |
| 1686 | * If targetClass is FI and has an adaptable functional method |
no test coverage detected