A B C D E F G H I J K L M N O P R S T W X 

A

access(int) - Method in class org.vishia.java2C.test.TestAllConcepts
 
access(float) - Method in class org.vishia.java2C.test.TestAllConcepts
A method with same name but other parameter types.
accessDst - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Cast
 
accessSrc - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Cast
 
add_castFrom(ReadStructure.Zbnf_Cast) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
add_castTo(ReadStructure.Zbnf_Cast) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
add_ClassData(ReadStructure.Zbnf_ClassData) - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
Invoked from ZbnfJavaOutput, creates a new ClassData instance, fills it with given Input and add it to the userTypes.
add_field(ReadStructure.Zbnf_Field) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
add_fixArraySizes(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
FromZBNF: field::= ~~~ <*\] ?fixArraySizes> ~~~
add_InnerClassData(ReadStructure.Zbnf_ClassData) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
The inner class is filled now.
add_interfaceClass(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
add_method(ReadStructure.Zbnf_Method) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
add_methodOverridableC(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
add_outerJava(ReadStructure.Zbnf_EnvIdent) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
add_packageReplacement(Java2C_Main.InputFileParseResult.Set) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: adds a component<...?packageReplacement>.
add_packageType(ReadStructure.Zbnf_EnvIdent) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
add_param(ReadStructure.Zbnf_Field) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
add_returnType(ReadStructure.Zbnf_Field) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
add_srcPath(String) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: adds an element <...?stcPsth>.
add_srcToTranslate(String) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: Adds the instance after it is filled with the content of a <set>.
add_stcPath(String) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: adds an element <...?stcPsth>.
add_subIdent(ReadStructure.Zbnf_EnvIdent) - Method in class org.vishia.java2C.ReadStructure.Zbnf_EnvIdent
 
add_type(ReadStructure.Zbnf_Type) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
addEnhancedRefType(String) - Method in class org.vishia.java2C.GenerateFile
If a type is used as enhanced reference in the code of the class, it is noted here.
addIncludeC(String, String) - Method in class org.vishia.java2C.GenerateFile
Adds a type to include the type-correspondent h-file in the c-file.
addIncludeH(String, String) - Method in class org.vishia.java2C.GenerateFile
Adds a type to include the type-correspondent h-file in the h-file.
addInputFilemask(String, String, String) - Method in class org.vishia.java2C.Java2C_Main
 
addMtblRefType(String, char) - Method in class org.vishia.java2C.GenerateFile
If a type is used as method-table- reference in the code of the class, it is noted here.
addStructForwardType(ClassData) - Method in class org.vishia.java2C.GenerateFile
 
AllData - Class in org.vishia.java2C
This class represents the index of all java classes for Translation.
AllData() - Constructor for class org.vishia.java2C.AllData
 
anotherIfcmethod(int) - Method in interface org.vishia.java2C.test.Ifc
Example for a second interface method, not a recentness, but see next Ifc.anotherIfcmethod(float).
anotherIfcmethod(float) - Method in interface org.vishia.java2C.test.Ifc
Example for an interface method with same name as another in the same class, but other parameter set.
anotherIfcmethod(float) - Method in interface org.vishia.java2C.test.Ifc2
Example for an interface method, which has the same name and same paremeters like the method Ifc.anotherIfcmethod(float).
anotherIfcmethod(int) - Method in class org.vishia.java2C.test.ImplIfc
This method is declared in the interface Ifc.processIfcMethod(int) .
anotherIfcmethod(float) - Method in class org.vishia.java2C.test.ImplIfc
This methods implements both methods declared in Interface Ifc.anotherIfcmethod(float) and Ifc2.anotherIfcmethod(float).
AnyClass - Class in org.vishia.java2C.test
 
argIdent - Variable in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 

B

B1_makeAndDependentTypeProcessing() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
This chapter describes the translation process in Java2C.
B2_umlDiagram_overview_Java2C() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
The diagramm shows the classes respectively instances which are created in translation process.
B3_packageReplacement() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
The package replacement describes, how java files, organized in packages, are mapped to C files, maybe organized in sub directories and in abbreviated named files.
B4_gatherAllSourceFiles() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
After the package replacement is recognized, all given source-pathes in the config-file are gathered to detect all java-source-files.
B4_InstancesWhichContainsStaticData() - Method in class org.vishia.java2C.Docu.C_StaticDataOfConversion


ClassData
That are the type informations.
b5_getTypeInfoAndTranslate() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
If any type is need for the translation, its ClassData should be present.
b6_translatingOrGetStc() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
Some Java sources should be translated, but some other sources mustn't translate, because they are parts of built C libraries.
b7_includeGeneration() - Method in class org.vishia.java2C.Docu.B_ProcessOfTranslation
The import statements are not able to use for include generation, because files from the same package are not imported in Java.
blockNestingCnt - Variable in class org.vishia.java2C.StatementBlock
The deepness of block nesting.

C

callWithoutArguments() - Method in class org.vishia.java2C.Java2C
invoked from parseArguments if no argument is given.
castExpr - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Cast
 
CCodeData - Class in org.vishia.java2C
This is a helper class to return a peace of c-code with associated type information.
cfile_prefix - Variable in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
ZBNF-parser-result: Ingests semantic for Cname_prefix.
cfile_suffix - Variable in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
ZBNF-parser-result: Ingests semantic Cname_postfix.
checkArguments() - Method in class org.vishia.java2C.Java2C
Checks the cmdline arguments relation together.
checkArguments() - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
clazz_bool - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_char - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_double - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_float - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_int - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_int16 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_int32 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_int64 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_int8 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_s0 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_uint16 - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_unknown - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
This class is used for unknown types for auto-declaration of methods, which are called but not found in translated sources or *.stc-files.
clazz_va_argRaw - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
This type identifies a place-holder for variable arguments.
clazz_va_list - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
This type identifies the va_list type defined in stdarg.h of standard-C.
clazz_void - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazz_voidPtr - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
Base Type represents an untyped pointer.
clazz_voidVolatile - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
Base Type represents an untyped pointer, which is volatile.
clazzByteStringJc - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzCharsetJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzClassJc - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzCollectionJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzExceptionJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzIteratorJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzListJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzLogMessageStream - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
All classes which are defined by stc-files in CRuntimeJavalike:
clazzMemC - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzObjectJc - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzStringJc - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzTextFieldPositionJc - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
clazzVaArgBuffer - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
cname_prefix - Variable in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
ZBNF-parser-result: Ingests semantic for Cname_prefix.
cname_suffix - Variable in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
ZBNF-parser-result: Ingests semantic Cname_postfix.
ConfigSrcPathPkg_ifc - Interface in org.vishia.java2C
Interface to access to getted values of a input cfg file.
ConfigSrcPathPkg_ifc.Set - Interface in org.vishia.java2C
Sub-interface to get values from a prefix/suffix-set.
constString - Static variable in interface org.vishia.java2C.test.Ifc
Example for a simple constant string literal.
constValue - Static variable in interface org.vishia.java2C.test.Ifc
Example for a simple constant declared in java.
constValue2 - Static variable in interface org.vishia.java2C.test.Ifc
Example for a calculated constant.At this time this constant is declared in Headerfile as
 extern const int32 constValue2_Ifc_Test;
createExternalType(String, String) - Static method in class org.vishia.java2C.Java2C_Main
Creates a external type because no informations are available.
CRuntimeJavalikeClassData - Class in org.vishia.java2C
This class contains all standard types.

D

D1_baseStructures() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
A super class in Java is mapped in C using a base struct as first element of the class representing struct.
D2_virtualMethodsAndInheritanceInfo() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
The concept of virtual methods is necessary for implementation of interfaces and for overridden methods in derived classes.
D3_detectOverriddenMethods() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
If a method of the current translated class is processed and adds to the class using ClassData.addMethod(String, String, int, FieldData, FieldData[]), it is searched in all super classes and interfaces calling ClassData.searchOverrideableMethod(String, FieldData[]).
D4_newOverrideAbleMethods() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
If a new method is created, and it is able to override, it is registered in ClassData.methodsOverrideableNew just now.
D5_cCodeForOverriddenMethods() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
The overridden methods have the type of ythis from the first declaring class, because they have to be the same signature (type of method definition) as the first declaring ones.
D6_callingOverrideableMethods() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
If a method is called in Java, which is override-able, the generated C-code depends on several conditions:

Stack-local reference:
If the reference is a stack-local reference in Java, it may be generated in C as a so named method-table-reference.
D7_preventCallingViaMethodTable() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
In Java the methods are override-able normally, because a final designation to prevent overriding is written only if the ability to override should prevent in inheriting classes.
D8_gen_MethodTable() - Method in class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
The structure of a method table is generated into the header-file, but the definition of a method table is generated into the C-file.
declaringClass - Variable in class org.vishia.java2C.Method
The class which declares the implementation of the method.
declaringClazz - Variable in class org.vishia.java2C.FieldData
The class where the identifier is member of, null if it is a local identifier.
Docu - Class in org.vishia.java2C
This class contains no code, only documentation.
Docu() - Constructor for class org.vishia.java2C.Docu
 
Docu.A_InvokationAndEnvironmentConditions - Class in org.vishia.java2C
This chapter provides an overview, where and how Java2C should be used.
Docu.A_InvokationAndEnvironmentConditions() - Constructor for class org.vishia.java2C.Docu.A_InvokationAndEnvironmentConditions
 
Docu.B_ProcessOfTranslation - Class in org.vishia.java2C
In this chapter the tranlation process of all files is described.
Docu.B_ProcessOfTranslation() - Constructor for class org.vishia.java2C.Docu.B_ProcessOfTranslation
 
Docu.C_StaticDataOfConversion - Class in org.vishia.java2C
While the translation processes the type or affiliation of some identifiers should be evaluated.
Docu.C_StaticDataOfConversion() - Constructor for class org.vishia.java2C.Docu.C_StaticDataOfConversion
 
Docu.D_SuperClassesAndInterfaces - Class in org.vishia.java2C
Java knows simple inheritance but multiple usage of interfaces.
Docu.D_SuperClassesAndInterfaces() - Constructor for class org.vishia.java2C.Docu.D_SuperClassesAndInterfaces
 
Docu.E_Inner_classes - Class in org.vishia.java2C
This chapter describes details of translation of inner classes.
Docu.E_Inner_classes() - Constructor for class org.vishia.java2C.Docu.E_Inner_classes
 
Docu.F_Translation_Secondpass - Class in org.vishia.java2C
This chapter describes details of translation.
Docu.F_Translation_Secondpass() - Constructor for class org.vishia.java2C.Docu.F_Translation_Secondpass
 

E

e1_anonymousClasses() - Method in class org.vishia.java2C.Docu.E_Inner_classes
Anonymous classes are a special construct of Java.
elementClazz - Variable in class org.vishia.java2C.FieldData
The type of a elements of a generic container type.
equals(Object) - Method in class org.vishia.java2C.test.TestAllConcepts
Check whether Object.equals() will be overridden.
equals(String) - Method in class org.vishia.java2C.test.TestAllConcepts
This method doesn't override Object.equals.
execute() - Method in class org.vishia.java2C.Java2C_Main
Executes the translation for all files.
ExpandedDataStruct - Class in org.vishia.java2C.test
This data structure contains the SimpleDataStruct as super class.
ExpandedDataStruct() - Constructor for class org.vishia.java2C.test.ExpandedDataStruct
 
ExtendsImpl - Class in org.vishia.java2C.test
This class extends ImpIfc to demonstrate the inheritance of classes.
externalTypes - Static variable in class org.vishia.java2C.Java2C_Main
Contains all types which are searched but not found in the Java2C translation.

F

f1_referencesOrEnvironmentTypes() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
In Java a environment-type for a static method and a reference of a dynamic method are not differenced.
f2_casting() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
There are four types of castings, it is the combination of implicitly or explicitly casts, casts of scalar types (int etc) or reference types.
f3_methodCall_WithParameterSensitivity() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
Methods in Java are parameter sensitive.
f4_methodCallWithVariableArguments() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
Variable arguments are known both in Java and in C.
f5_methodCallFromSuperClasses() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
 
f6_methodCallFromOuterClasses() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
 
f7_constructorCall() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
A constructor is either a static method of the associated class, or it is understand as a non-static method of the outer class, if the class is an non-static inner class.
f9_intension_of_call() - Method in class org.vishia.java2C.Docu.F_Translation_Secondpass
The translation process of details should know informations about its environment of call.
field_int_va_arg - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
field_va_argRaw - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
This field type identifies a place-holder for variable arguments.
FieldData - Class in org.vishia.java2C
This class holds the data of one variable in a local context respectively a field of a class, see LocalIdents or describe the access to a instance, see CCodeData.
fieldIdentsOfOuterClassAndSiblings() - Method in class org.vishia.java2C.Docu.E_Inner_classes
The knowledge of field-identifiers and types of the outer classes and the sibling- inner classes in inner classes and the knowledge of this one of the super classes in the derived classes is necessary.
fieldObjectJc - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
finalize() - Method in class org.vishia.java2C.test.TestAllConcepts
Example for a special finalize method body.
firstDeclaringClass - Variable in class org.vishia.java2C.Method
The class which declares the method primary.
FirstPass - Class in org.vishia.java2C
This class processes the first pass of translating Java to C of a detect class in a java file.
firstPassOfInnerClasses() - Method in class org.vishia.java2C.Docu.E_Inner_classes
The first pass of the inner classes are running while the first pass of the enclosing class is processed.
fixArraySizes - Variable in class org.vishia.java2C.FieldData
If the identifier is an array with fix size, programmed in java in form of

G

gatherAllJavaSrcFiles(LocalIdents, List<String>) - Method in class org.vishia.java2C.JavaSrcTreeGetter
Captures all Java Files, which are found at file system in all given Java Source pathes evaluates the content of ConfigSrcPathPkg_ifc (association given on constructor) and sets respectively completes the input files.
gen_ActivateGarbageCollection(int, boolean, CCodeData) - Method in class org.vishia.java2C.StatementBlock
generates the statement for activateGC_ObjectJc().
gen_assignment(ZbnfParseResultItem, ZbnfParseResultItem, int, LocalIdents, char) - Method in class org.vishia.java2C.StatementBlock
generates an assignment-statement from given parse result item < statement>.
gen_Declaration(iWriteContent) - Method in class org.vishia.java2C.FieldData
Generates the C type declaration appropriate to the type info in this FieldData.
gen_for_statement(ZbnfParseResultItem, int, StatementBlock, FieldData) - Method in class org.vishia.java2C.SecondPass
 
gen_MethodDefinition() - Method in class org.vishia.java2C.Method
Gets the definition of a method head for the C-code.
gen_MethodForwardDeclaration() - Method in class org.vishia.java2C.Method
Gets the definition of a method head for the C-code.
gen_MethodHeadDefinition() - Method in class org.vishia.java2C.Method
Gets the definition of a method (C-code), used in second pass.
gen_newArray(ZbnfParseResultItem, ClassData[], LocalIdents, FieldData) - Method in class org.vishia.java2C.StatementBlock
generates the expression for a new Type[...] expression.
gen_newObj() - Method in class org.vishia.java2C.StatementBlock
Returns a new identifier for a newObject.
gen_persistringVariable() - Method in class org.vishia.java2C.StatementBlock
Returns a new identifier for a persistent String.
gen_simpleValue(ZbnfParseResultItem, ZbnfParseResultItem, ZbnfParseResultItem, LocalIdents, boolean, char, boolean) - Method in class org.vishia.java2C.StatementBlock
generates the code for ZBNF-< simpleValue>.
gen_statement(ZbnfParseResultItem, ZbnfParseResultItem, int, LocalIdents, FieldData, char) - Method in class org.vishia.java2C.StatementBlock
generates a statement from given parse result item < statement>.
gen_statementBlock(ZbnfParseResultItem, ZbnfParseResultItem, int, StatementBlock, FieldData, GenerateClass, char) - Static method in class org.vishia.java2C.StatementBlock
Generates C-code from a parsed statement block.
gen_StringAssignment(int, CCodeData, String, ZbnfParseResultItem, ZbnfParseResultItem, ZbnfParseResultItem, LocalIdents, char) - Method in class org.vishia.java2C.StatementBlock
Generates an assignment to a String.
gen_tempString() - Method in class org.vishia.java2C.StatementBlock
Counts the #nrof and returns the name of a reference for new Objects.
gen_throwNew(ZbnfParseResultItem, ZbnfParseResultItem, LocalIdents, FieldData) - Method in class org.vishia.java2C.StatementBlock
generates the expression for a .
gen_try_statement(ZbnfParseResultItem, int, LocalIdents) - Method in class org.vishia.java2C.StatementBlock
generates the expression for a < try_Statment> .
gen_value(ZbnfParseResultItem, ZbnfParseResultItem, ZbnfParseResultItem, ClassData[], LocalIdents, boolean, char) - Method in class org.vishia.java2C.StatementBlock
 
gen_value(ZbnfParseResultItem, ZbnfParseResultItem, ZbnfParseResultItem, boolean, char) - Method in class org.vishia.java2C.StatementBlock
generates the expression to get a value.
gen_variableAccess(ZbnfParseResultItem, ZbnfParseResultItem, ZbnfParseResultItem, LocalIdents, char, CCodeData) - Method in class org.vishia.java2C.StatementBlock
generates an access to a value in a variable or a using of a variable as left value.
gen_VariableInitAssignment(ZbnfParseResultItem, int) - Method in class org.vishia.java2C.StatementBlock
generates the initial assignments to variables.
GenerateFile - Class in org.vishia.java2C
This class processes the first and second pass of translating Java to C of a java file.
get(String) - Method in class org.vishia.java2C.LocalIdents
searches the infos to the given identifier.
getAllTypeIdents() - Method in class org.vishia.java2C.LocalIdents
Returns a String with all available type idents comma separated.
getChild(String) - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getClassCNamePrefix() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getClassCNameSuffix() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getClassData() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the ClassData of the instance, or null.
getClassData() - Method in class org.vishia.java2C.JavaSrcTreeFile
returns nullif the file is not translated, returns the ClassData if it is translated.
getClassData() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getClassLevel() - Method in class org.vishia.java2C.FieldData
level of the affiliation to a class in the inheritance level.
getClassLevelIdents() - Method in class org.vishia.java2C.CCodeData
Returns all class level idents, if the code snipped is a reference of a class type.
getCPathPrePostfixForPackage(String) - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
Returns the Set of path, prefix and postfix for a given package path.
getCPathPrePostfixForPackage(String) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
getDimensionArray() - Method in class org.vishia.java2C.FieldData
Returns 0 if it isn't an array, 1..
getField(String) - Method in class org.vishia.java2C.LocalIdents
Test whether the field is known and returns it data.
getFileJava() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getFileNameC() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getFilePrefix() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
Gets the path and maybe a file prefix.
getFilePrefix() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getFileSuffix() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
Gets the suffix for files.
getFileSuffix() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getFixSizeStringBuffer() - Method in class org.vishia.java2C.FieldData
Returns the size >0 if the type is a StringBuffer with a immediate String with fix size, else 0.
getIdxMtbl() - Method in class org.vishia.java2C.Method
Returns -1 if it is a final method, or 0..., the index in the InheritanceInfo.
getInputPath() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
Gets the input path.
getInputPath() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getJavaPkg() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the instance if it is a JavaSrcTreePkg, else null.
getJavaPkg() - Method in class org.vishia.java2C.JavaSrcTreeFile
getJavaPkg() - Method in class org.vishia.java2C.JavaSrcTreePkg
getJavaSrc() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the instance if it is a JavaSrcTreeFile, else null.
getJavaSrc() - Method in class org.vishia.java2C.JavaSrcTreeFile
returns the instance because it is.
getJavaSrc() - Method in class org.vishia.java2C.JavaSrcTreePkg
getListPackageReplacements() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
 
getListPackageReplacements() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
getLocalIdents(String) - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the identifier of classes or packages, which are available in the implementing package, file or class.
getLocalIdents(String) - Method in class org.vishia.java2C.JavaSrcTreeFile
Gets the local idents of the givenclass of the file.
getLocalIdents(String) - Method in class org.vishia.java2C.JavaSrcTreePkg
Returns the identifier of classes or packages, which are available in this package.
getMethodIdents() - Method in class org.vishia.java2C.Method
 
getName() - Method in class org.vishia.java2C.FieldData
returns the name of the element.
getNamePrefix() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
Gets the prefix for names.
getNamePrefix() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getNameSuffix() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
Gets the suffix for names.
getNameSuffix() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getOrAddPkg(String, String, ConfigSrcPathPkg_ifc.Set) - Method in class org.vishia.java2C.JavaSrcTreePkg
returns the Instance, which represents the given package name.
getOrAddRootPkg(String) - Static method in class org.vishia.java2C.Java2C_Main
Creates or searches a package which is a root package.
getOuterLevel() - Method in class org.vishia.java2C.FieldData
level of the affiliation to a class in the outer class relation.
getParent() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getPathOutCfiles() - Method in class org.vishia.java2C.Java2C_Main
 
getPathOutHeader() - Method in class org.vishia.java2C.Java2C_Main
 
getPathOutStcFiles() - Method in class org.vishia.java2C.Java2C_Main
 
getPkgLevelIdents() - Method in class org.vishia.java2C.JavaSrcTreePkg
gets the pkg-level-idents.
getPkgLevelTypes() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getPkgPath() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getPkgPath() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getPublicClasses() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getPublicClassName() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getReplaceCinfo() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the informations to find out where the C-file is found and which pre/suffix are valid.
getReplaceCinfo() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getReplaceCinfo() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
getRootLevelIdents() - Static method in class org.vishia.java2C.Java2C_Main
Gets the FileLevelidents of the root level.
getRootPkg(String) - Static method in class org.vishia.java2C.Java2C_Main
Searches a package which is a root package.
getSourceOfClassData() - Method in class org.vishia.java2C.LocalIdents
 
getSrcPathes() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
Returns the list of all pathes parsed with
getSrcPathes() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
getSrcToTranslate() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
Returns the list of all sources to translate.
getSrcToTranslate() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
getStcFile() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc.Set
 
getStcFile() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
getStcPath() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
getStcPathes() - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
Returns the list of all pathes parsed with
getStcPathes() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
getType(String, LocalIdents) - Method in class org.vishia.java2C.LocalIdents
searches the ClassData to the given type identifier.
getTypeChar() - Method in class org.vishia.java2C.FieldData
 
getTypeHeaderfilename() - Method in class org.vishia.java2C.CCodeData
Returns the name of the Headerfile, which defines the class, if the code snipped is a reference of a class type.
getTypeInfo(String, LocalIdents) - Method in class org.vishia.java2C.LocalIdents
searches the infos to the given type identifier.
getTypeName() - Method in class org.vishia.java2C.CCodeData
Returns the String representation of the type of the code snipped, detected from the CCodeData.identInfo and its FieldData.typeClazz.
getTypeName() - Method in class org.vishia.java2C.FieldData
returns the name of the type of the element.
getTypeName() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns the name of the class or package.
getTypeName() - Method in class org.vishia.java2C.JavaSrcTreeFile
getTypeName() - Method in class org.vishia.java2C.JavaSrcTreePkg
getTypeSet() - Method in class org.vishia.java2C.LocalIdents
Returns an iterable list with all typeIdents.

H

header - Variable in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 

I

Ifc - Interface in org.vishia.java2C.test
This interface should demonstrate the translation of Java-Interfaces to C.
Ifc2 - Interface in org.vishia.java2C.test
 
implementationSuffix - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
ImplIfc - Class in org.vishia.java2C.test
This class is an example for implementation of some interface methods.
instanceClazz - Variable in class org.vishia.java2C.FieldData
If this field is set, the instance referenced in the described field is guaranteed an instance of that type, nor from a derived type.
instanceType - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Field
Stores the parsed result inside org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report).
instanciateSingleton(Java2C_Main.CmdlineArgs, Report) - Static method in class org.vishia.java2C.Java2C_Main
The create routine for the singleton.
isAmbigous() - Method in class org.vishia.java2C.Method
Returns true, if more as one method with the same java name and the same number of arguments exists.
isOverrideable() - Method in class org.vishia.java2C.Method
Returns true if the method is able to override (dynamic linked) in an inheriting class.
isReturnNew() - Method in class org.vishia.java2C.Method
Returns true if the method returns a new instance which isn't activated for garbage collection.
isReturnNonPersistring() - Method in class org.vishia.java2C.Method
Returns true if the method returns a new instance which isn't activated for garbage collection.
isReturnThis() - Method in class org.vishia.java2C.Method
Returns true if the method returns its own calling instance.
isStatic() - Method in class org.vishia.java2C.Method
Returns true if the method is static.
isThreadFinished() - Method in class org.vishia.java2C.test.TestThread
Returns true if the class private variable TestThread.threadFinished is set.
isToTranslate() - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
Returns true if the translation from Java is set.
isToTranslate() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
isToTranslate() - Method in class org.vishia.java2C.JavaSrcTreePkg
returns false because a package isn't to translate.
isTranslated() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
isUnknownMethod() - Method in class org.vishia.java2C.Method
Returns true if the method is auto-created while used, it is not defined.
iterChildren() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
iterChildren(String) - Method in class org.vishia.java2C.JavaSrcTreePkg
 

J

Java2C - Class in org.vishia.java2C
Main class of Java2C-translator to organize call from cmd line.
Java2C_Main - Class in org.vishia.java2C
This class is the main class of translation Java2C.
Java2C_Main.CmdlineArgs - Class in org.vishia.java2C
The gotten arguments from the command line are hold in this extra static class.
Java2C_Main.CmdlineArgs() - Constructor for class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
Java2C_Main.InputFileParseResult - Class in org.vishia.java2C
The instance of this class is filled with the result of parsing an input file given with -if:INPFILE cmd line calling argument.
Java2C_Main.InputFileParseResult() - Constructor for class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
Java2C_Main.InputFileParseResult.Set - Class in org.vishia.java2C
Subclass to pour in the result of the set::=... subsyntax.
Java2C_Main.InputFileParseResult.Set() - Constructor for class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
JavaSources - Class in org.vishia.java2C
This class contains all information of available java sources while translation process.
JavaSources() - Constructor for class org.vishia.java2C.JavaSources
 
JavaSources.ClassDataOrJavaSrcFile - Interface in org.vishia.java2C
 
javaSrcTree - Variable in class org.vishia.java2C.JavaSources
Tree of all found java-files in the source path, independent of their usage as source for translation.
JavaSrcTreeFile - Class in org.vishia.java2C
Representation of an existing Java file.
JavaSrcTreeFile(JavaSrcTreePkg, String, File, String, ConfigSrcPathPkg_ifc.Set, String, boolean) - Constructor for class org.vishia.java2C.JavaSrcTreeFile
Initializes the instance.
JavaSrcTreeGetter - Class in org.vishia.java2C
This class is a helper to get the java source tree from given class path.
JavaSrcTreeGetter(JavaSources, ConfigSrcPathPkg_ifc, List<String>, Report) - Constructor for class org.vishia.java2C.JavaSrcTreeGetter
Constructs an instance, which should be used only temporary to capture the tree.
JavaSrcTreePkg - Class in org.vishia.java2C
Representation of an existing Folder in the Java pkg tree.
JavaSrcTreePkg(JavaSrcTreePkg, String, String, ConfigSrcPathPkg_ifc.Set) - Constructor for class org.vishia.java2C.JavaSrcTreePkg
 

K

keyClazz - Variable in class org.vishia.java2C.FieldData
The type of a key if it is a generic container type of keys and values.

L

lastWasReturn - Variable in class org.vishia.java2C.StatementBlock
Saves, whether the last generated statement is a return.
listChildren() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
listChildren(String) - Method in class org.vishia.java2C.JavaSrcTreePkg
 
LocalIdents - Class in org.vishia.java2C
This class contains all identifiers visible at class level or visible at a local position of code.
LocalIdents(LocalIdents, ClassData, boolean, String) - Constructor for class org.vishia.java2C.LocalIdents
constructs a new instance copying all parent identifier.
LocalIdents(LocalIdents, String) - Constructor for class org.vishia.java2C.LocalIdents
constructs a new instance with copy all parent identifier as base.
LocalIdents(String) - Constructor for class org.vishia.java2C.LocalIdents
constructs a new Instance for primary types.
LocalIdents(ClassData) - Constructor for class org.vishia.java2C.LocalIdents
constructs a new instance for a class level.
localIdents - Variable in class org.vishia.java2C.StatementBlock
The identifiers valid at this block level.
localReferenceDummy - Variable in class org.vishia.java2C.Java2C_Main
A CCodeInfo instance useable as dummy for local variable.

M

main(String[]) - Static method in class org.vishia.java2C.Java2C
main started from cmd line.
main(String[]) - Static method in class org.vishia.java2C.test.TestAllConcepts
 
Method - Class in org.vishia.java2C
Describes a method of a class.
Method(ClassData, Method, String, String, String, String, int, FieldData, FieldData[], String, String) - Constructor for class org.vishia.java2C.Method
Initializes a method to store in ClassData.
methodASSERT - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
 
mode - Variable in class org.vishia.java2C.Method
Some mode bits, ones of Method.modeNoThCxt, Method.modeStatic.
modeAccess - Variable in class org.vishia.java2C.FieldData
Kind of the instance.
modeArrayElement - Variable in class org.vishia.java2C.FieldData
Kind of the access to an element, if it is an array.
modeCtor - Static variable in class org.vishia.java2C.Method
Set if it is a ctor.
modeCtorAnonymous - Static variable in class org.vishia.java2C.Method
Set if it is a ctor of an anonymous class.
modeCtorNonStatic - Static variable in class org.vishia.java2C.Method
Set if it is a ctor of a non-static inner class.
modeNoStacktrace - Static variable in class org.vishia.java2C.Method
 
modeNoThCxt - Static variable in class org.vishia.java2C.Method
Modifier bit, when set the method has ThCxt as last argument.
modeOverrideable - Static variable in class org.vishia.java2C.Method
Modifier bit, when set the method is overrideable (virtual).
modeReturnNew - Static variable in class org.vishia.java2C.Method
Modifier bit, when set the method returns a new created instance which isn't activated for garbabe collection.
modeReturnNonPersistring - Static variable in class org.vishia.java2C.Method
Modifier bit, when set, the method returns a StringJc-instance, which's String is replaced in the thread context or it isn't persistent in other way.
modeReturnThis - Static variable in class org.vishia.java2C.Method
Modifier bit, when set the method returns the same instance as the calling one.
modeStatic - Variable in class org.vishia.java2C.FieldData
Char to indicate the location and kind of definition.
modeStatic - Static variable in class org.vishia.java2C.Method
Modifier bit, when set the method is static.
modeUnknownMethod - Static variable in class org.vishia.java2C.Method
 

N

name - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Field
Stores the parsed result inside org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report).
nameJava - Variable in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
need_thCxt - Variable in class org.vishia.java2C.Method
Set if _thCxt is need in method calls
new_castFrom() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
new_castTo() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
new_ClassData() - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
new_field() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
new_InnerClassData() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
A Inner class is detected in ZBNF-parse-result because < ClassData?InnerClassData >.
new_method() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
new_outerJava() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
new_packageReplacement() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: new component <...?packageReplacement>.
new_packageType() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
new_param() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
new_returnType() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
new_set() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
ZBNF-parser-result: Creates an appropriate instance for semantic set.
new_subIdent() - Method in class org.vishia.java2C.ReadStructure.Zbnf_EnvIdent
 
new_type() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
noStacktrace() - Method in class org.vishia.java2C.Method
Returns true if the method is able to override (dynamic linked) in an inheriting class.
notify(int) - Method in class org.vishia.java2C.test.TestWaitNotify.WaitNotifyData
Notify routine, it may be called from outside.

O

org.vishia.java2C - package org.vishia.java2C
 
org.vishia.java2C.test - package org.vishia.java2C.test
 
otherThreadRoutine() - Method in class org.vishia.java2C.test.TestThread
This routine is called from outside in another thread.

P

paramsType - Variable in class org.vishia.java2C.Method
All argument type of the method.
parseArguments(Java2C_Main.CmdlineArgs, String[]) - Method in class org.vishia.java2C.Java2C
parses all cmd line arguments.
postPrepare(ReadStructure.ZbnfToplevel) - Method in class org.vishia.java2C.ReadStructure
Build the classData of the read stc-data.
prepareCastTo(ReadStructure.Zbnf_Cast, ClassData) - Method in class org.vishia.java2C.ReadStructure
 
prepareClassData(ReadStructure.Zbnf_ClassData, ReadStructure.ZbnfToplevel, ClassData) - Method in class org.vishia.java2C.ReadStructure
 
prepareField(ReadStructure.Zbnf_Field, ClassData) - Method in class org.vishia.java2C.ReadStructure
 
prepareMethod(ReadStructure.Zbnf_Method, ClassData) - Method in class org.vishia.java2C.ReadStructure
 
prepareParam(ReadStructure.Zbnf_Field, ClassData) - Method in class org.vishia.java2C.ReadStructure
 
primaryMethod - Variable in class org.vishia.java2C.Method
Reference to a primary method if the method overloads another method, else null.
processIfcMethod(int) - Method in interface org.vishia.java2C.test.Ifc
Example for an interface method.
processIfcMethod(float) - Method in interface org.vishia.java2C.test.Ifc2
Example for an interface method with the same name but other parameter types, which is implemented together with Ifc.processIfcMethod(int) in ImplIfc.
processIfcMethod(int) - Method in class org.vishia.java2C.test.ImplIfc
Example for a method which is override-able and implements an interface method.
processIfcMethod(float) - Method in class org.vishia.java2C.test.ImplIfc
Example for a method which is final but implements an interface method (the same is if it overrides methods from a super class).This method implements Ifc.processIfcMethod(int).
putClassElement(String, String, ClassData, char, char, String, int, String[], char, ClassData) - Method in class org.vishia.java2C.LocalIdents
puts a new class element (field, attribute, reference) in the container.
putClassElement(String, FieldData) - Method in class org.vishia.java2C.LocalIdents
puts a new class element (field, attribute, reference) in the container.
putClassType(ClassData) - Method in class org.vishia.java2C.JavaSrcTreePkg
Adds the given type info to the pkgIdents.
putClassType(String, String, ClassData, String, ClassData) - Method in class org.vishia.java2C.LocalIdents
Deprecated.
use #putClassType(String, ClassData)
putClassType(String, JavaSources.ClassDataOrJavaSrcFile) - Method in class org.vishia.java2C.LocalIdents
 
putClassType(ClassData) - Method in class org.vishia.java2C.LocalIdents
 
putClassTypesAll(LocalIdents) - Method in class org.vishia.java2C.LocalIdents
 
putClassTypeStandard(ClassData) - Method in class org.vishia.java2C.LocalIdents
Puts the class into the typeIdents, with key with and without package.
putFieldIdent(FieldData) - Method in class org.vishia.java2C.Method
 
putLocalElement(String, FieldData) - Method in class org.vishia.java2C.LocalIdents
puts a new stack-local element in the container.

R

readStructToClassData(JavaSrcTreeFile, String, File) - Method in class org.vishia.java2C.ReadStructure
reads the structure of a class from a *.stc-File and save it to the #userTypes-ClassData.
ReadStructure - Class in org.vishia.java2C
An instance of this class is filled with the result of parsing an *.stc file which contains the structure informations of a already translated file.
ReadStructure.Zbnf_Cast - Class in org.vishia.java2C
 
ReadStructure.Zbnf_Cast() - Constructor for class org.vishia.java2C.ReadStructure.Zbnf_Cast
 
ReadStructure.Zbnf_ClassData - Class in org.vishia.java2C
Subclass to pour in the result of the ClassData::=... subsyntax.
ReadStructure.Zbnf_EnvIdent - Class in org.vishia.java2C
 
ReadStructure.Zbnf_EnvIdent() - Constructor for class org.vishia.java2C.ReadStructure.Zbnf_EnvIdent
 
ReadStructure.Zbnf_Field - Class in org.vishia.java2C
Subclass to pour in the result of the field::=... subsyntax.
ReadStructure.Zbnf_Method - Class in org.vishia.java2C
Subclass to pour in the result of the method::=... subsyntax.
ReadStructure.ZbnfToplevel - Class in org.vishia.java2C
 
ReadStructure.ZbnfToplevel() - Constructor for class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
reportClasses(Report) - Method in class org.vishia.java2C.JavaSrcTreePkg
 
reportConfig(Report, int) - Method in interface org.vishia.java2C.ConfigSrcPathPkg_ifc
 
reportConfig(Report, int) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult
 
returnThisOverrideable_Test(int) - Method in class org.vishia.java2C.test.TestAllConcepts
This method helps to test concatenations with return-this, but override-able.
returnType - Variable in class org.vishia.java2C.Method
Return type of the method.
run() - Method in class org.vishia.java2C.test.TestThread
This is the thread main-routine complying the Java rules.
run() - Method in class org.vishia.java2C.test.TestWaitNotify
This is the thread main-routine complying the Java rules.
runRequestedFirstPass(JavaSrcTreeFile, String) - Method in class org.vishia.java2C.Java2C_Main
Runs the first pass.
runRequestedFirstPass(JavaSrcTreeFile, String) - Method in interface org.vishia.java2C.RunRequiredFirstPass_ifc
searches a file and build the ClassData parsing and converting the file.
RunRequiredFirstPass_ifc - Interface in org.vishia.java2C
This interface is used to run the first pass of a requested class while running first or second pass of another file.

