185 |
public String toString() |
public String toString() |
186 |
{ |
{ |
187 |
// 128 is a reasonable buffer initial size for constructor |
// 128 is a reasonable buffer initial size for constructor |
188 |
StringBuffer sb = new StringBuffer(128); |
StringBuilder sb = new StringBuilder(128); |
189 |
Modifier.toString(getModifiers(), sb).append(' '); |
Modifier.toString(getModifiers(), sb).append(' '); |
190 |
sb.append(getDeclaringClass().getName()).append('('); |
sb.append(getDeclaringClass().getName()).append('('); |
191 |
Class[] c = getParameterTypes(); |
Class[] c = getParameterTypes(); |
248 |
throws InstantiationException, IllegalAccessException, |
throws InstantiationException, IllegalAccessException, |
249 |
InvocationTargetException; |
InvocationTargetException; |
250 |
|
|
251 |
/** FIXME |
/** |
252 |
|
* Returns an array of <code>TypeVariable</code> objects that represents |
253 |
|
* the type variables declared by this constructor, in declaration order. |
254 |
|
* An array of size zero is returned if this class has no type |
255 |
|
* variables. |
256 |
|
* |
257 |
|
* @return the type variables associated with this class. |
258 |
|
* @throws GenericSignatureFormatError if the generic signature does |
259 |
|
* not conform to the format specified in the Virtual Machine |
260 |
|
* specification, version 3. |
261 |
* @since 1.5 |
* @since 1.5 |
262 |
*/ |
*/ |
263 |
public TypeVariable<?>[] getTypeParameters() |
public native TypeVariable<?>[] getTypeParameters(); |
264 |
{ |
|
|
return new TypeVariable<?>[0]; |
|
|
} |
|
265 |
} |
} |