net.kldp.jcodegen.code
Class TryWrapper

java.lang.Object
  extended by net.kldp.jcodegen.base.AbstractCodeFragment
      extended by net.kldp.jcodegen.base.AbstractBlock
          extended by net.kldp.jcodegen.code.AbstractTransparentBlock
              extended by net.kldp.jcodegen.code.TryWrapper
All Implemented Interfaces:
CodeFragment, Source

public class TryWrapper
extends AbstractTransparentBlock

Try , Catch , Finally 를 묶는 가상의 블럭


Constructor Summary
TryWrapper(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

TryWrapper

public TryWrapper(AbstractBlock parent)
Method Detail

canBeParentOf

protected boolean canBeParentOf(Source code)
Description copied from class: AbstractBlock
check if code can be added to this object.

Overrides:
canBeParentOf in class AbstractBlock
Returns: