ua.gradsoft.javachecker.models.expressions
Class JavaTermParentizedExpressionModel
java.lang.Object
ua.gradsoft.javachecker.models.JavaTermExpressionModel
ua.gradsoft.javachecker.models.expressions.JavaTermParentizedExpressionModel
- All Implemented Interfaces:
- JavaExpressionModel
public class JavaTermParentizedExpressionModel
- extends JavaTermExpressionModel
- Author:
- Ruslan Shevchenko
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTermParentizedExpressionModel
public JavaTermParentizedExpressionModel(Term t,
JavaTermStatementModel statement,
JavaTypeModel enclosedType)
throws TermWareException
- Throws:
TermWareException
getKind
public JavaExpressionKind getKind()
getType
public JavaTypeModel getType()
throws TermWareException,
EntityNotFoundException
- Throws:
TermWareException
EntityNotFoundException
isType
public boolean isType()
throws TermWareException,
EntityNotFoundException
- Description copied from interface:
JavaExpressionModel
- return true, if expression represents type.
- Throws:
TermWareException
EntityNotFoundException
isConstantExpression
public boolean isConstantExpression()
throws TermWareException,
EntityNotFoundException
- Throws:
TermWareException
EntityNotFoundException
getSubExpressions
public java.util.List<JavaExpressionModel> getSubExpressions()
getModelTerm
public Term getModelTerm()
throws TermWareException,
EntityNotFoundException
- model term of subexpression
- Returns:
- model term
- Throws:
TermWareException
EntityNotFoundException