| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.backend.jdk.JavaImplSource
public class JavaImplSource
Create and write a source file for a Java extension class to wrap a BABEL extendable in a Java object.
| Constructor Summary | |
|---|---|
| JavaImplSource(Extendable ext,
               Context context)Create an object capable of generating the source file for Java implementation | |
| Method Summary | |
|---|---|
|  void | addSplicerBlock(java.lang.String ext,
                Method method,
                boolean addDefaults,
                java.lang.String defComment)Add splicer block. | 
|  void | generateCode()Writes Java implimentation based on the symbol given to the constructor | 
| static void | generateCode(Extendable ext,
             Context context)Writes Java implementation based on the provided symbol | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JavaImplSource(Extendable ext,
                      Context context)
               throws CodeGenerationException
ext - an interface or class symbol that needs source
              file for a Java extension class.
CodeGenerationException| Method Detail | 
|---|
public static void generateCode(Extendable ext,
                                Context context)
                         throws CodeGenerationException
ext - an interface or class symbol that needs source
              file for a Java extension class.
CodeGenerationException
public void addSplicerBlock(java.lang.String ext,
                            Method method,
                            boolean addDefaults,
                            java.lang.String defComment)
ext - splicer block-specific name extension.method - Either a method instance, if splicer is for a method,
                    or null.addDefaults - TRUE if splicer defaults to be added for method;
                    otherwise, FALSE.defComment - Default comment (for non-method splicer blocks).
public void generateCode()
                  throws CodeGenerationException
CodeGenerationException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||