|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Codeable
is a core interface which nearly all other interfaces extend.
Objects that implement this interface are expected to know how to render themselves
as source code to a CodeWriter
. Any Codeable
is be commentable as
well.
Method Summary | |
Comment |
getComment()
Gets the comment for this Codeable object. |
void |
setComment(int type,
java.lang.String text)
Sets the comment to the given type and text. |
CodeWriter |
toCode(CodeWriter out)
Renders the codeable object to the given writer and returns it. |
VirtualMachine |
vm()
Returns the virtual machine to which this Codeable object belongs. |
Method Detail |
public CodeWriter toCode(CodeWriter out)
public void setComment(int type, java.lang.String text)
public Comment getComment()
Codeable
object.public VirtualMachine vm()
Codeable
object belongs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |