public class StaticTypesTypeChooser extends StatementMetaTypeChooser
TypeChooser which reads type information from node metadata
generated by the CompileStatic annotation.| Constructor and Description |
|---|
StaticTypesTypeChooser() |
| 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)
TypeChooserresolveType in interface TypeChooserresolveType in class StatementMetaTypeChooserexp - the expression for which the type must be returned.current - the classnode this expression belongs to