| Package | Description | 
|---|---|
| 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.jdeveloper.cmt | 
 The Component Model Tool, an API for manipulating Java source code. 
 | 
| oracle.jdeveloper.java | 
 Public API for the java model. 
 | 
| oracle.jdeveloper.java.clients.uieditor | |
| oracle.jdeveloper.java.provider | 
 Public implementations of the JavaFileProvider interface. 
 | 
| oracle.jdeveloper.model | 
 Contains interfaces and classes implementing the Java specific portions of
JDeveloper's data model. 
 | 
| oracle.jdeveloper.util | 
| Modifier and Type | Method and Description | 
|---|---|
static JavaFile | 
JavaParser.lightParse(ReadTextBuffer textBuffer,
          java.net.URL url,
          JavaProvider javaProvider,
          int j2se)
Deprecated. 
 
Use lightParse( ReadTextBuffer, URL, JavaProvider, JdkVersion ) instead 
 | 
static JavaFile | 
JavaParser.lightParse(ReadTextBuffer textBuffer,
          java.net.URL url,
          JavaProvider javaProvider,
          JdkVersion jdkVersion)
Parse the textBuffer and return a "light" sourceFile where all
 the method bodies were skipped
 In general this method should NOT be called directly. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFile | 
WrapperMethod.getFile()  | 
JavaFile | 
WrapperLocalVariable.getFile()  | 
JavaFile | 
WrapperField.getFile()  | 
JavaFile | 
WrapperClass.getFile()  | 
JavaFile | 
SignatureHasType.getFile()  | 
JavaFile | 
QuickLocalVariable.getFile()  | 
JavaFile | 
QuickJavaClass.getFile()  | 
JavaFile | 
QuickHasType.getFile()  | 
JavaFile | 
QuickHasName.getFile()  | 
JavaFile | 
PrimitiveType.getFile()  | 
JavaFile | 
IntersectionType.getFile()  | 
JavaFile | 
AbstractPackage.getFile()  | 
JavaFile | 
AbstractMethod.getFile()  | 
JavaFile | 
AbstractField.getFile()  | 
| Modifier and Type | Method and Description | 
|---|---|
static JavaClass | 
CommonUtilities.getClass(JavaFile target,
        java.lang.String name)  | 
static JavaField | 
CommonUtilities.getDeclaredFieldFromUniqueId(JavaFile javaFile,
                            java.lang.String uniqueIdentifier)
Given a JavaFile and a unique identifier, find the JavaField in the JavaFile
 that has that unique identifier. 
 | 
static JavaMethod | 
CommonUtilities.getDeclaredMethodFromUniqueId(JavaFile javaFile,
                             java.lang.String uniqueIdentifier)
Given a JavaFile and a unique identifier, find the JavaMethod in the JavaFile
 that has that unique identifier. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
SourceFile
The SourceFile represents the root node for a complete Source
 source file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFile | 
JavaElement.getFile()  | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFile | 
CmtComponent.getFile()
Get the SourceFile associated with this instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract CmtComponent | 
CmtComponentManager.createComponent(JavaFile jFile)  | 
CmtComponent | 
CmtComponents.getComponent(JavaFile file)
Get a component given a JavaClass. 
 | 
CmtComponent | 
CmtComponentManager.getComponent(JavaFile jFile)
Get a component given a JavaFile. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFile | 
JavaModel.getFile(java.net.URL url)
Fetch the JavaFile for the given URL. 
 | 
JavaFile | 
JavaFileProvider.getFile(java.net.URL url)
Fetch the JavaFile for the given URL. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JavaFile | 
CustomJavaManager.getOwningFile(JavaClass javaClass)
Fetch the JavaFile containing the given JavaClass instance. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected JavaFile | 
BaseFileProvider.BaseClass._javaFile  | 
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.Map<java.net.URL,JavaFile> | 
CachedFileProvider._classFileCacheMap
Our cache of *.class JavaFile instances. 
 | 
protected java.util.Map<java.net.URL,JavaFile> | 
CachedFileProvider._lightSourceFileCacheMap
Our cache of "light" SourceFiles 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected JavaFile | 
CachedFileProvider.getClassFileImpl(java.net.URL classURL)
Fetch the JavaFile for the given Java class URL (*.class). 
 | 
protected JavaFile | 
BaseFileProvider.getClassFileImpl(java.net.URL classURL)
Fetch the JavaFile for the given Java class URL (*.class). 
 | 
JavaFile | 
BaseFileProvider.getFile(java.net.URL url)
Fetch the JavaFile for the given URL. 
 | 
protected JavaFile | 
BaseFileProvider.getJavaFile(JavaClass javaClass)
Fetch the JavaFile instance for a JavaClass. 
 | 
JavaFile | 
ProviderContext.getLightSourceFile(java.net.URL url,
                  int j2se)
Gets a new "light" SourceFile for the (existing) file at the given URL,
 packaged as a JavaFile. 
 | 
protected JavaFile | 
CachedFileProvider.getLightSourceFileImpl(java.net.URL sourceURL)  | 
protected JavaFile | 
BaseFileProvider.getLightSourceFileImpl(java.net.URL sourceURL)
Fetch a "light" SourceFile for the given Java source URL (*.java), 
 packaged as a JavaFile. 
 | 
protected JavaFile | 
CachedFileProvider.lookupCachedLightSourceFile(java.net.URL sourceURL)
Utility routine which looks up the cached LightSourceFile entry in
 our cache map, which uses SoftReference values. 
 | 
protected JavaFile | 
CachedFileProvider.removeCachedLightSourceFile(java.net.URL sourceURL,
                           JavaFile javaFile)
Utility routine which removes the cached LightSourceFile (if any)
 from our cache map. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected JavaClass | 
BaseFileProvider.locateClass(JavaFile javaFile,
           java.lang.String fqName)
Utility routine to search through the given JavaFile instance
 to find the fully-qualified class specified. 
 | 
protected JavaFile | 
CachedFileProvider.removeCachedLightSourceFile(java.net.URL sourceURL,
                           JavaFile javaFile)
Utility routine which removes the cached LightSourceFile (if any)
 from our cache map. 
 | 
protected void | 
CachedFileProvider.storeCachedLightSourceFile(java.net.URL sourceURL,
                          JavaFile sourceFile)
Utility routine which stores the given sourcefile into our
 cache using SoftReferences. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected static java.lang.String | 
JavaClassNode.emitFile(JavaFile javaFile)
Given a JavaFile, emit a source stub for that JavaFile 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String[] | 
Helpers.getClasses(JavaFile sourceOrJavaFile)
Get the fully qualified names of the top level classes
 in the incoming JavaFile (which can also be a SourceFile) 
 |