|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.backend.jdk.ClientJava
public class ClientJava
Class ClientJava writes the Java native code descriptions that
will point to the JNI C code written by ClientJNI. The class
constructor takes a language writer and method generateCode
writes the Java client code for the specified symbol to the output stream.
The language writer output stream is not closed by this object.
| Constructor Summary | |
|---|---|
ClientJava(LanguageWriterForJava writer,
Context context)
Create a ClientJava object that will write symbol
information to the provided output language writer stream. |
|
| Method Summary | |
|---|---|
void |
generateCode(Symbol symbol)
Write Java client information for the provided symbol to the language writer output stream provided in the class constructor. |
static void |
generateCode(Symbol symbol,
LanguageWriterForJava writer,
Context context)
This is a convenience utility function that writes the Java client information into the provided language writer output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientJava(LanguageWriterForJava writer,
Context context)
ClientJava object that will write symbol
information to the provided output language writer stream.
| Method Detail |
|---|
public static void generateCode(Symbol symbol,
LanguageWriterForJava writer,
Context context)
throws CodeGenerationException
CodeGenerationException
public void generateCode(Symbol symbol)
throws CodeGenerationException
CodeGenerationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||