public final class TypeExpression
extends java.lang.Object
Constructor and Description |
---|
TypeExpression(Type type,
Expression exp)
Construct pair of type and exp
|
Modifier and Type | Method and Description |
---|---|
Expression |
getExpression()
get exp
|
Type |
getType()
get type
|
TypeExpression |
instantiate()
create instantiated copy of type expression
|
void |
setExpression(Expression exp)
set exp
|
void |
setType(Type type)
set type
|
public TypeExpression(Type type, Expression exp)
type
- the typeexp
- the exppublic Expression getExpression()
public void setExpression(Expression exp)
exp
- the expressionpublic Type getType()
public void setType(Type type)
type
- the typepublic TypeExpression instantiate()