1 | try {↵ | | 1 | try {↵
|
2 | Constructor constr = colClass.getConstructor(new Class[] { Byte.TYPE });↵ | | 2 | Constructor constr = colClass.getConstructor(new Class[] { String.class });↵
|
3 | return constr.newInstance(new Object[] { new Byte(Byte.MIN_VALUE) });↵ | | 3 | return constr.newInstance(new Object[] { ↵
|
4 | ↵ | | 4 | "" });↵
|
5 | } catch (NoSuchMethodException err) {↵ | | 5 | } catch (NoSuchMethodException err) {↵
|
6 | } catch (InstantiationException err) {↵ | | 6 | } catch (InstantiationException err) {↵
|
7 | } catch (IllegalAccessException err) {↵ | | 7 | } catch (IllegalAccessException err) {↵
|
8 | } catch (InvocationTargetException err) {↵ | | 8 | } catch (InvocationTargetException err) {↵
|
9 | }↵ | | 9 | }↵
|
10 | try {↵ | | 10 | try {↵
|
11 | Constructor constr = colClass.getConstructor(new Class[] { Short.TYPE });↵ | | 11 | Constructor constr = colClass.getConstructor(new Class[] { Integer.TYPE });↵
|
12 | return constr.newInstance(new Object[] { new Short(Short.MIN_VALUE) });↵ | | 12 | return constr.newInstance(new Object[] { new Integer(0) });↵
|
13 | } catch (NoSuchMethodException err) {↵ | | 13 | } catch (NoSuchMethodException err) {↵
|
14 | } catch (InstantiationException err) {↵ | | 14 | } catch (InstantiationException err) {↵
|
15 | } catch (IllegalAccessException err) {↵ | | 15 | } catch (IllegalAccessException err) {↵
|
16 | } catch (InvocationTargetException err) {↵ | | 16 | } catch (InvocationTargetException err) {↵
|
17 | } | | 17 | }
|