|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResourceCompilationUnit
Dali resource for JDT compilation unit. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode.Root |
|---|
PERSISTENT_TYPES_COLLECTION |
| Method Summary | |
|---|---|
org.eclipse.jdt.core.dom.CompilationUnit |
buildASTRoot()
Build an AST for the compilation unit with its bindings resolved. |
AnnotationEditFormatter |
getAnnotationEditFormatter()
Return the JPA project's annotation formatter. |
org.eclipse.jdt.core.ICompilationUnit |
getCompilationUnit()
Return the corresponding JDT compilation unit. |
CommandExecutor |
getModifySharedDocumentCommandExecutor()
This allows the resource model to modify the Java source code on the UI thread when it is executing on another thread. |
void |
resolveTypes()
Resolve type information that could be dependent on other files being added/removed. |
void |
synchronizeWithJavaSource()
Something in Java has changed (typically either the compilation unit's source code or the Java classpath); synchronize the compilation unit's state with the Java source code etc. |
| Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode.Root |
|---|
getAnnotationProvider, persistentTypes, resourceModelChanged |
| Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.jpt.core.JpaResourceModel |
|---|
addResourceModelListener, getResourceType, removeResourceModelListener |
| Method Detail |
|---|
org.eclipse.jdt.core.ICompilationUnit getCompilationUnit()
AnnotationEditFormatter getAnnotationEditFormatter()
CommandExecutor getModifySharedDocumentCommandExecutor()
void resolveTypes()
void synchronizeWithJavaSource()
org.eclipse.jdt.core.dom.CompilationUnit buildASTRoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||