public class StatementMetaTypeChooser extends java.lang.Object implements TypeChooser
TypeChooser
which is aware of statement metadata.Constructor and Description |
---|
StatementMetaTypeChooser() |
Modifier and Type | Method and Description |
---|---|
ClassNode |
resolveType(Expression exp,
ClassNode current)
Resolve the type of an expression.
|
public ClassNode resolveType(Expression exp, ClassNode current)
TypeChooser
resolveType
in interface TypeChooser
exp
- the expression for which the type must be returned.current
- the classnode this expression belongs to