Eclipse/プラグイン開発のTIPS集/コード解析
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Javaの開発プラットフォームとしてとても使いやすいEclipseで...
Eclipseにはいろいろなコード解析方法が存在し、ちょっとやや...
**ICompilationUnitを起点にして、ソースコードを順次解析す...
Eclipse/プラグイン開発のTIPS集/org.eclipse.jdt.core.IComp...
IJavaElement[] getChildren() throws JavaModelException;
を用いることで、ソースコードを上から順次解析することがで...
**CompilationUnitに対して、Visitorパターンを用いてコード...
[[ソースコードを解析するパーサASTParser>Eclipse/プラグイ...
**TIPS集 [#p101f5a1]
*** パッケージエクスプローラからICompilationUnit [#w6b2b0...
アクションやハンドラ経由でパッケージエクスプローラからICo...
public Object execute(ExecutionEvent event) throws Execu...
ISelection selection = HandlerUtil.getActiveMenuSelect...
if (selection instanceof IStructuredSelection) {
IStructuredSelection sselection = (IStructuredSelect...
Object firstElement = sselection.getFirstElement();
if (firstElement instanceof ICompilationUnit) {
ICompilationUnit unit = (ICompilationUnit) firstEl...
// 色々処理。
}
}
}
return null;
}
**関連リンク [#u02a7b3b]
-[[Yahoo!グループ : Eclipse ML メッセージ : 2062 件中 924...
-[[org.limy.eclipse.code.accessor.AccessorUtils>http://ww...
----
この記事は
#vote(おもしろかった[3],そうでもない[0])
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
終了行:
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Javaの開発プラットフォームとしてとても使いやすいEclipseで...
Eclipseにはいろいろなコード解析方法が存在し、ちょっとやや...
**ICompilationUnitを起点にして、ソースコードを順次解析す...
Eclipse/プラグイン開発のTIPS集/org.eclipse.jdt.core.IComp...
IJavaElement[] getChildren() throws JavaModelException;
を用いることで、ソースコードを上から順次解析することがで...
**CompilationUnitに対して、Visitorパターンを用いてコード...
[[ソースコードを解析するパーサASTParser>Eclipse/プラグイ...
**TIPS集 [#p101f5a1]
*** パッケージエクスプローラからICompilationUnit [#w6b2b0...
アクションやハンドラ経由でパッケージエクスプローラからICo...
public Object execute(ExecutionEvent event) throws Execu...
ISelection selection = HandlerUtil.getActiveMenuSelect...
if (selection instanceof IStructuredSelection) {
IStructuredSelection sselection = (IStructuredSelect...
Object firstElement = sselection.getFirstElement();
if (firstElement instanceof ICompilationUnit) {
ICompilationUnit unit = (ICompilationUnit) firstEl...
// 色々処理。
}
}
}
return null;
}
**関連リンク [#u02a7b3b]
-[[Yahoo!グループ : Eclipse ML メッセージ : 2062 件中 924...
-[[org.limy.eclipse.code.accessor.AccessorUtils>http://ww...
----
この記事は
#vote(おもしろかった[3],そうでもない[0])
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
ページ名: