Mirror API

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

すべてのスーパーインタフェース:
Declaration, ExecutableDeclaration, MemberDeclaration
既知のサブインタフェースの一覧:
AnnotationTypeElementDeclaration

public interface MethodDeclaration
extends ExecutableDeclaration

クラスまたはインタフェースのメソッドを表します。注釈型要素 はメソッドの一種です。

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

メソッドの概要
 TypeMirror getReturnType()
          このメソッドの形式戻り値の型を返します。
 
インタフェース com.sun.mirror.declaration.ExecutableDeclaration から継承されたメソッド
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs
 
インタフェース com.sun.mirror.declaration.MemberDeclaration から継承されたメソッド
getDeclaringType
 
インタフェース com.sun.mirror.declaration.Declaration から継承されたメソッド
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

メソッドの詳細

getReturnType

TypeMirror getReturnType()
このメソッドの形式戻り値の型を返します。このメソッドが値を返さない場合は VoidType を返します。

戻り値:
このメソッドの形式戻り値の型

Mirror API

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