ua.gradsoft.javachecker.models.expressions
Class JavaTermInnerAllocationExpressionModel
java.lang.Object
ua.gradsoft.javachecker.models.JavaTermExpressionModel
ua.gradsoft.javachecker.models.expressions.JavaTermInnerAllocationExpressionModel
- All Implemented Interfaces:
- JavaExpressionModel
public class JavaTermInnerAllocationExpressionModel
- extends JavaTermExpressionModel
Allocation of inner class.
- Author:
- Ruslan Shevchenko
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTermInnerAllocationExpressionModel
public JavaTermInnerAllocationExpressionModel(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.
getAllocatedType
public JavaTypeModel getAllocatedType()
throws TermWareException,
EntityNotFoundException
- Throws:
TermWareException
EntityNotFoundException
getSubExpressions
public java.util.List<JavaExpressionModel> getSubExpressions()
isConstantExpression
public boolean isConstantExpression()
throws TermWareException,
EntityNotFoundException
- Throws:
TermWareException
EntityNotFoundException
getModelTerm
public Term getModelTerm()
throws TermWareException,
EntityNotFoundException
- InnerAllocationExpressionModel(ownerType,type,$expression-list,$ctx)
where type and ownerType are TypeRefs.
- Returns:
- model term
- Throws:
TermWareException
EntityNotFoundException