|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SourceFile | |
---|---|
oracle.javatools.parser.java.v2 | The parser API. |
oracle.javatools.parser.java.v2.common | Classes common to model implementations. |
oracle.javatools.parser.java.v2.model | The parser model API. |
oracle.javatools.parser.java.v2.util | Various utilities for use with the parser. |
oracle.javatools.parser.java.v2.write | API involved with writing. |
oracle.jdeveloper.builder.annotation | |
oracle.jdeveloper.builder.enumtype | |
oracle.jdeveloper.java | Public API for the java model. |
oracle.jdeveloper.java.provider | Public implementations of the JavaFileProvider interface. |
oracle.jdeveloper.java.util | Public utilities for use with the java model, including the parser. |
Uses of SourceFile in oracle.javatools.parser.java.v2 |
---|
Methods in oracle.javatools.parser.java.v2 that return SourceFile | |
---|---|
static SourceFile |
SourceFactory.createFile(int j2se)
The SourceFile's URL and provider cookies are set to null. |
abstract SourceFile |
SourceFactory.getSourceFile()
Gets the source file to which this source factory is attached. |
static SourceFile |
JavaParser.parse(ReadTextBuffer textBuffer)
Parses the given text buffer with default options. |
static SourceFile |
JavaParser.parse(ReadTextBuffer textBuffer,
int j2se)
Parses the given text buffer with default options. |
Uses of SourceFile in oracle.javatools.parser.java.v2.common |
---|
Methods in oracle.javatools.parser.java.v2.common with parameters of type SourceFile | |
---|---|
static QuickHasType |
QuickHasType.createHasTypeByVMName(SourceFile file,
java.lang.String vmName)
Creates a QuickHasType where a JavaProvider is not yet available but a SourceFile is. |
static SourceClass |
CommonUtilities.getSourceElement(JavaClass target,
SourceFile searchSpace)
Searches for the target type as a member of the search class. |
static SourceElement |
CommonUtilities.getSourceElement(JavaElement target,
SourceFile searchSpace)
|
Uses of SourceFile in oracle.javatools.parser.java.v2.model |
---|
Methods in oracle.javatools.parser.java.v2.model that return SourceFile | |
---|---|
SourceFile |
SourceFile.cloneSelf(TextBuffer textBuffer)
Clones this SourceFile into the input TextBuffer. |
SourceFile |
SourceElement.getOwningFile()
Deprecated. Use getOwningSourceFile(). |
SourceFile |
SourceElement.getOwningSourceFile()
Gets the owning SourceFile. |
Methods in oracle.javatools.parser.java.v2.model with parameters of type SourceFile | |
---|---|
SourceElement |
SourceElement.cloneSelf(SourceFile targetFile)
Performs a deep-copy of this SourceElement but attached to the input SourceFile. |
Uses of SourceFile in oracle.javatools.parser.java.v2.util |
---|
Methods in oracle.javatools.parser.java.v2.util with parameters of type SourceFile | |
---|---|
static void |
Usages.processUsages(SourceFile file,
Usages usages)
Causes a special compile of this file that tracks declarations and usages. |
static Formatting.Selection |
Formatting.reformatRegion(SourceFile file,
int startOffset,
int endOffset)
Attempts to reformat between the (inclusive) input Textbuffer offsets. |
static javax.swing.undo.UndoableEdit |
Formatting.reformatSelection(SourceFile file,
int start,
int end)
This method reformats the selected region of code. |
void |
SourceVisitor.whenEnterFile(SourceFile sourceFile)
|
void |
SourceVisitor.whenExitFile(SourceFile sourceFile)
|
Uses of SourceFile in oracle.javatools.parser.java.v2.write |
---|
Methods in oracle.javatools.parser.java.v2.write that return SourceFile | |
---|---|
SourceFile |
SourceTransaction.getOwningSourceFile()
|
Methods in oracle.javatools.parser.java.v2.write with parameters of type SourceFile | |
---|---|
void |
SourceFileListener.changeUpdate(SourceFile file,
SourceTransaction transaction)
A transaction was committed against this source file. |
void |
SourceFileListener.expiredUpdate(SourceFile file)
The originating SourceFile instance has expired and is now invalid. |
Uses of SourceFile in oracle.jdeveloper.builder.annotation |
---|
Methods in oracle.jdeveloper.builder.annotation with parameters of type SourceFile | |
---|---|
protected void |
AnnotationBuilderModel.generate(SourceFile file,
SourceClass cls)
|
Uses of SourceFile in oracle.jdeveloper.builder.enumtype |
---|
Methods in oracle.jdeveloper.builder.enumtype with parameters of type SourceFile | |
---|---|
protected void |
EnumBuilderModel.generate(SourceFile file,
SourceClass cls)
|
Uses of SourceFile in oracle.jdeveloper.java |
---|
Methods in oracle.jdeveloper.java that return SourceFile | |
---|---|
SourceFile |
JavaFileProvider.createSourceFile(java.net.URL sourceURL)
Creates a new SourceFile for the given Java source URL (*.java). |
SourceFile |
JavaModel.createSourceFile(java.net.URL sourceURL)
Creates a new SourceFile for the given Java source URL (*.java). |
SourceFile |
JavaFileProvider.getSourceFile(TextBuffer textBuffer)
Creates a new SourceFile from the input TextBuffer but NOT tied any particular Java source URL. |
SourceFile |
JavaModel.getSourceFile(TextBuffer textBuffer)
Creates a new SourceFile from the input TextBuffer but NOT tied any particular Java source URL. |
SourceFile |
JavaFileProvider.getSourceFile(java.net.URL sourceURL)
Fetch the SourceFile for the given Java source URL (*.java). |
SourceFile |
JavaModel.getSourceFile(java.net.URL sourceURL)
Fetch the SourceFile for the given Java source URL (*.java). |
Uses of SourceFile in oracle.jdeveloper.java.provider |
---|
Fields in oracle.jdeveloper.java.provider with type parameters of type SourceFile | |
---|---|
protected java.util.Map<java.net.URL,SourceFile> |
CachedFileProvider._sourceFileCacheMap
Our cache of *.java SourceFile instances. |
Methods in oracle.jdeveloper.java.provider that return SourceFile | |
---|---|
SourceFile |
BaseFileProvider.createSourceFile(java.net.URL sourceURL)
Creates a new SourceFile for the given Java source URL (*.java). |
SourceFile |
CachedFileProvider.createSourceFile(java.net.URL url)
|
SourceFile |
ProviderContext.createSourceFile(java.net.URL url,
int j2se)
Creates a new file at the given URL (*.java) and creates a SourceFile object for it. |
SourceFile |
BaseFileProvider.getSourceFile(TextBuffer textBuffer)
Creates a new SourceFile from the input TextBuffer but NOT tied any particular Java source URL. |
protected SourceFile |
ProviderContext.getSourceFile(TextBuffer textBuffer,
int j2se)
Creates a new SourceFile for the given TextBuffer. |
SourceFile |
BaseFileProvider.getSourceFile(java.net.URL sourceURL)
Fetch the SourceFile for the given Java source URL (*.java). |
SourceFile |
ProviderContext.getSourceFile(java.net.URL url,
int j2se)
Gets a new SourceFile object for the (existing) file at the given URL. |
protected SourceFile |
BaseFileProvider.getSourceFileImpl(java.net.URL sourceURL)
Fetch the SourceFile for the given Java source URL (*.java). |
protected SourceFile |
CachedFileProvider.getSourceFileImpl(java.net.URL sourceURL)
Fetch the SourceFile for the given Java source URL (*.java). |
protected SourceFile |
ProviderContext.getSourceFileImpl(java.net.URL url,
int j2se)
|
protected SourceFile |
CachedFileProvider.lookupCachedSourceFile(java.net.URL sourceURL)
Utility routine which looks up the cached SourceFile entry in our cache map, which uses SoftReference values. |
Methods in oracle.jdeveloper.java.provider with parameters of type SourceFile | |
---|---|
void |
CachedFileProvider.SourceFileTracker.changeUpdate(SourceFile file,
SourceTransaction transaction)
|
void |
CachedFileProvider.SourceFileTracker.expiredUpdate(SourceFile file)
|
protected SourceClass |
BaseFileProvider.locateSourceClass(SourceFile sourceFile,
java.lang.String fqName)
Source version of locateClass() for locating a SourceClass instance within a SourceFile. |
protected void |
CachedFileProvider.removeCachedSourceFile(java.net.URL sourceURL,
SourceFile sourceFile)
Utility routine which removes the cached SourceFile from our cache map. |
protected void |
CachedFileProvider.storeCachedSourceFile(java.net.URL sourceURL,
SourceFile sourceFile)
Utility routine which stores the given sourcefile into our cache using SoftReferences. |
boolean |
ProviderContext.writeSourceFile(SourceFile file)
Called when SourceTransaction.commit() is called for the given file. |
Constructors in oracle.jdeveloper.java.provider with parameters of type SourceFile | |
---|---|
CachedFileProvider.SourceFileTracker(SourceFile sourceFile,
java.net.URL sourceURL)
|
Uses of SourceFile in oracle.jdeveloper.java.util |
---|
Methods in oracle.jdeveloper.java.util with parameters of type SourceFile | |
---|---|
static SourceClass |
SourceUtils.addClass(SourceFile file,
java.lang.String name,
int modifiers)
Adds (append) a class to the file. |
static void |
SourceUtils.addImport(SourceFile file,
java.lang.String importName)
Adds an import to the file. |
static SourceClass |
SourceUtils.addInterface(SourceFile file,
java.lang.String name,
int modifiers)
Adds (append) an interface to the file. |
static SourceLocalVariable |
SourceUtils.createLocalVariable(SourceFile file,
java.lang.String type,
java.lang.String name)
Creates a new local variable of the given type and name. |
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |