|
Mirror API | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface ClassDeclaration
クラスの宣言を表します。インタフェースの宣言については、InterfaceDeclaration
を参照してください。クラス、そのメンバ、およびそのコンストラクタに関する情報へのアクセスを提供します。enum はクラスの一種です。
ClassDeclaration はクラスの宣言を表しますが、ClassType
はクラス型を表します。クラスの宣言とクラス型の違いについては、TypeDeclaration
を参照してください。
DeclarationFilter
は、メソッドが宣言のコレクションを返すときに必要な項目だけを簡単に選択する方法を提供します。
ClassType
メソッドの概要 | |
---|---|
Collection<ConstructorDeclaration> |
getConstructors()
このクラスのコンストラクタを返します。 |
Collection<MethodDeclaration> |
getMethods()
このクラスまたはインタフェースにより直接宣言されたメソッドを返します。 |
ClassType |
getSuperclass()
このクラスにより直接拡張されたクラス型を返します。 |
インタフェース com.sun.mirror.declaration.TypeDeclaration から継承されたメソッド |
---|
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces |
インタフェース com.sun.mirror.declaration.MemberDeclaration から継承されたメソッド |
---|
getDeclaringType |
インタフェース com.sun.mirror.declaration.Declaration から継承されたメソッド |
---|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
メソッドの詳細 |
---|
ClassType getSuperclass()
Collection<ConstructorDeclaration> getConstructors()
DeclarationFilter
Collection<MethodDeclaration> getMethods()
TypeDeclaration
内の getMethods
DeclarationFilter
|
Mirror API | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |