Class IfStatementModel
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.model.AbstractStatementModel
software.coley.sourcesolver.model.IfStatementModel
- All Implemented Interfaces:
Model
-
Constructor Summary
ConstructorsConstructorDescriptionIfStatementModel(Range range, AbstractExpressionModel condition, AbstractStatementModel thenCaseStatement, AbstractStatementModel elseCaseStatement) -
Method Summary
Methods inherited from class software.coley.sourcesolver.model.AbstractModel
getChildren, getParent, getRange, resolveAtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getParentOfType, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, visit
-
Constructor Details
-
IfStatementModel
public IfStatementModel(@Nonnull Range range, @Nonnull AbstractExpressionModel condition, @Nonnull AbstractStatementModel thenCaseStatement, @Nullable AbstractStatementModel elseCaseStatement)
-
-
Method Details
-
getCondition
-
getThenCaseStatement
-
getElseCaseStatement
-
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-
toString
-