編譯參與者

org.eclipse.jdt.core.compilationParticipant

3.2

這個延伸點可讓用戶端在建置和調節的各階段,透過 org.eclipse.jdt.core.compiler.CompilationParticipant 來接收通知,藉此參與編譯程序。

<!ELEMENT extension (compilationParticipant*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT compilationParticipant (requires* , managedMarker*)>

<!ATTLIST compilationParticipant

class               CDATA #REQUIRED

id                  CDATA #REQUIRED

modifiesEnvironment (true | false)

createsProblems     (true | false)

requiredSourceLevel CDATA #IMPLIED>

編譯參與者的定義。這項定義可以排序參與者。參與者依群組來執行。修改環境的參與者群組最先執行,接著是提出問題的參與者群組,其他參與者的群組最後執行。在每一個群組內,參與者依 'requires' 屬性來排序。如果 'requires' 屬性指向不屬於該群組的參與者,則忽略此參與者。



<!ELEMENT requires EMPTY>

<!ATTLIST requires

id CDATA #REQUIRED>

執行這個編譯參與者所需的參與者



<!ELEMENT managedMarker EMPTY>

<!ATTLIST managedMarker

markerType CDATA #REQUIRED>

從記錄的問題中建立的受管理標記(請參閱 BuildContext#recordNewProblems(CategorizedProblem[])),在重新建置相對應的程式檔或清除專案時會移除



[在這裡輸入延伸點用法範例。]

[在這裡輸入 API 資訊。]

[輸入所提供的這個延伸點之實作的相關資訊。]