Interface GenericDeclaration
All Known Implementing Classes:
-
public interface GenericDeclaration
A common interface for all entities that declare type variables.
Since:
-
1.5
| Method Summary |
|
getTypeParameters() Returns an array of TypeVariable objects that
represent the type variables declared by the generic
declaration represented by this GenericDeclaration
object, in declaration order. |
Method Detail
getTypeParameters
-
Returns an array of TypeVariable objects that
represent the type variables declared by the generic
declaration represented by this GenericDeclaration
object, in declaration order. Returns an array of length 0 if
the underlying generic declaration declares no type variables.
Returns:
-
an array of TypeVariable objects that represent
the type variables declared by this generic declaration
Throws:
-
GenericSignatureFormatError - if the generic
signature of this generic declaration does not conform to
the format specified in the Java Virtual Machine Specification,
3rd edition
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com