public class StaticTypesTypeChooser extends StatementMetaTypeChooser
TypeChooser
which reads type information from node metadata
generated by the CompileStatic
annotation.Constructor and Description |
---|
StaticTypesTypeChooser() |
public ClassNode resolveType(Expression exp, ClassNode current)
TypeChooser
resolveType
in interface TypeChooser
resolveType
in class StatementMetaTypeChooser
exp
- the expression for which the type must be returned.current
- the classnode this expression belongs to