1 |
/* java.lang.reflect.Constructor - reflection of Java constructors |
/* java.lang.reflect.Constructor - reflection of Java constructors |
2 |
Copyright (C) 1998, 2001, 2004 Free Software Foundation, Inc. |
Copyright (C) 1998, 2001, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
|
|
39 |
package java.lang.reflect; |
package java.lang.reflect; |
40 |
|
|
41 |
|
import gnu.java.lang.reflect.MethodSignatureParser; |
42 |
import java.util.Arrays; |
import java.util.Arrays; |
43 |
|
|
44 |
/** |
/** |
261 |
* specification, version 3. |
* specification, version 3. |
262 |
* @since 1.5 |
* @since 1.5 |
263 |
*/ |
*/ |
264 |
public native TypeVariable<?>[] getTypeParameters(); |
public TypeVariable<?>[] getTypeParameters() |
265 |
|
{ |
266 |
|
String sig = getSignature(); |
267 |
|
MethodSignatureParser p = new MethodSignatureParser(this, sig); |
268 |
|
return p.getTypeParameters(); |
269 |
|
} |
270 |
|
|
271 |
|
private native String getSignature(); |
272 |
} |
} |