| Package | Description | 
|---|---|
| oracle.javatools.parser.java.v2.model | 
 The parser model API. 
 | 
| oracle.javatools.parser.java.v2.write | 
 API involved with writing. 
 | 
| oracle.jdeveloper.cmt | 
 The Component Model Tool, an API for manipulating Java source code. 
 | 
| oracle.jdeveloper.engine | |
| oracle.jdeveloper.java | 
 Public API for the java model. 
 | 
| oracle.jdeveloper.java.provider | 
 Public implementations of the JavaFileProvider interface. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SourceTransaction | 
SourceFile.beginTransaction()
Locks (and implicitly pins) the text buffer and indicates a new
 transaction. 
 | 
SourceTransaction | 
SourceFile.getTransaction()
Gets the pending transaction, null if none. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
javax.swing.undo.UndoableEdit | 
SourceFile.runInTransaction(java.util.function.Function<SourceTransaction,java.lang.Boolean> function)
Runs the function as part of a SourceTransaction on this SourceFile. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SourceFileListener.changeUpdate(SourceFile file,
            SourceTransaction transaction)
A transaction was committed against this source file. 
 | 
void | 
SourceTransactionListener.changeUpdate(SourceTransaction transaction,
            SourceChange change)
A source change has been executed. 
 | 
void | 
SourceTransactionListener.closeUpdate(SourceTransaction transaction,
           boolean commit)
This transaction has been closed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
CmtPackages.commitTransaction(SourceTransaction trans,
                 TransactionDescriptor descriptor)  | 
| Modifier and Type | Method and Description | 
|---|---|
SourceTransaction | 
ClassEngine.openTransaction()  | 
static SourceTransaction | 
EngineUtils.openTransaction(SourceFile srcFile)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ClassEngine.changeUpdate(SourceTransaction trans,
            SourceChange change)  | 
void | 
ClassEngine.closeUpdate(SourceTransaction trans,
           boolean commit)  | 
protected void | 
ClassEngine.invalidateCache(SourceTransaction srcTrans)  | 
| Modifier and Type | Method and Description | 
|---|---|
SourceTransaction | 
JavaManager.beginTransaction(SourceFile sourceFile)
Starts a transaction on the given sourceFile. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
JavaManager.commitTransaction(SourceTransaction openTransaction)
Commit the specified open transaction. 
 | 
boolean | 
JavaManager.commitTransaction(SourceTransaction openTransaction,
                 java.lang.String undoText)
Commit the specified open transaction. 
 | 
boolean | 
JavaManager.commitTransaction(SourceTransaction openTransaction,
                 TransactionDescriptor txnDescriptor)
Commit the specified open transaction. 
 | 
boolean | 
JavaManager.commitTransactionNoUndo(SourceTransaction openTransaction)
Commit the specified open transaction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CachedFileProvider.SourceFileTracker.changeUpdate(SourceFile file,
            SourceTransaction transaction)  |