Mirror API

com.sun.mirror.declaration
インタフェース TypeParameterDeclaration

すべてのスーパーインタフェース:
Declaration

public interface TypeParameterDeclaration
extends Declaration

汎用型、メソッド、またはコンストラクタ宣言の仮型パラメータを表します。型パラメータは TypeVariable を宣言します。

導入されたバージョン:
1.5

メソッドの概要
 Collection<ReferenceType> getBounds()
          この型パラメータの境界を返します。
 Declaration getOwner()
          この型パラメータが内部で宣言された型、メソッド、またはコンストラクタ宣言を返します。
 
インタフェース com.sun.mirror.declaration.Declaration から継承されたメソッド
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

メソッドの詳細

getBounds

Collection<ReferenceType> getBounds()
この型パラメータの境界を返します。これらの型は extends 節で指定されます。明示的な extends 節がない場合、java.lang.Object が唯一の境界であるとみなされます。

戻り値:
この型パラメータの境界

getOwner

Declaration getOwner()
この型パラメータが内部で宣言された型、メソッド、またはコンストラクタ宣言を返します。

戻り値:
この型パラメータが内部で宣言された宣言

Mirror API

バグや機能要求の報告
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.