Added accessor method getCondition to IfThenElseBlock

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1405 379699f6-c40d-0410-875b-85095c16579e
master
hoenicke 18 years ago
parent 0526241d2f
commit 977e4a6e8d
  1. 7
      jode/src/net/sf/jode/flow/IfThenElseBlock.java

@ -62,6 +62,13 @@ public class IfThenElseBlock extends StructuredBlock {
this.cond = cond; this.cond = cond;
} }
/**
* Gets the condition. The expression returned has boolean type.
*/
public Expression getCondition() {
return cond;
}
/** /**
* Sets the then block. * Sets the then block.
* @param thenBlock the then block, must be non null. * @param thenBlock the then block, must be non null.

Loading…
Cancel
Save