|
com.sun.mirror.declaration
Interface TypeParameterDeclaration
-
All Superinterfaces:
-
Declaration
-
public interface TypeParameterDeclaration
- extends
Declaration
Represents a formal type parameter of a generic type, method,
or constructor declaration.
A type parameter declares a
TypeVariable .
-
Since:
- 1.5
getBounds
Collection<
ReferenceType> getBounds()
- Returns the bounds of this type parameter.
These are the types given by the extends clause.
If there is no explicit extends clause, then
java.lang.Object is considered to be the sole bound.
-
-
-
Returns:
- the bounds of this type parameter
getOwner
Declaration getOwner()
- Returns the type, method, or constructor declaration within which
this type parameter is declared.
-
-
-
Returns:
- the declaration within which this type parameter is declared
Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.
|
|