Class JavaSourceCodeFile

  • All Implemented Interfaces:
    java.io.Serializable

    public class JavaSourceCodeFile
    extends ParsedFile
    implements java.io.Serializable
    Java Parser Bridge, Primary Java Source Code File Parser.

    This class is capable of parsing a java-source file, and returning the parse results as a series of String's. The parse-results are returned as an instance of 'this' class. There are a series of Vector's that contain lists of Method's, Constructor's and also Field's.

    There is a Java-Parser Library that is required to use this Package. The Java Doc Upgrader Package / Tool will not work without this '.jar'file being placed in your CLASSPATH environment-variable. That '.jar'is available here:

    http://developer.torello.directory/ralphsReference/jars/javaparser-core-3.16.2.jar

    There is a book available and an internet "Gitter" support web-site chat-room with some of the people involved in writing this library. There are quite a number of available jars in the "Master Jar Distribution" - but the core library jar is fully sufficient for running the tasks needed by this Java-Doc Upgrade Tool's logic.

    In order to retrieve Java Method and Constructor bodies as String's - and perform the syntax hiliting needed to insert them into the JavaDoc Web-Pages, both of these parsers are needed to do an upgrade.
    See Also:
    Serialized Form


    • Field Detail

      • serialVersionUID

         
        public static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
        Code:
        Exact Field Declaration Expression:
        public static final long serialVersionUID = 1;