|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.kldp.jcodegen.base.AbstractCodeFragment
net.kldp.jcodegen.code.EmptyLine
public class EmptyLine
코드에 빈 줄을 추가하는데 사용한다.
Constructor Summary | |
---|---|
EmptyLine(AbstractBlock parent)
|
|
EmptyLine(AbstractBlock parent,
int lines)
|
Method Summary | |
---|---|
void |
addCommentLine(java.lang.String comment)
|
void |
appendContents(int level,
Output target,
Formatter formatter)
add contents to target. |
protected AbstractBlockComment |
getComment()
|
Methods inherited from class net.kldp.jcodegen.base.AbstractCodeFragment |
---|
addImport, addImport, addModifier, appendComment, appendModifiers, eval, getModifiers, getVisibility, setVariable, setVisibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyLine(AbstractBlock parent)
public EmptyLine(AbstractBlock parent, int lines)
Method Detail |
---|
public void appendContents(int level, Output target, Formatter formatter)
Source
level
- : indent level .target
- : adding contents to this objectformatter
- : formatting object.public void addCommentLine(java.lang.String comment)
addCommentLine
in class AbstractCodeFragment
protected AbstractBlockComment getComment()
getComment
in class AbstractCodeFragment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |