org.vishia.java2C
Class JavaSources

java.lang.Object
  extended by org.vishia.java2C.JavaSources

public class JavaSources
extends java.lang.Object

This class contains all information of available java sources while translation process. It is created only one time for Java2C_Main.javaSources. But this class contains the interface JavaSources.ClassDataOrJavaSrcFile, which is implemented in JavaSrcTreeFile and JavaSrcTreePkg.


Nested Class Summary
static interface JavaSources.ClassDataOrJavaSrcFile
           
 
Field Summary
(package private)  java.util.Map<java.lang.String,JavaSrcTreePkg> indexJavaSrcPkgs
          Index (Map) of all known packages to fast search via its name.
 JavaSrcTreePkg javaSrcTree
          Tree of all found java-files in the source path, independent of their usage as source for translation.
(package private)  java.util.List<JavaSrcTreeFile> listJavaSrcFilesToTranslate
          All files to translate.
 
Constructor Summary
JavaSources()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaSrcTree

public final JavaSrcTreePkg javaSrcTree
Tree of all found java-files in the source path, independent of their usage as source for translation. The files at the leafs of the tree JavaSrcTreeFile contains the information, whether they should translate.
This JavaFolder is the root folder, without name and package designation. It contains the first level package instances.


listJavaSrcFilesToTranslate

final java.util.List<JavaSrcTreeFile> listJavaSrcFilesToTranslate
All files to translate.


indexJavaSrcPkgs

final java.util.Map<java.lang.String,JavaSrcTreePkg> indexJavaSrcPkgs
Index (Map) of all known packages to fast search via its name. The key contains the complete package path separated and ending with /.

Constructor Detail

JavaSources

public JavaSources()