|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.code.CodeWriter | +--com.ashridgetech.jamda.code.JavaWriter | +--com.ashridgetech.jamda.code.MethodCoder | +--com.ashridgetech.jamda.test.TestMethodCoderFactory.Coder
Method coder for testing
Field Summary |
Fields inherited from class com.ashridgetech.jamda.code.CodeWriter |
underlyingWriter |
Method Summary | |
void |
codeBody()
Must be implemented by subclasses to write the method body statements. |
java.lang.String |
getCode()
Additional function so can identify the coder |
Methods inherited from class com.ashridgetech.jamda.code.MethodCoder |
generate, getClassGenerator, getOperation, getParameters, getReturnType |
Methods inherited from class com.ashridgetech.jamda.code.JavaWriter |
beginComment, commentLine, endComment, endStmt, stmt, writeModifiers |
Methods inherited from class com.ashridgetech.jamda.code.CodeWriter |
begin, commaDoubleList, commaList, copyNoIndent, copyWithIndent, end, end, endLine, flush, getWriter, in, line, newline, newline, out, quote, space, spaceWrite, spaceWrite, spaceWrite, startLine, startLine, write, write, write, writeSpace, writeSpace, writeSpace, writeSpaced, writeSpaced, writeSpaced |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void codeBody()
MethodCoder
JavaWriter
.
codeBody
in class MethodCoder
public java.lang.String getCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |