|
Mirror API | |||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| Declaration を使用しているパッケージ | |
|---|---|
| com.sun.mirror.apt | 注釈プロセッサと注釈処理ツール間で情報を通信するために使用されるクラス。 |
| com.sun.mirror.declaration | プログラム要素の宣言をモデル化するために使用されるインタフェース。 |
| com.sun.mirror.util | 宣言と 型の処理を支援するユーティリティです。 |
| com.sun.mirror.apt での Declaration の使用 |
|---|
| Declaration 型の引数を持つ型を返す com.sun.mirror.apt のメソッド | |
|---|---|
Collection<Declaration> |
AnnotationProcessorEnvironment.getDeclarationsAnnotatedWith(AnnotationTypeDeclaration a)
指定された注釈型を使って注釈を付けられた宣言を返します。 |
| com.sun.mirror.declaration での Declaration の使用 |
|---|
| com.sun.mirror.declaration での Declaration のサブインタフェース | |
|---|---|
interface |
AnnotationTypeDeclaration
注釈型の宣言を表します。 |
interface |
AnnotationTypeElementDeclaration
注釈型の要素を表します。 |
interface |
ClassDeclaration
クラスの宣言を表します。 |
interface |
ConstructorDeclaration
クラスまたはインタフェースのコンストラクタを表します。 |
interface |
EnumConstantDeclaration
enum 定数宣言を表します。 |
interface |
EnumDeclaration
enum 型の宣言を表します。 |
interface |
ExecutableDeclaration
クラスまたはインタフェースのメソッドまたはコンストラクタを表します。 |
interface |
FieldDeclaration
型宣言のフィールドを表します。 |
interface |
InterfaceDeclaration
インタフェースの宣言を表します。 |
interface |
MemberDeclaration
宣言された型のメンバまたはコンストラクタである可能性がある宣言を表します。 |
interface |
MethodDeclaration
クラスまたはインタフェースのメソッドを表します。 |
interface |
PackageDeclaration
パッケージの宣言を表します。 |
interface |
ParameterDeclaration
メソッドまたはコンストラクタの仮パラメータを表します。 |
interface |
TypeDeclaration
クラスまたはインタフェースの宣言を表します。 |
interface |
TypeParameterDeclaration
汎用型、メソッド、またはコンストラクタ宣言の仮型パラメータを表します。 |
| Declaration を返す com.sun.mirror.declaration のメソッド | |
|---|---|
Declaration |
TypeParameterDeclaration.getOwner()
この型パラメータが内部で宣言された型、メソッド、またはコンストラクタ宣言を返します。 |
| com.sun.mirror.util での Declaration の使用 |
|---|
| Declaration 型の型パラメータを持つ com.sun.mirror.util のメソッド | ||
|---|---|---|
|
DeclarationFilter.filter(Collection<? extends Declaration> decls,
Class<D> resType)
結果を特定の種類の宣言に制限して、このフィルタに一致する宣言を返します。 |
|
|
DeclarationFilter.filter(Collection<D> decls)
このフィルタに一致する宣言を返します。 |
|
| Declaration 型のパラメータを持つ com.sun.mirror.util のメソッド | |
|---|---|
boolean |
DeclarationFilter.matches(Declaration decl)
このフィルタが特定の宣言に一致するかどうかをテストします。 |
void |
SimpleDeclarationVisitor.visitDeclaration(Declaration d)
宣言をビジットします。 |
void |
DeclarationVisitor.visitDeclaration(Declaration d)
宣言をビジットします。 |
| Method parameters in com.sun.mirror.util with type arguments of type Declaration | ||
|---|---|---|
|
DeclarationFilter.filter(Collection<? extends Declaration> decls,
Class<D> resType)
結果を特定の種類の宣言に制限して、このフィルタに一致する宣言を返します。 |
|
static DeclarationFilter |
DeclarationFilter.getFilter(Class<? extends Declaration> kind)
特定の種類の宣言を選択するフィルタを返します。 |
|
|
Mirror API | |||||||||
| 前 次 | フレームあり フレームなし | |||||||||