|
|||||||||
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.base.AbstractBlock
net.kldp.jcodegen.code.AbstractTransparentBlock
net.kldp.jcodegen.code.IfWrapper
public class IfWrapper
if ... if else ... else 문을 나타낸다. if 문을 계속 추가하다가 마지막에 else 문을 추가할 수 있다.
Constructor Summary | |
---|---|
IfWrapper(AbstractBlock parent)
|
Method Summary | |
---|---|
protected boolean |
canBeParentOf(Source code)
check if code can be added to this object. |
Methods inherited from class net.kldp.jcodegen.code.AbstractTransparentBlock |
---|
appendContents, appendHeader |
Methods inherited from class net.kldp.jcodegen.base.AbstractBlock |
---|
getComment, getSubList |
Methods inherited from class net.kldp.jcodegen.base.AbstractCodeFragment |
---|
addCommentLine, 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 IfWrapper(AbstractBlock parent)
Method Detail |
---|
protected boolean canBeParentOf(Source code)
AbstractBlock
canBeParentOf
in class AbstractBlock
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |