|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vishia.java2C.Docu.A_InvokationAndEnvironmentConditions
public class Docu.A_InvokationAndEnvironmentConditions
This chapter provides an overview, where and how Java2C should be used.
| Constructor Summary | |
|---|---|
Docu.A_InvokationAndEnvironmentConditions()
|
|
| Method Summary | |
|---|---|
(package private) void |
A1_applying_goals()
The writing of sources in Java instead in C or C++ has the advantage, that all features of new programming systems, where Java is a signifying member, can be used for the software development. |
(package private) void |
A2_Java_sources_for_embeddedSoftware()
The Java sources, which can translated to C, are not typical Java applications in a Java-possible environment. |
(package private) void |
A2_Java_sources_to_translate()
While translation of one Java files all types, which are used there, should be known, a simple plain generation from one Java file to one C-file isn't possible. |
(package private) void |
A4_invoke_Java2C()
The invocation of Java2C is command-line-oriented. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Docu.A_InvokationAndEnvironmentConditions()
| Method Detail |
|---|
void A1_applying_goals()
void A2_Java_sources_for_embeddedSoftware()
final keyword on references
used together with a new statement:
final Type data = new Type(initialArguments);Such data are disposed in C as embedded data. It is possible to define the data in only one memory block, which can instantiated as a static area in the ambient C main-definitions.
void A2_Java_sources_to_translate()
struct-) names at C-side
to map the Java-file and class-structure to a C-file and namespace structure. The assignment is given
as input for the translater in the config-file.
CRuntimeJavalikeClassData.clazz_unknown.
Than no additional type conversions are done. The expression with such identifier is submitted in C like found in Java.
void A4_invoke_Java2C()
Java2C.main(String[]).
Java2C_Main#setConfigFile(String).
see also Docu.B_ProcessOfTranslation.B3_packageReplacement().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||