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