79 |
{ |
{ |
80 |
private Class<T> clazz; |
private Class<T> clazz; |
81 |
private int slot; |
private int slot; |
|
private Class[] parameterTypes; |
|
|
private Class[] exceptionTypes; |
|
82 |
|
|
83 |
/** |
/** |
84 |
* This class is uninstantiable except from native code. |
* This class is uninstantiable except from native code. |
128 |
* |
* |
129 |
* @return a list of the types of the constructor's parameters |
* @return a list of the types of the constructor's parameters |
130 |
*/ |
*/ |
131 |
public Class<?>[] getParameterTypes() |
public native Class<?>[] getParameterTypes(); |
|
{ |
|
|
if (parameterTypes == null) |
|
|
return new Class[0]; |
|
|
return parameterTypes; |
|
|
} |
|
132 |
|
|
133 |
/** |
/** |
134 |
* Get the exception types this constructor says it throws, in no particular |
* Get the exception types this constructor says it throws, in no particular |
137 |
* |
* |
138 |
* @return a list of the types in the constructor's throws clause |
* @return a list of the types in the constructor's throws clause |
139 |
*/ |
*/ |
140 |
public Class<?>[] getExceptionTypes() |
public native Class<?>[] getExceptionTypes(); |
|
{ |
|
|
if (exceptionTypes == null) |
|
|
return new Class[0]; |
|
|
return exceptionTypes; |
|
|
} |
|
141 |
|
|
142 |
/** |
/** |
143 |
* Compare two objects to see if they are semantically equivalent. |
* Compare two objects to see if they are semantically equivalent. |