S

sCName - Variable in class org.vishia.java2C.Method
Name of the method used in C, with suffixes.
SecondPass - Class in org.vishia.java2C
This class handle the second pass of the translation.
set_abstract() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_anonymous() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_arrayDimension() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
FromZBNF: field::= ~~~[??<?arrayDimension>]~~~ : counts the ReadStructure.Zbnf_Field.dimensionArrayOrFixSize.
set_classSuffixName() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_CName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
set_const() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_defClass(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_defClassAndMethodUnambigous(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_defPkg(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_embedded() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_encoding(String) - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
set_extern() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_fileName(String) - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
set content, able to call from ZbnfJavaOutput.
set_final() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_fixSize(int) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
FromZBNF: field::= ~~~ fixSize \[ <#?fixSize> \] ~~~
set_ImplementationName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
set_inputpath(String) - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
set_interface() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_javaName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_keyName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
set_modeAccess(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
Sets the parsed modeAccess.
set_modeArrayElement(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
Sets the parsed modeArrayElement.
set_modeCtor() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeCtorAnonymous() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeCtorNonStatic() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeNoStacktrace() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeNoThCxt() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeOverrideable() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeReturnNew() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeReturnNonPersistring() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeReturnThis() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_modeStatic(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
Sets the parsed modeStatic.
set_modeStatic() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_name(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_EnvIdent
 
set_nameC(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= nameC = <$?nameC>.
set_NameUnambiguous(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
set_nonStaticInner() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_OverriddenName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
 
set_package(String) - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
set_statementBlock(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_suffixName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_superClass(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
From ZBNF: ClassData::= ...
set_unambigouosName(String) - Method in class org.vishia.java2C.ReadStructure.Zbnf_Method
From ZBNF: method::= ...
set_vaarg() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
set_version(float) - Method in class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
setClassData(ClassData) - Method in interface org.vishia.java2C.JavaSources.ClassDataOrJavaSrcFile
 
setClassData(ClassData) - Method in class org.vishia.java2C.JavaSrcTreeFile
 
setClassData(ClassData) - Method in class org.vishia.java2C.JavaSrcTreePkg
 
setConfigFile(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
Sets the file given with cmd line argument -if:CFGFILE.
setFileAndReadStcFile(String, ConfigSrcPathPkg_ifc.Set, String) - Method in class org.vishia.java2C.JavaSrcTreePkg
Registers a Java class inside the given package and reads the associated stc file.
setFileJava(String, File, String, ConfigSrcPathPkg_ifc.Set, String, boolean) - Method in class org.vishia.java2C.JavaSrcTreePkg
Registers the occurrence of a found Java file or set the ConfigSrcPathPkg_ifc.Set for an existing file without replaceCinfo
setFirstPass(boolean) - Method in class org.vishia.java2C.GenerateFile
 
setMethodHeadDefiniton(String, String, String) - Method in class org.vishia.java2C.Method
Sets the definiton of a method (C-code).
setMethodIdents(LocalIdents) - Method in class org.vishia.java2C.Method
 
setPathOut(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
setPathOutHeader(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
setPathOutJavaXml(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
setPathOutStcFiles(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
setSyntaxPath(String) - Method in class org.vishia.java2C.Java2C_Main.CmdlineArgs
 
setToTranslate(File) - Method in class org.vishia.java2C.JavaSrcTreeFile
 
sFileName - Variable in class org.vishia.java2C.ReadStructure.ZbnfToplevel
 
SimpleClass - Class in org.vishia.java2C.test
This is an example for a simple class without interface, but override-able methods.
SimpleDataStruct - Class in org.vishia.java2C.test
It is not a final (able to expand) data class.
SimpleDataStruct() - Constructor for class org.vishia.java2C.test.SimpleDataStruct
 
sImplementationName - Variable in class org.vishia.java2C.Method
Name of the implementation of the method, null if not exists (interface).
singleton - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
The singleton association will be set as first operation in the constructor.
singleton - Static variable in class org.vishia.java2C.Java2C_Main
The singleton instance of this class.
sJavaName - Variable in class org.vishia.java2C.Method
Name of the method used in Java.
sKeyName - Variable in class org.vishia.java2C.Method
Search name of method in Map ClassData.methods.
sMethodTypeName - Variable in class org.vishia.java2C.Method
The first name of the method in an overridden-sequence.
sNameUnambiguous - Variable in class org.vishia.java2C.Method
Name of the method in method tables, base name of the method.
sPathToBase - Variable in class org.vishia.java2C.Method
If the method is declared in a base class or interface too, it is the path necessary to address the base class or interface started from ythis
sPathToMtbl - Variable in class org.vishia.java2C.Method
If the method is declared in a base class or interface too, it is the path to the method table-part.
standardClassData - Variable in class org.vishia.java2C.Java2C_Main
Instance with all ClassData and LocalIdents for the classes appropriated in the CRuntimeJavalike C runtime environment.
start() - Method in class org.vishia.java2C.test.TestThread
Facade routine to start the Thread.
start() - Method in class org.vishia.java2C.test.TestWaitNotify
This routine overrides Thread.start(), it's a facade.
StatementBlock - Class in org.vishia.java2C
This class generates all statements in one block.
staticReferenceDummy - Variable in class org.vishia.java2C.Java2C_Main
A CCodeInfo instance useable as dummy for static variable.
stcFile - Variable in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
stdTypes - Variable in class org.vishia.java2C.CRuntimeJavalikeClassData
Base of all types contained in LocalIdents and therefore ClassData, which are defined in Java2C_Main.CRuntimeJavalikeClassData.
sVersion - Static variable in class org.vishia.java2C.CRuntimeJavalikeClassData
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.FieldData
version, history and license.
sVersion - Static variable in class org.vishia.java2C.FirstPass
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.GenerateFile
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.Java2C_Main
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.JavaSrcTreeGetter
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.JavaSrcTreePkg
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.Method
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.ReadStructure
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.SecondPass
Version, history and license.
sVersion - Static variable in class org.vishia.java2C.StatementBlock
Version, history and license.

T

TestAllConcepts - Class in org.vishia.java2C.test
This class contains some examples to demonstrate and test all features of Java2C.
TestAllConcepts() - Constructor for class org.vishia.java2C.test.TestAllConcepts
The Constructor of this example.
testAndcast(CCodeData, char) - Method in class org.vishia.java2C.FieldData
Tests whether a cast to the given FieldData type is necessary and executes it.
testAndChangeAccess(char, String, char) - Static method in class org.vishia.java2C.FieldData
Changes the access.
TestAnonymous - Class in org.vishia.java2C.test
 
TestAnonymous() - Constructor for class org.vishia.java2C.test.TestAnonymous
 
testArgument(String, int) - Method in class org.vishia.java2C.Java2C
Tests one argument.
TestContainer - Class in org.vishia.java2C.test
This class demonstrates and tests the usage of some container concepts.
TestContainer() - Constructor for class org.vishia.java2C.test.TestContainer
 
TestgarbageCollector - Class in org.vishia.java2C.test
 
TestgarbageCollector() - Constructor for class org.vishia.java2C.test.TestgarbageCollector
 
testIfc2(float) - Method in interface org.vishia.java2C.test.Ifc2
Another method.
testIfc2(float) - Method in class org.vishia.java2C.test.ImplIfc
This method implements Ifc2.testIfc2(float).
testNewInstance() - Method in class org.vishia.java2C.test.TestgarbageCollector
This method calls the method TestgarbageCollector.createAndReturnInstance() to create an instance, which is not stored in the class.
TestString - Class in org.vishia.java2C.test
This class contains some examples to test String functionality.
TestString_classic - Class in org.vishia.java2C.test
This class is not translated to C, it is implemented in C immediately, because it should help to evaluate the calculation times compared with a manually written source in C.
TestString_classic() - Constructor for class org.vishia.java2C.test.TestString_classic
 
TestStringFormatter - Class in org.vishia.java2C.test
 
TestStringFormatter() - Constructor for class org.vishia.java2C.test.TestStringFormatter
 
testStringProcessing() - Method in class org.vishia.java2C.test.TestString
Calls the test routines.
TestThread - Class in org.vishia.java2C.test
This class demonstrates and tests the usage of threads with the synchronized access to data (mutex).
TestVaArg - Class in org.vishia.java2C.test
 
TestVaArg() - Constructor for class org.vishia.java2C.test.TestVaArg
 
TestWaitNotify - Class in org.vishia.java2C.test
This class demonstrates and tests the usage of threads with wait and notify.
TestWaitNotify.WaitNotifyData - Class in org.vishia.java2C.test
This class is visible from outside, it is used from the notifying thread and from this thread, which waits for data.
TestWaitNotify.WaitNotifyData() - Constructor for class org.vishia.java2C.test.TestWaitNotify.WaitNotifyData
 
toString() - Method in class org.vishia.java2C.CCodeData
 
toString() - Method in class org.vishia.java2C.FieldData
builds a String representation especially to test under eclipse.
toString() - Method in class org.vishia.java2C.GenerateFile
 
toString() - Method in class org.vishia.java2C.Java2C_Main.InputFileParseResult.Set
 
toString() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
toString() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
toString() - Method in class org.vishia.java2C.LocalIdents
 
toString() - Method in class org.vishia.java2C.Method
Helpfull for debugging in eclipse.
toString() - Method in class org.vishia.java2C.ReadStructure.Zbnf_ClassData
 
toString() - Method in class org.vishia.java2C.ReadStructure.Zbnf_Field
 
toString() - Method in class org.vishia.java2C.test.ImplIfc
 
toString() - Method in class org.vishia.java2C.test.TestString
 
typeClazz - Variable in class org.vishia.java2C.FieldData
The type respectively reference type of the field.
typeIdentsOfOuterClassAndSiblings() - Method in class org.vishia.java2C.Docu.E_Inner_classes
The types of the outer class are registered for the inner class running ClassData.completeTypesForInnerClasses() at the end of the first stage of the first pass of the outer class.
typeJava - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Cast
 
typeJava - Variable in class org.vishia.java2C.ReadStructure.Zbnf_Field
Stores the parsed result inside org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report).

W

write_finalizeDefinition(ZbnfParseResultItem, String, LocalIdents) - Method in class org.vishia.java2C.SecondPass
 
write_methodDeclaration(ZbnfParseResultItem, String, LocalIdents, StringBuilder) - Method in class org.vishia.java2C.FirstPass
writes a method-forward-declaration in Headerfile and registers the method to generate definition.
write_methodDefinition(ClassData.MethodWithZbnfItem, String, LocalIdents) - Method in class org.vishia.java2C.SecondPass
writes a method definition as C-method into the C-File.
write_methodInline(ZbnfParseResultItem, String, LocalIdents, StringBuilder) - Method in class org.vishia.java2C.FirstPass
writes a method-forward-declaration in Headerfile and registers the method to generate definition.
writeCdefs(StringBuilder) - Method in class org.vishia.java2C.GenerateFile
Adds a text to the C-definition-code
writeClassC(String) - Method in class org.vishia.java2C.GenerateFile
Adds a text to the C-code
writeClassC(StringBuilder) - Method in class org.vishia.java2C.GenerateFile
Adds a text to the C-code
writeClassH(String) - Method in class org.vishia.java2C.GenerateFile
Adds a text to the Headerfile-code
writeHdefs(StringBuilder) - Method in class org.vishia.java2C.GenerateFile
Adds a text to the H-code
writeStruct() - Method in class org.vishia.java2C.FieldData
Writes the structure of this instance to a *.stc-file.
writeStruct() - Method in class org.vishia.java2C.Method
Writes the structure information of the method for file.stc.

X

xxxaddStdTypes(LocalIdents) - Method in class org.vishia.java2C.JavaSrcTreePkg
Adds all standard types to the package.
XXXgetJavaFiles() - Method in class org.vishia.java2C.JavaSrcTreePkg
 
xxxgetLocalIdents() - Method in class org.vishia.java2C.JavaSrcTreeFile
 
xxxwriteStruct() - Method in class org.vishia.java2C.FieldData
Writes the structure of this instance to a *.stc-file.
xxxwriteStructOwnClassFields(int) - Method in class org.vishia.java2C.LocalIdents
 
A B C D E F G H I J K L M N O P R S T W X