1 |
/* GenericArrayType.java - Represent an array type with generic componet |
/* GenericArrayType.java - Represent an array type with a generic component |
2 |
Copyright (C) 2004 Free Software Foundation, Inc. |
Copyright (C) 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 |
public interface GenericArrayType extends Type |
/** |
42 |
|
* Represents the type of an array's components, which may be |
43 |
|
* either a parameterized type or a type variable. |
44 |
|
* |
45 |
|
* @author Tom Tromey (tromey@redhat.com) |
46 |
|
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
47 |
|
* @since 1.5 |
48 |
|
*/ |
49 |
|
public interface GenericArrayType |
50 |
|
extends Type |
51 |
{ |
{ |
52 |
|
|
53 |
|
/** |
54 |
|
* Returns the <code>Type</code> of the components within the array. |
55 |
|
* |
56 |
|
* @return a <code>Type</code> instance representing the type of |
57 |
|
* the array's components. |
58 |
|
*/ |
59 |
Type getGenericComponentType(); |
Type getGenericComponentType(); |
60 |
|
|
61 |
} |
} |