Java Model in JDT
来源:互联网 发布:宇石网络绍兴 编辑:程序博客网 时间:2024/05/07 19:11
Each Java project is internally represented in Eclipse as a Java model. The Eclipse Java model is a light-weight and fault tolerant representation of the Java project.
It does not contain as many information as the Abstract Syntax Tree (AST) but is fast to create. For example the Outline view is using the Java model for its representation; this way the information in the Outline view can quickly get updated.
The Java model is defined in the org.eclipse.jdt.core plug-in. JDT Core (org.eclipse.jdt.core) is the plug-in that defines the core Java elements and API. You should always list this plug-in as a prerequisite when you are developing Java specific features.
JDT Core packages give you access to the Java model objects and headless Java IDE infrastructure. The JDT Core packages include:
org.eclipse.jdt.core - defines the classes that describe the Java model.
org.eclipse.jdt.core.compiler - defines an API for the compiler infrastructure.
org.eclipse.jdt.core.dom - supports Abstract Syntax Trees (AST) that can be used for examining the structure of a compilation unit down to the statement level.
org.eclipse.jdt.core.dom.rewrite - supports rewriting of Abstract Syntax Trees (AST) that can be used for manipulating the structure of a compilation unit down to the statement level.
org.eclipse.jdt.core.eval - supports the evaluation of code snippets in a scrapbook or inside the debugger.
org.eclipse.jdt.core.formatter - supports the formatting of compilation units, types, statements, expressions, etc.
org.eclipse.jdt.core.jdom - supports a Java Document Object Model (DOM) that can be used for walking the structure of a Java compilation unit.
org.eclipse.jdt.core.search - supports searching the workspace's Java model for Java elements that match a particular description.
It does not contain as many information as the Abstract Syntax Tree (AST) but is fast to create. For example the Outline view is using the Java model for its representation; this way the information in the Outline view can quickly get updated.
The Java model is defined in the org.eclipse.jdt.core plug-in. JDT Core (org.eclipse.jdt.core) is the plug-in that defines the core Java elements and API. You should always list this plug-in as a prerequisite when you are developing Java specific features.
JDT Core packages give you access to the Java model objects and headless Java IDE infrastructure. The JDT Core packages include:
org.eclipse.jdt.core - defines the classes that describe the Java model.
org.eclipse.jdt.core.compiler - defines an API for the compiler infrastructure.
org.eclipse.jdt.core.dom - supports Abstract Syntax Trees (AST) that can be used for examining the structure of a compilation unit down to the statement level.
org.eclipse.jdt.core.dom.rewrite - supports rewriting of Abstract Syntax Trees (AST) that can be used for manipulating the structure of a compilation unit down to the statement level.
org.eclipse.jdt.core.eval - supports the evaluation of code snippets in a scrapbook or inside the debugger.
org.eclipse.jdt.core.formatter - supports the formatting of compilation units, types, statements, expressions, etc.
org.eclipse.jdt.core.jdom - supports a Java Document Object Model (DOM) that can be used for walking the structure of a Java compilation unit.
org.eclipse.jdt.core.search - supports searching the workspace's Java model for Java elements that match a particular description.
org.eclipse.jdt.core.util - provides utility classes for manipulating .class files and Java model elements.
Project Element Java Model element Description
- Java Model in JDT
- AST in JDT
- JDT - Java element hierarchy
- TestDefaultTableModel--table model in java&sql
- Ecplise内JDT自带Java编译器
- JDT:在TreeViewer中呈现java元素
- 调用eclipse的JDT编译java源代码
- Java代码分析器(一): JDT入门
- jdt.core.formatter.CodeFormatter格式化java代码
- 利用Eclipse JDT抽取Java AST
- The Eclipse JDT Core jar is not in the classpath
- overwrite attribute in model
- Challenges in Lean model
- Data model in python
- Channel Model in 36.104
- Attention Model in NLP
- JAVA MODEL
- Custom ThreadPool in Java to Perform as ThreadPool in C# based on Singleton Model
- No Suitable Driver Found For Jdbc_我的解决方法
- 黑马程序员--I O流(一)
- uml详细图
- Eclipse用法和技巧五:生成说明文档2
- UVA 10018
- Java Model in JDT
- 使用dojo中的dijit的组件中TabContainer制作可以关闭的tab
- 开源编码与开放API
- eclipse启动tomcat无法访问
- wait_event_interruptible() 和 wake_up()的使用
- Ubuntu常用软件安装脚本
- 尽量在不得已的情况下才使用设计模式
- linux c 模拟闹钟程序
- JavaBean保存范围