Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface TypeParameterDeclaration

All Superinterfaces:
Declaration

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is TypeParameterElement.

@Deprecated
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

Method Summary
Modifier and Type Method and Description
 Collection<ReferenceType> getBounds()
          Deprecated. Returns the bounds of this type parameter.
 Declaration getOwner()
          Deprecated. Returns the type, method, or constructor declaration within which this type parameter is declared.
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Method Detail

getBounds

Collection<ReferenceType> getBounds()
Deprecated. 
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()
Deprecated. 
Returns the type, method, or constructor declaration within which this type parameter is declared.

Returns:
the declaration within which this type parameter is declared

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.