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