96 |
* is a non-inherited member. |
* is a non-inherited member. |
97 |
* @return the class that declared this member |
* @return the class that declared this member |
98 |
*/ |
*/ |
99 |
public Class getDeclaringClass() |
public Class<?> getDeclaringClass() |
100 |
{ |
{ |
101 |
return declaringClass; |
return declaringClass; |
102 |
} |
} |
133 |
* |
* |
134 |
* @return a list of the types of the method's parameters |
* @return a list of the types of the method's parameters |
135 |
*/ |
*/ |
136 |
public native Class[] getParameterTypes(); |
public native Class<?>[] getParameterTypes(); |
137 |
|
|
138 |
/** |
/** |
139 |
* Get the exception types this method says it throws, in no particular |
* Get the exception types this method says it throws, in no particular |
142 |
* |
* |
143 |
* @return a list of the types in the method's throws clause |
* @return a list of the types in the method's throws clause |
144 |
*/ |
*/ |
145 |
public native Class[] getExceptionTypes(); |
public native Class<?>[] getExceptionTypes(); |
146 |
|
|
147 |
/** |
/** |
148 |
* Compare two objects to see if they are semantically equivalent. |
* Compare two objects to see if they are semantically equivalent. |