The JavaSourceNode interface represents a Java source file
in the JDeveloper browser. In addition to providing the services supported
by the JavaNode interface, the JavaSourceNode
interface provides access to a source view of the file through the JOT
subystem.

getSourceFile

In the case of a normal Java file, this method should return the
source file attribute, defined as the following:
Only the name of the source file is given by the source file attribute
it never represents the name of a directory containing the file or an
absolute path name for the file. For instance the source file attribute
may contain file name foo.java but not the UNIX path name
/home/jdevwork/workspace1/project1/package1/foo.java.

parse1

Deprecated.Use oracle.jdeveloper.java.JavaManager and
oracle.jdeveloper.java.JavaModel for access to a Java Model
of any source in a project.

Parses the Java code contained within this JavaSourceNode. If a full-depth
parse is requested, a full-depth parse tree will be returned. If a
only a members-depth parse is requested, but a full-depth parse tree is
already available, the full-depth parse tree will be returned.

Parameters:

fullDepth - Request full-depth.

Returns:

the RootSymbol resulting from the parse, or null if a valid
RootSymbol could not be constructed.