public static interface JavaSources.ClassDataOrJavaSrcFile
| Modifier and Type | Method and Description |
|---|---|
org.vishia.java2C.ClassData |
getClassData()
Returns the ClassData of the instance, or
null. |
JavaSrcTreePkg |
getJavaPkg()
Returns the instance if it is a JavaSrcTreePkg, else
null. |
JavaSrcTreeFile |
getJavaSrc()
Returns the instance if it is a JavaSrcTreeFile, else
null. |
LocalIdents |
getLocalIdents(java.lang.String sName)
Returns the identifier of classes or packages, which are available in the implementing
package, file or class.
|
ConfigSrcPathPkg_ifc.Set |
getReplaceCinfo()
Returns the informations to find out where the C-file is found and which pre/suffix are valid.
|
java.lang.String |
getTypeName()
Returns the name of the class or package.
|
boolean |
isToTranslate()
Returns true if the translation from Java is set.
|
void |
setClassData(org.vishia.java2C.ClassData data) |
org.vishia.java2C.ClassData getClassData()
null. If the instance is of type ClassData,
it returns the instance itself. If the instance is of type JavaSrcTreeFile, it returns
the associated ClassData, if the file is translated yet or the stc-file is read already.
If the file isn't translated, it returns null.JavaSrcTreeFile getJavaSrc()
null.JavaSrcTreePkg getJavaPkg()
null.java.lang.String getTypeName()
LocalIdents getLocalIdents(java.lang.String sName)
sName - Name of the element. Especially if it is a JavaSrcTreeFile,
it may be the name of the public class or another class in the file.ConfigSrcPathPkg_ifc.Set getReplaceCinfo()
boolean isToTranslate()
void setClassData(org.vishia.java2C.ClassData data)